Here is a TextMate command that will convert all of the selected text from camelCase to snake_case. This command is specifically designed for PHP. Thanks to PHP not having namespaces (until recently) many developers use PEAR naming conventions resulting in code that has class names like BP_Common::fancy_function(). This command will not convert the BP_Common.
Here are the coding standards we use at Reality66. The purpose of these naming conventions and standards is to provide an easy to remember set of rules so all Reality66 developers write consistent code without having to constantly reference coding standards documentation. The primary intent is to have a small, easily memorized set of rules […]
The Float datatype in MySQL is inherently inaccurate. If you are planning to use a float datatype for a column in your database you should reconsider, especially if you are planning to use it to store money values. Here is an example of the problem.