ZENDFRAMEWORK ARTICLES

Autoloading is the process in PHP whereby the system attempts to load a class when it is first encountered (via new or via class_exists) if it hasn't already been loaded via a require or include. Autoload works by looking for a method called...

Let's say that you want to set up a one-to-many relationship between two tables: Artists and Albums because you've refactored my ZF1 tutorial. Let's assume that an artist has many albums. These are the basic table definitions: artists table: id,...

Since I hadn’t blogged for a bit I thought I would ask my Twitter peeps what they might want to hear my rant about. One of the more interesting suggestions I got was from Travis Northcutt who said the following

In this conclusion to a three-part series on combinators, you'll learn how to use the child combinator when building your own web pages.

For making free calls with VOIP software or making calls to landline phones at really low rates, Voipclub.biz is a good option to consider. The software has been thought to include almost everyone of the most popular operating systems, something...

A book review for Getting Good with JavaScript plus a coupon to get $5 off the book!

When this blog moved to wordpress, we added a contact form into the footer, which was available on every page. This seems awesome until you see the sheer volume of spam I got from it in the first day or two. I hate captchas, not least because I...

JavaScript doesn't have a native namespace facility so how are you supposed to keep utility and helper functions private? The solution is to use inner functions but this is just the start of the story.

A plugin for jQuery that adds a beautiful transition similar to real pages in a book or magazine for HTML5.

That may not sound like a problem, but it is. Because these files are tied to your theme, if you ever want to use them again on a different theme, you have to go digging around for the code and then manually add them again to your new theme.

Stuart Herbert has written two new Sublime Text packages for PHP: Additional PHP Snippets PHPUnit The best way to install these is to install Package Control first and then use shift+cmd+P -> install package. Even better, Stuart has rolled my...

One basic difference is that isset() can be used with array and variables both while array_key_exists() can be used with the arrays only.

Contrary to popular belief, Ajax is not rocket science, especially with the right library. This videos explore the popular Prototype and jQuery libraries showing how they can simplify typical Ajax techniques and make JavaScript easier to work with....