Wiki source code of Naming Conventions
Version 1.1 by ianjoyner on 2007/07/12 21:36
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>>http://en.wikipedia.org/wiki/CamelCase]] (which is somewhat controversial since long names are less readable and it is somewhat ugly). |