Enough already!

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 21334
interpreted = N
texte = Before everybody goes and gets all sappy about just how great WebCatalog is (too late), I'd like an answer from PCS about something:For a programming/development/deployment language/application that costs 2500 per machine that it is run upon, and which is now in version three, when can we expect to see if-then-else and and/or statements and arguments supported?For exampleBAD: [hideif [condition1]=A][hideif [condition1]=B] something to hide [/hideif][/hideif]WORSE: [math show=f]error=0[/math] [showif [condition1]=A] [math show=f]error=error+1[/math] [/showif] [showif [condition1]=B] [math show=f]error=error+1[/math] [/showif] [hideif [math]error[/math]]!0] something to hide [/hideif](I'll leave out using a separate table to do a lookup, because this is a waste of server cycles and ram, besides being a pain to program and debug)IDEAL: [hideif [condition1]=A||B] something to hide [/hideif]|| = or && = andThe above examples list 2 conditions, but try it with 5 or 7 things, enough to be annoying, but not enough to break down and use some database interaction.Bonus suggestion, Where is the ability to hand back 404 errors to the webserver so that it can kick back a virtual domain specific error page instead of a generic template not found Brian B. Burton BOFH - Department of Redundancy Department --------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.comAre you a Web Programmer? I am today. Associated Messages, from the most recent to the oldest:

    
  1. Enough already! (Brian B. Burton 1998)
Before everybody goes and gets all sappy about just how great WebCatalog is (too late), I'd like an answer from PCS about something:For a programming/development/deployment language/application that costs 2500 per machine that it is run upon, and which is now in version three, when can we expect to see if-then-else and and/or statements and arguments supported?For exampleBAD: [hideif [condition1]=A][hideif [condition1]=B] something to hide [/hideif][/hideif]WORSE: [math show=f]error=0[/math] [showif [condition1]=A] [math show=f]error=error+1[/math] [/showif] [showif [condition1]=B] [math show=f]error=error+1[/math] [/showif] [hideif [math]error[/math]]!0] something to hide [/hideif](I'll leave out using a separate table to do a lookup, because this is a waste of server cycles and ram, besides being a pain to program and debug)IDEAL: [hideif [condition1]=A||B] something to hide [/hideif]|| = or && = andThe above examples list 2 conditions, but try it with 5 or 7 things, enough to be annoying, but not enough to break down and use some database interaction.Bonus suggestion, Where is the ability to hand back 404 errors to the webserver so that it can kick back a virtual domain specific error page instead of a generic template not found Brian B. Burton BOFH - Department of Redundancy Department --------------------------------------------------------------- MMT Solutions - Specializing in Online Shopping Solutions 973-808-8644 http://www.safecommerce.comAre you a Web Programmer? I am today. Brian B. Burton

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:

Part Html part WebDNA (1997) no [search] with NT (1997) Looking up two prices in Formulas.db (1997) Database Options (1997) RE: Missing contexts on NT (1997) Conditional searching & displaying (1997) question: search return in order (1997) [lineitems] (2000) creating a 60 fields database (1997) URGENT: Can't email orders - HELP #2 (1998) Re[2]: Next X hits (1996) An easy one (1999) WebCatalog Hosting (1996) Word search (1997) Bug Report, maybe (1997) carriage returns in data (1997) WebCat2 Append problem (B14Macacgi) (1997) Nested Loops and SHOWIFs (1997) [WebDNA] online.db deadlock: your current options ... (2011) Nested tags count question (1997)