Re: New syntax feedback for 4.0

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29332
interpreted = N
texte = I Agree with this.JymChuck Rice wrote:> At 4:47 PM -0800 2000/03/20, Grant Hulbert wrote: > > >Hey guys, we are entering into the decision phase for our DreamWeaver > >syntax for 4.0, and I'd like to open up a small discussion to help me > >decide which way to go. This information is confidential, and should > >not be discussed outside this list. > > > >Background: WebDNA's [] syntax tends to make most GUI editors like > >DreamWeaver get confused. We decided Mohammed should go to the > >mountain in this case, so we are modifying WebCatalog's syntax to > >match what GUI editors expect to see. > > > >So for 4.0, one can optionally write two different kinds of snytax in WebDNA: > > > >[Loop start=1&end=10] > >[index] > >[/Loop] > > > >or > > > > > > > > > > > >This works well for most contexts, but there are a few exceptions > >that can confuse most parsers. Specifically, ShowIf can contain > >characters like > which look just like HTML to a parser: > > > >3> > > ^ looks a lot like followed by a 3 > > > >...so one solution is to force all contexts to use named/quoted parameters: > > > >3> > > I do NOT like this syntax. > > >..but that's really starting to look stupid. I'm not so worried > >about the amount of typing involved, because the GUI editor is going > >to be doing most of the work anyway, but it still looks pretty weird, > >and I think it's hard to follow. > > > >Another solution would be to change the syntax of ShowIf itself: > > > > > > I have used something like this before and it worked well. In that > case, they used . instead of _ which is a bit nicer as DOT is not > a shifted character and thus easier to type. But Underscore would > be OK. One thing though, please use standard abbreviations for the > comparisons. In other words, use .LT. and not .LS. (or allow both) > I find LS, GR, WN, etc. hard to read. And sprinkle in some .or. and > .and. and .not. syntax too. > > >...but I don't like this one because it requires a lot more than a > >simple global search and replace in a text editor to make this kind > >of change to pre-existing old-style WebDNA code. > > Undisturbed old format code should continue to work, IMHO, but code > with the new > It would be nice, since you already have the parser, to give me a > small filter utility that would convert old syntax to new. > > >There's also a hybrid approach that would allow both a named- and > >non-named syntax to be allowed: > > > >3> or 3> > > > >The first is more easily readable by people hand-tying the code, and > >the second is more easily parsed by GUI editors. I'm leaning toward > >that one. > > I do not like these. -Chuck- > > __________________________________________________________________________ > Chuck Rice > > > > > ############################################################# > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > To switch to the INDEX mode, E-mail to > Send administrative queries to -- _/_/_/CyberLive, Inc.\_\_\_ _/_/_/_/_/ Jym Duane \_\_\_\_\_\_ Marketing / Custom Design \ E-Commerce Phone: (949) 443-1323 Fax: (949)443-1360 Email: sales@cyberlive.com Web: http://www.cyberlive.com _/_/_/_/_/_/_/_/_/_/_/_/_/_/ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ _/_/_/_/_/_/_/ The Internet Services Professionals \_\_\_\_\_\_\_ 31781 Camino Capistrano, Suite 302, San Juan Capistrano, CA 92675############################################################# This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to Associated Messages, from the most recent to the oldest:

    
  1. Re: Re[2]: New syntax feedback for 4.0 (Rob Marquardt 2000)
  2. Re: Re[2]: New syntax feedback for 4.0 (Will Starck 2000)
  3. Re: Re[2]: New syntax feedback for 4.0 (Grant Hulbert 2000)
  4. Re: Re[2]: New syntax feedback for 4.0 (Kenneth Grome 2000)
  5. Re[2]: New syntax feedback for 4.0 (Charles Kline 2000)
  6. Re[2]: Re[2]: New syntax feedback for 4.0 (jpeacock@univpress.com 2000)
  7. Re: Re[2]: New syntax feedback for 4.0 (Pat McCormick 2000)
  8. Re: Re[2]: New syntax feedback for 4.0 (Pat McCormick 2000)
  9. Re[2]: New syntax feedback for 4.0 (jpeacock@univpress.com 2000)
  10. Re: New syntax feedback for 4.0 (Kenneth Grome 2000)
  11. Re: New syntax feedback for 4.0 (Matt Helbing 2000)
  12. Re: New syntax feedback for 4.0 (Pat McCormick 2000)
  13. Re: New syntax feedback for 4.0 (Rob Marquardt 2000)
  14. Re: New syntax feedback for 4.0 (Thomas Wedderburn-Bisshop 2000)
  15. Re: New syntax feedback for 4.0 (Jesse Proudman 2000)
  16. Re: New syntax feedback for 4.0 (Brice Le Blevennec 2000)
  17. Re: New syntax feedback for 4.0 (Brice Le Blevennec 2000)
  18. Re[2]: New syntax feedback for 4.0 (jpeacock@univpress.com 2000)
  19. Re: New syntax feedback for 4.0 (Bob Minor 2000)
  20. Re: New syntax feedback for 4.0 (Grant Hulbert 2000)
  21. Re: New syntax feedback for 4.0 (Jesse Proudman 2000)
  22. Re[2]: New syntax feedback for 4.0 (jpeacock@univpress.com 2000)
  23. Re: New syntax feedback for 4.0 (jpeacock@univpress.com 2000)
  24. Re: New syntax feedback for 4.0 (Charles Kline 2000)
  25. Re: New syntax feedback for 4.0 (Peter Ostry 2000)
  26. Re: New syntax feedback for 4.0 (Thomas Wedderburn-Bisshop 2000)
  27. Re: New syntax feedback for 4.0 (Brian Wallace 2000)
  28. Re: New syntax feedback for 4.0 (Kenneth Grome 2000)
  29. Re: New syntax feedback for 4.0 (Peter Ostry 2000)
  30. Re: New syntax feedback for 4.0 (Mike Davis 2000)
  31. Re: New syntax feedback for 4.0 (Jym Duane 2000)
  32. Re: New syntax feedback for 4.0 (Grant Hulbert 2000)
  33. Re: New syntax feedback for 4.0 (Grant Hulbert 2000)
  34. Re: New syntax feedback for 4.0 (Jym Duane 2000)
  35. Re: New syntax feedback for 4.0 (Clement Ross 2000)
  36. Re: New syntax feedback for 4.0 (Chuck Rice 2000)
  37. Re: New syntax feedback for 4.0 (Nitai 2000)
  38. Re: New syntax feedback for 4.0 (Joseph D'Andrea 2000)
  39. New syntax feedback for 4.0 (Grant Hulbert 2000)
I Agree with this.JymChuck Rice wrote:> At 4:47 PM -0800 2000/03/20, Grant Hulbert wrote: > > >Hey guys, we are entering into the decision phase for our DreamWeaver > >syntax for 4.0, and I'd like to open up a small discussion to help me > >decide which way to go. This information is confidential, and should > >not be discussed outside this list. > > > >Background: WebDNA's [] syntax tends to make most GUI editors like > >DreamWeaver get confused. We decided Mohammed should go to the > >mountain in this case, so we are modifying WebCatalog's syntax to > >match what GUI editors expect to see. > > > >So for 4.0, one can optionally write two different kinds of snytax in WebDNA: > > > >[Loop start=1&end=10] > >[index] > >[/Loop] > > > >or > > > > > > > > > > > >This works well for most contexts, but there are a few exceptions > >that can confuse most parsers. Specifically, ShowIf can contain > >characters like > which look just like HTML to a parser: > > > >3> > > ^ looks a lot like followed by a 3 > > > >...so one solution is to force all contexts to use named/quoted parameters: > > > >3> > > I do NOT like this syntax. > > >..but that's really starting to look stupid. I'm not so worried > >about the amount of typing involved, because the GUI editor is going > >to be doing most of the work anyway, but it still looks pretty weird, > >and I think it's hard to follow. > > > >Another solution would be to change the syntax of ShowIf itself: > > > > > > I have used something like this before and it worked well. In that > case, they used . instead of _ which is a bit nicer as DOT is not > a shifted character and thus easier to type. But Underscore would > be OK. One thing though, please use standard abbreviations for the > comparisons. In other words, use .LT. and not .LS. (or allow both) > I find LS, GR, WN, etc. hard to read. And sprinkle in some .or. and > .and. and .not. syntax too. > > >...but I don't like this one because it requires a lot more than a > >simple global search and replace in a text editor to make this kind > >of change to pre-existing old-style WebDNA code. > > Undisturbed old format code should continue to work, IMHO, but code > with the new > It would be nice, since you already have the parser, to give me a > small filter utility that would convert old syntax to new. > > >There's also a hybrid approach that would allow both a named- and > >non-named syntax to be allowed: > > > >3> or 3> > > > >The first is more easily readable by people hand-tying the code, and > >the second is more easily parsed by GUI editors. I'm leaning toward > >that one. > > I do not like these. -Chuck- > > __________________________________________________________________________ > Chuck Rice > > > > > ############################################################# > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > To switch to the INDEX mode, E-mail to > Send administrative queries to -- _/_/_/CyberLive, Inc.\_\_\_ _/_/_/_/_/ Jym Duane \_\_\_\_\_\_ Marketing / Custom Design \ E-Commerce Phone: (949) 443-1323 Fax: (949)443-1360 Email: sales@cyberlive.com Web: http://www.cyberlive.com _/_/_/_/_/_/_/_/_/_/_/_/_/_/ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ _/_/_/_/_/_/_/ The Internet Services Professionals \_\_\_\_\_\_\_ 31781 Camino Capistrano, Suite 302, San Juan Capistrano, CA 92675############################################################# This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to Jym Duane

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[WebDNA] CMS in WEBDNA (2009) [isfile] ? (1997) Searching multiple Databases (1997) checksum for credit cards? (1997) A dynamic database. (1997) ImageMagick on OSX (2003) Error message (1999) webcat NT (1998) If then confusion (2004) Sort Order on a page search (1997) WebCat2 - Getting to the browser's username/password data (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Requiring that certain fields be completed (1997) XML values to database records (grep?) (2000) Problem with version 4 browsers (1998) Error: Error: expected [/APPLICATION] ??? (1998) View order not right (1997) WYSIWYG-editor for mac (2003) WebCatalog Upgrade Pricing? (1997) missing records (1998)