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:

Migrating to NT (1997) Almost a there but..bye bye NetCloak (1997) # fields limited? (1997) WebMerchant - MacAuthorize (1999) emailer (1997) Dubble Sku's in a Database (1999) 2nd WebCatalog2 Feature Request (1996) Not really WebCat- (1997) $Quit, $CloseDatabase corrections (1997) RE: Error -108 (1997) Creating a back button (1999) Running a store on BOTH http and https (1998) More Applescript (1997) [WebDNA] 6.2 Monitor (2012) Authenticate (1999) Stinkin' [Referrer] (1998) [WebDNA] WebDNA variable from form contents (2010) Off Topic: MacOS X Server on iMac (2000) [WebDNA] unix timestamp in WebDNA (2009) [TCPSend] and whois? (1999)