jQuery
The most recent addition to my skill repertoire is jQuery. jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery and jQuery UI basically take the pain out of writing cross-browser and cross-platform Javascript for AJAX and user-interface functions, something which previously took up a hell of a lot of my development time.
Here’s an example of how jQuery combined with PHP can simplify a simple website signup process. The signup process has three steps. The first is to register a company, the second is to create the company record in the database and present a form to create a staff member within that company and the third and final step is to create the database record for that staff member. There are three scripts for this process:
There are also some supporting functions:
There are also some supporting functions whose names begin with the prefix “db”. The purpose of these functions is pretty self explanatory and should be part of any PHP developer’s standard library of commonly used functions.

Recent comments