Wiki source code of Naming Conventions
Last modified by Gavin Eadie on 2013/02/18 13:59
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | === Prefixes === | ||
2 | |||
3 | WebObjects uses three prefixes: | ||
4 | |||
5 | **NS** stands for "NextStep", a slightly historical tag, but this contains foundation classes such as arrays (NSArray), etc. | ||
6 | **EO** for "EnterpriseObject", data modeling layer, which was actually around before WebObjects | ||
7 | **WO** for WebObjects which is the view and control layer built on Enterprise Objects | ||
8 | |||
9 | === CamelCase === | ||
10 | |||
11 | The naming convention for objects in WebObjects is that names are written in [[CamelCase>>url:http://en.wikipedia.org/wiki/CamelCase||shape="rect"]] (which is somewhat controversial since long names are less readable and it is somewhat ugly). | ||
12 | |||
13 | === WebObjects Directory Layout === | ||
14 | |||
15 | The way in which the various development-time and deployment-time files, and collections of files, are organized, follows a convention established in history. |