Re: [WebDNA] users.db

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103312
interpreted = N
texte = > This is a good time to revisit 'convensions' once again I think. ;-) > > Because WebDNA is written in basic English, it is *always* a good > idea to use naming conventions that are not basic English... > > such as: > > Text vars prefixed with "T_": [text]T_name=3DDonovan[/text] > > Form vars prefixed with "F_": = > > Math vars prefixed with "M_": [math show=3Df]M_total=3D3000[/math] > > Global text vars "G_": [text scope=3Dglobal]G_T_var=3Dsomevalue[/text] > > Customers Database that is specific to a site called "yourdomain" > could be called "YD_customers.db", then the fields: [YDC_NAME] =20 > [YDC_ADDRESS] etc.. > > You don't have to use what I have above, rather roll your own. > Conventions help insure that you don't run into reserved names, and > they can make it much clearer for a 3rd party programmer to see what > is going on. > > Just my .02=A2 :-) > > Donovan While we are at this, Donovan, may I put in a request to increase the =20= limit of [math] var name's char length? I always want to name things =20= longer than 15 chars so I can keep everything straight... not to =20 mention adding a prefix for var type. Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] users.db (John Butler 2009)
  2. Re: [WebDNA] users.db (Donovan Brooke 2009)
  3. Re: [WebDNA] users.db (Donovan Brooke 2009)
  4. Re: [WebDNA] users.db (John Butler 2009)
  5. Re: [WebDNA] users.db (William DeVaul 2009)
  6. Re: [WebDNA] users.db (Eddie Z 2009)
  7. Re: [WebDNA] users.db (John Butler 2009)
  8. Re: [WebDNA] users.db (Bert Votsis 2009)
  9. [WebDNA] users.db (Eddie Z 2009)
> This is a good time to revisit 'convensions' once again I think. ;-) > > Because WebDNA is written in basic English, it is *always* a good > idea to use naming conventions that are not basic English... > > such as: > > Text vars prefixed with "T_": [text]T_name=3DDonovan[/text] > > Form vars prefixed with "F_": = > > Math vars prefixed with "M_": [math show=3Df]M_total=3D3000[/math] > > Global text vars "G_": [text scope=3Dglobal]G_T_var=3Dsomevalue[/text] > > Customers Database that is specific to a site called "yourdomain" > could be called "YD_customers.db", then the fields: [YDC_NAME] =20 > [YDC_ADDRESS] etc.. > > You don't have to use what I have above, rather roll your own. > Conventions help insure that you don't run into reserved names, and > they can make it much clearer for a 3rd party programmer to see what > is going on. > > Just my .02=A2 :-) > > Donovan While we are at this, Donovan, may I put in a request to increase the =20= limit of [math] var name's char length? I always want to name things =20= longer than 15 chars so I can keep everything straight... not to =20 mention adding a prefix for var type. John Butler

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:

Variable Sizes, Widths and Colors (2000) WebDNA Solutions ... sorry! (1997) Listserver problem (1997) WC2.0 Memory Requirements (1997) Changing SubTotal (2003) WebCat2 beta 11 - new prefs ... (1997) What am I missing (1997) re-sorting founditems (2002) [include ...] behavior (1997) web delivery (1997) cookies and DNS (2000) [url] (1997) Sorting Numbers (1997) EMailFolder will not send (2003) Sorting Orders (1997) Re:no [search] with NT (1997) setting taxable to true (1997) Falsifying [BROWSERNAME] (1998) Number of Line Items (1998) Summing fields (1997)