Entries Tagged ‘php’:

PHP Developers, Keep me Sane

There has been one thing that has driven me crazy since the begining days of my php programming. I understand that using @ to suppress errors can be useful. But what I don’t understand is why php would ever want to suppress a fatal error. Normally if @function() causes a fatal error, the error will [...]

How To Use Triggers to Track Changes in MySQL

Setting constraints and rules in the database is better than writing special code to handle the same task since it will prevent another developer from writing a different query that bypasses all of the special code and could leave your database with poor data integrity.

addthis_url = ‘http%3A%2F%2Fcodespatter.com%2F2008%2F05%2F06%2Fhow-to-use-triggers-to-track-changes-in-mysql%2F’;
addthis_title [...]

Web-Based Version Management

This is an idea to help with CyTE, but I’d like to start seeing this idea applied to other web-based software as well. Having an interface to update the software easily and keep a revision history would help web-based apps become closer to desktop apps. Programs like Adobe Flash Player will check for updates periodically, [...]

Programming Analogies

I like to think of programming languages as tools. It’s always best to use the right tool for the job… but sometimes there isn’t a choice.
Say you have 4 hammers in the toolbox, a JSP hammer, a php hammer, a Ruby hammer, and a Python hammer. The Ruby and Python hammers are nice looking [...]