What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: For you expert WebDNA coders (was Re: Interesting speed

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54404
interpreted = N
texte = Here's another approach in only 4 lines: [text]defaultPage=[include file=includes/info_home.inc][/text] [text]includePage=[include file=includes/[page].inc][/text] [showif [url][includePage][/url]~[url]error[/url]][defaultPage][/showif] [hideif [url][includePage][/url]~[url]error[/url]][includePage][/hideif] >If I'm reading you correctly, you're just looking for the value of a single >passed variable (page) so the [formvariables] is some serious overkill. > >[if "[url][page][/url]"!"%5Bpage%5D"][then] > [FileInfo file=includes/[page].inc] > [If "[Exists]"="T"][then] > [include file=includes/[page].inc] > [/then][else] > [include file=includes/info_home.inc] > [/else][/if] > [/fileInfo] >[/then][else] > [include file=includes/info_home.inc] >[/else][/if] -- Sincerely, Kenneth Grome ------------------------------------------------------------- Outsource your WebDNA programming for $18 an hour or less! ------------------------------------------------------------- ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
Here's another approach in only 4 lines: [text]defaultPage=[include file=includes/info_home.inc][/text] [text]includePage=[include file=includes/[page].inc][/text] [showif [url][includePage][/url]~[url]error[/url]][defaultPage][/showif] [hideif [url][includePage][/url]~[url]error[/url]][includePage][/hideif] >If I'm reading you correctly, you're just looking for the value of a single >passed variable (page) so the [formvariables] is some serious overkill. > >[if "[url][page][/url]"!"%5Bpage%5D"][then] > [FileInfo file=includes/[page].inc] > [If "[Exists]"="T"][then] > [include file=includes/[page].inc] > [/then][else] > [include file=includes/info_home.inc] > [/else][/if] > [/fileInfo] >[/then][else] > [include file=includes/info_home.inc] >[/else][/if] -- Sincerely, Kenneth Grome ------------------------------------------------------------- Outsource your WebDNA programming for $18 an hour or less! ------------------------------------------------------------- ------------------------------------------------------------- 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 Web Archive of this list is at: http://webdna.smithmicro.com/ Kenneth Grome

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:

WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) createfolder default behavior (1998) RE: WebDNA-Talk searchable? (1997) WebCat hosting providers? - one more option (1997) Attn: Bug in GeneralStore example b15 (1997) Fufillment e-mail? (1998) Wanted: Broader string manipulation functions (1997) Using Applescript to process WebCatalog functions (1998) Gantt style chart (2004) Proper file locations (1997) Where is Typhoon 3.x? (2000) SetHeader not Working (2006) Merry Christmas (1999) RAM variables (1997) [WebDNA] Has anyone used 'bootstrap' as their base to create a (2016) More on the email templates (I like it) (1997) Site Test Please [OT] (2005) PSC recommends what date format yr 2000??? (1997) Form/HTML Help (2000) NetSplat and WebCat2 (1997)