Some Good Tips
Today i found some good tips
- Readable PHP code #1 Return ASAP
http://patrickallaert.blogspot.com/2008/10/readable-php-code-1-return-asap.html- It’s a quick read on structuring of if/returns, definitely worth a read since it improves code legibility.
- Throwing and catching exceptions
http://www.dragonbe.com/2008/10/throwing-and-catching-exceptions.html- Its a good explanation of the use of try.. Catch… statements and how to throw and bubble up exceptions in your application using the try/catch.
- Blackbird JS Logging App
http://www.gscottolson.com/blackbirdjs/- Good JS App for outputting custom logs, i can see it coming in handy when alert() just isn’t enough.
- Just realized i can use Firebug (which i already have installed) instead
http://getfirebug.com/logging.html