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:

problems with 2 tags (1997) Apache 2.x (2003) Re:Remote stockroom ? (1998) [OT] Stuff (2002) WebCatalog can't find database (1997) Is Webcatalog 2.1 NT Ready? (1998) textarea question (1998) Sending E-mail (1997) RE: Ongoing group search problems ... (1997) using showpage and showcart commands (1996) Question on the sandbox (2003) pricing continued (1998) 2.0 Info (1997) Webten + Webcat running smooth (1998) More on the email templates (1997) Help! WebCat2 bug (1997) [searchString] (1997) problems with 2 tags shakur (1997) FAX orders (1996) Every other record deleted (2005)