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:tDate In a math variable:mDate In form/url parameter:pDate In a "member.db" database:memDate In a "order.db" database:ordDate You can obviously define your own naming guidelines, but something like this helps in debugging code and avoiding conflicts. Brian Fries BrainScan Software On 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:

    
  1. Re: [WebDNA] includes with includes (Brian Fries 2009)
  2. Re: [WebDNA] includes with includes (Govinda 2009)
  3. Re: [WebDNA] includes with includes (Rich Kwas 2009)
  4. Re: [WebDNA] includes with includes (Kenneth Grome 2009)
  5. Re: [WebDNA] includes with includes (Govinda 2009)
  6. [WebDNA] includes with includes (Rich Kwas 2009)
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:tDate In a math variable:mDate In form/url parameter:pDate In a "member.db" database:memDate In a "order.db" database:ordDate You can obviously define your own naming guidelines, but something like this helps in debugging code and avoiding conflicts. Brian Fries BrainScan Software On 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:

Answer: WebDelivery downloads alias, not original ? (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) WebCat2 - Getting to the browser's username/password data (1997) problems with 2 tags (1997) Semi-OT: Update forms not working remotely (2002) Math Function (1997) Help Encrypt/Decrypt eMail (2003) PROBLEM (1997) Bug? (1997) webcat nt (1997) WebDNA install - linux (permissions rehash?) (2002) Design Help Needed (1998) range vs greater than/less than (2003) searching multiple databases (1997) followup (2002) Simple way to create unique SKU (1997) Shopping Cart Problems (2000) WebCat2 Append problem (B14Macacgi) (1997) WebCat2 beta 11 - new prefs ... (1997) setting taxable to true (1997)