Drupal Coding Standards

Drupal Coding Standards Indenting and Whitespace Use an indent of 2 spaces, with no tabs Lines should have no trailing whitespace at the end All text files should end in a single newline (n) Operators All binary operators (operators that come between two value...

Read more

PHP Web Development Tips and Tricks

PHP Web Development Tips and Tricks Echo() versus print() Echo is quicker than print. Both functions are used for the same thing but echo is the language constructs which return nothing, which publish will return 0 or 1 based on success or failure. About acces...

Read more