• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Naming Conventions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Naming Conventions


  • Subject: Re: Naming Conventions
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 21 May 2004 16:02:12 -0700

On May 21, 2004, at 8:07 AM, Lotsa Cabo wrote:

What do people prefer as a naming convention for database tables to EO
objects?
Camel case for EO objects, underlines for table names


Coming from a M$ world, many developers prefix the names of
their tables with "tbl" (as in "tblObjects").  Others use various
prefixes for their objects based on type.

That is because MS has a crappy, error friendly API in everything is the same type. This is a kludge, not a best practice.



  I understand what the docs
mention (using "Object" for the object name and "OBJECT" or "OBJECTS"
for the table name).

I prefer a singular name.


Any recommendations?


Avoid MS conventions based on bad design.


Chuck _______________________________________________ webobjects-dev mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Naming Conventions
      • From: Deirdre Saoirse Moen <email@hidden>
References: 
 >Naming Conventions (From: Lotsa Cabo <email@hidden>)

  • Prev by Date: Re: Modeling Tool
  • Next by Date: Re: Why WebObjects?
  • Previous by thread: Re: Naming Conventions
  • Next by thread: Re: Naming Conventions
  • Index(es):
    • Date
    • Thread