Issue Type: Docs: Problem Created: 2006-10-15T07:43:59.000+0000 Last Updated: 2008-06-15T21:45:32.000+0000 Status: Resolved Fix version(s): - 0.7.0 (18/Jan/07)
Reporter: JTF in DC (dcjim) Assignee: Bill Karwin (bkarwin) Tags: Related issues: - ZF-691
The terms camelCaps and StudlyCaps appear to be used inconsistently across Zend documentations, as well as unfortunately, the world.
"(when converted from CamelCaps to underscore_words)." (ZendFramework-0.1.5/documentation/end-user/en/zend.db.table.html)
In other docs, Zend uses "camelCaps" to refer to lowerCamelCaps and, synonymously with "studlyCaps."
For example: "This is commonly called the "studlyCaps" or "camelCaps" method." (http://framework.zend.com/manual/en/…)
Wikipedia, if taken as any authority or at least arbiter, distinguishes between lowerCamelCaps and UpperCamelCaps, but pejoritizes StudlyCaps as the use of caps and lower case indiscriminately, e.g., sTudLycApS.
Members of the Zend user community appear to distinguish, but inconsistently.
For example "The standard in built-in PHP functions is underscores for procedural code (simplexml_load_string) and studlyCaps/CamelCaps for object-oriented code." (http://zend.com/lists/php-general/…)
Whereas I'm familiar with camelCaps and StudlyCaps.
I'm not alone, e.g.,
"Class names are StudlyCaps. Method and function names are camelCaps (StudlyCaps with an initial lowercase letter). " (http://cvs.sourceforge.net/viewcvs.py/supybot/…)
This confusion between the terms may not be a ShowStopper, but it is certainly a headAche.
If Zend can't drive the global usage and distinction between the two - perhaps at least nail down a local usage and apply it consistently.
Posted by Ralph Schindler (ralph) on 2006-12-27T13:31:14.000+0000
+1 on changing all references to studly to camel
Posted by Ralph Schindler (ralph) on 2006-12-27T13:32:06.000+0000
Again, by fixing the V1 document and making it documentation worthy, we fix this reported issue.
Posted by Bill Karwin (bkarwin) on 2006-12-27T14:01:26.000+0000
Posted by Wil Sinclair (wil) on 2008-06-15T21:45:32.000+0000
Updating to comply with new IT component conventions.
Have you found an issue?
See the Overview section for more details.