Re: Coding Standards - are there any ?
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 48547
interpreted = N
texte = me too, me too-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf OfDan StrongSent: Monday, March 10, 2003 12:57 PMTo: WebDNA TalkSubject: Re: Coding Standards - are there any ?For whatever it's worth, I am an admittedly non-advanced programmer and Ilike to write my WebDNAcode as literal and deliberate as possible, so that when I read the code italmost sounds likeplain english to me:Example:-----------------------------------Database Header ----> UNIQUE
EMAILVERIFIED-----------------------------------[search db=email_addresses.db&eqVERIFIED=Y] [founditems] [sendmail to=[EMAIL]&from=me@xxx.com&subject=Hello] This is the body of the email. [/sendmail] [/founditems][/search]-----------------------------------I don't know if that was totally helpful, but I think you get the idea. Iprefer to name thingsaccording to what they are and what their function is. Kind of simplistic,but it keeps me sane.I've noticed that some folks like to prefix their form-variables withunderscores(___FORM-VARIABLE-1), and things of that nature. I can see where it would beuseful, but for me,it's a chore enough just to build some of this (to me) damn complex stuff,and the last thing Ineed is another sub-task to potentially confuse me.That said, to each their own, right? Ok back to work for me. Hope thishelped.-Dan------------------------------------------------------------http://www.StrongGraphicDesign.com(208) 319-0137 | Toll-free p/f 877-561-1656------------------------------------------------------------On Mon, 10 Mar 2003 16:48:51 -0000 Tom Duke wrote:>Hi all,>>I keep changing my database/field naming conventions to ones that seem morelogical. Before I do>this again does anyone have a good set of codingstandards/recommendations.>>So far I have used conventions like:->> F_FIELDNAME> V_VARIABLENAME> R_RECORDID>>or>> fFIELDNAME> vVARIABLENAME> rRECORDID>>etc.>>Thanks>- Tom>>------------------------------------------------------------->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/-------------------------------------------------------------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 toWeb Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------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:
me too, me too-----Original Message-----From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf OfDan StrongSent: Monday, March 10, 2003 12:57 PMTo: WebDNA TalkSubject: Re: Coding Standards - are there any ?For whatever it's worth, I am an admittedly non-advanced programmer and Ilike to write my WebDNAcode as literal and deliberate as possible, so that when I read the code italmost sounds likeplain english to me:Example:-----------------------------------Database Header ----> UNIQUEEMAILVERIFIED-----------------------------------[search db=email_addresses.db&eqVERIFIED=Y] [founditems] [sendmail to=[EMAIL]&from=me@xxx.com&subject=Hello] This is the body of the email. [/sendmail] [/founditems][/search]-----------------------------------I don't know if that was totally helpful, but I think you get the idea. Iprefer to name thingsaccording to what they are and what their function is. Kind of simplistic,but it keeps me sane.I've noticed that some folks like to prefix their form-variables withunderscores(___FORM-VARIABLE-1), and things of that nature. I can see where it would beuseful, but for me,it's a chore enough just to build some of this (to me) damn complex stuff,and the last thing Ineed is another sub-task to potentially confuse me.That said, to each their own, right? Ok back to work for me. Hope thishelped.-Dan------------------------------------------------------------http://www.StrongGraphicDesign.com(208) 319-0137 | Toll-free p/f 877-561-1656------------------------------------------------------------On Mon, 10 Mar 2003 16:48:51 -0000 Tom Duke wrote:>Hi all,>>I keep changing my database/field naming conventions to ones that seem morelogical. Before I do>this again does anyone have a good set of codingstandards/recommendations.>>So far I have used conventions like:->> F_FIELDNAME> V_VARIABLENAME> R_RECORDID>>or>> fFIELDNAME> vVARIABLENAME> rRECORDID>>etc.>>Thanks>- Tom>>------------------------------------------------------------->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/-------------------------------------------------------------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 toWeb Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------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/
Kimberly D. Walls
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:
cookies (2002)
WebCatalog can't find database (1997)
[WebDNA] [BULK] WebDNA 7 - Showing every other far DB - Fault! (2011)
taxTotal, grandTotal (1997)
[append] (1997)
Calculating multiple shipping... (1997)
Help name our technology! (1997)
Getting total number of items ordered (1997)
Append command(2) (2000)
Submit buttons not working.... (1999)
Yosemite and 8.1??? (1999)
[WebDNA] JSONStore Levels (2020)
WebCommerce: Folder organization ? (1997)
RE: Re:Signal Raised (1997)
Single Link browsing (1997)
Document Contains No Data! (1997)
Image maps/Webcat (1997)
StoreBuilder Shopping Cart (2000)
PCS Frames (1997)
Charting records by state (2000)