Re: [PHP] Naming conventions

2004-10-02 Thread Daniel Schierbeck
"Jensen, Kimberlee" <[EMAIL PROTECTED]> wrote: What do you use for your naming conventions for variables functions classes I'm trying to tell my students what the standard is currently. Are people using camel case or underscores or both? I use this: $a_variable ClassName a_function() aMethod() -- P

Re: [PHP] Naming conventions

2004-10-01 Thread Greg Beaver
Jason Davidson wrote: Oh please dont start a thread on which is better .. but i beleive it was decided that camel case is the standard now. Jason "Jensen, Kimberlee" <[EMAIL PROTECTED]> wrote: What do you use for your naming conventions for variables functions classes I'm trying to tell my

RE: [PHP] Naming conventions

2004-10-01 Thread Dan Joseph
Hi, > What do you use for your naming conventions for > variables > functions > classes > > I'm trying to tell my students what the standard is currently. Are people > using camel case or underscores or both? I'm not sure there is a "standard" for naming things. Here's how I do it...

Re: [PHP] Naming conventions

2004-10-01 Thread Paul Bissex
On Fri, 1 Oct 2004 11:28:57 -0700, Jensen, Kimberlee <[EMAIL PROTECTED]> wrote: > What do you use for your naming conventions for > variables > functions > classes > > I'm trying to tell my students what the standard is currently. Are people using > camel case or underscores or both? > Without

Re: [PHP] Naming conventions

2004-10-01 Thread Greg Donald
On Fri, 1 Oct 2004 11:28:57 -0700, Jensen, Kimberlee <[EMAIL PROTECTED]> wrote: > What do you use for your naming conventions for > variables > functions > classes > > I'm trying to tell my students what the standard is currently. Are people using > camel case or underscores or both? You probabl

Re: [PHP] Naming conventions

2004-10-01 Thread Jason Davidson
Oh please dont start a thread on which is better .. but i beleive it was decided that camel case is the standard now. Jason "Jensen, Kimberlee" <[EMAIL PROTECTED]> wrote: > > What do you use for your naming conventions for > variables > functions > classes > > I'm trying to tell my student

[PHP] Naming conventions

2004-10-01 Thread Jensen, Kimberlee
What do you use for your naming conventions for variables functions classes I'm trying to tell my students what the standard is currently. Are people using camel case or underscores or both? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Fri 10/1/2004 11:

Re: [PHP] naming conventions

2001-07-26 Thread Peter Houchin
It doesn't really matter as far as I know except you cannot have a space, and its not common practice to use numbers with table names. The only thing that really matters as far as I'm concerned is that I remember how I've named it be it firstname or first_name or FirstName as long as you know t

[PHP] naming conventions

2001-07-26 Thread Matthew Delmarter
Hi guys, I am interested in how to best name fields in mysql - and any issues that may arise. For example look at these field names: "First Name" - is there any problem with the space? "firstname", "first_name" or "FirstName" - is there a preference here? In short I want to know if more than pe