Thanks Mark, that's what I was looking for. Pete Molly's Revenge <http://www.mollysrevenge.com>
On Thu, Oct 6, 2011 at 6:03 PM, Mark Wieder <mwie...@ahsoftware.net> wrote: > Phil- > > Thursday, October 6, 2011, 12:28:38 PM, you wrote: > > > Here is an excellent starting point: > > http://fourthworld.com/embassy/articles/scriptstyle.html > > > Go to the "Naming Conventions" part. > > In addition to what's in Richard's writeup I tend to use the following > conventions. Mostly just a carryover from other development > environments since they don't really do much, but they tend to trigger > the same neuron activity so it makes it easier for me to conceptualize > what I'm doing: > > control prefix example > --------------------------- > buttons : "btn" : "btnSave" > radio buttons : "rdo" : "rdoOption1" > checkboxes : "chk" : "chkShowLineNumbers" > tab buttons : "mnu" : "mnuMainTabForm" > fields : "fld" : "fldHandlers" > labels : "lbl" : "lblSourceCode" > groups : "grp" : "grpGraphicControls" > > The only other rule of thumb I have is to keep object names one word > rather than having spaces in the middle. And of course, that rule, > like any other rule, was made to be broken when needed. > > -- > -Mark Wieder > mwie...@ahsoftware.net > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode