Constants

Constants should always be all-uppercase, with underscores to separate words. Prefix constant names with the uppercased name of the class/module they are used in.

A change to current usage.

This is not what we currently do. We have lowercase constants. Whether we should change is up for grabs. It makes more constants stand out more when they are all caps. But I don't want to go through and change all the constants already in use.

john 08 Sep 2008

We're on our way.

Most of the constants have already been changed in Lunar (the branch that's on it's way to becoming Zoop 2) and Lunar branches. So you don't have to do it :)

justin 14 Sep 2008

new config system

Zoop 2.0 will no longer use the constants as a way to configure the app, the new system is already in place and working well. There will still be a handful of constants in a config bootstrap file. These constants have been uppercased already.
----------------------------------
Co-Author of Zoop Framework
http://spf13.com

steve.francia 16 Sep 2008

When 2.0 is released...

We should prob'ly update this section to reflect a preference for the new Config system, and that defines should be avoided.

justin 17 Sep 2008