Re: [WebDNA] includes with includes
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 103815
interpreted = N
texte = As a general coding policy, I like to adhere to a strict naming policy that both helps me know where a value comes from, and avoid field names that may (now or in the future) create conflicts with WebDNA- specified tags.Say I want to store a date value. Depending on how I am using or storing it, it would get a different prefix:In a text variable:tDateIn a math variable:mDateIn form/url parameter:pDateIn a "member.db" database:memDateIn a "order.db" database:ordDateYou can obviously define your own naming guidelines, but something like this helps in debugging code and avoiding conflicts.Brian FriesBrainScan SoftwareOn Oct 18, 2009, at 3:52 AM, Rich Kwas wrote:> --- On Sat, 10/17/09, Govinda
wrote:>> (assuming using a custom var named [GLOBALS] does not>> conflict internally with webdna. (?))>> Interesting question there....>>> "globals" is a db field name in a prefs file i'm using where > [globals] is the name of the folder within my /globals directory > contaning includes, db's, etc.>> Since these sites are all similar i decided to call their global > directory that way when needed.>>> Will using a field named "globals" cause some conflict somewhere > within webdna now or in the future perhaps?>> Best to rename now while all is being reworked?>>> Richard>>> __________________________________________________> Do You Yahoo!?> Tired of spam? Yahoo! Mail has the best spam protection around> http://mail.yahoo.com> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/> Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288
Associated Messages, from the most recent to the oldest:
As a general coding policy, I like to adhere to a strict naming policy that both helps me know where a value comes from, and avoid field names that may (now or in the future) create conflicts with WebDNA- specified tags.Say I want to store a date value. Depending on how I am using or storing it, it would get a different prefix:In a text variable:tDateIn a math variable:mDateIn form/url parameter:pDateIn a "member.db" database:memDateIn a "order.db" database:ordDateYou can obviously define your own naming guidelines, but something like this helps in debugging code and avoiding conflicts.Brian FriesBrainScan SoftwareOn Oct 18, 2009, at 3:52 AM, Rich Kwas wrote:> --- On Sat, 10/17/09, Govinda wrote:>> (assuming using a custom var named [GLOBALS] does not>> conflict internally with webdna. (?))>> Interesting question there....>>> "globals" is a db field name in a prefs file i'm using where > [globals] is the name of the folder within my /globals directory > contaning includes, db's, etc.>> Since these sites are all similar i decided to call their global > directory that way when needed.>>> Will using a field named "globals" cause some conflict somewhere > within webdna now or in the future perhaps?>> Best to rename now while all is being reworked?>>> Richard>>> __________________________________________________> Do You Yahoo!?> Tired of spam? Yahoo! Mail has the best spam protection around> http://mail.yahoo.com> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/> Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288
Brian Fries
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:
Not really WebCat - need HTML Grider (1997)
Multi-processor Mac info ... (1997)
Help with Repost Data msg from form (1997)
Zip Code Database (2004)
Authenticate (1997)
lazy programming (2000)
Cart Numbers (1997)
Append File help needed (2000)
[WebDNA] Rack Mount Server(s) Available (2009)
IE Cache Problems... (1999)
WebCatalog on Linux (2000)
Tried installing Windows beta with no success... (2000)
Using Cookie for client specific info? (1997)
Authorize.net (2001)
wild question (1998)
formula.db, adding option prices (1997)
error: Too many nested [xxx] contexts (1997)
Physical Security for WebCatalog Directories (1997)
all records returned. (1997)
runtime (2000)