WJGilmore.com Blog » php

Have some developer news you'd like us to post here? E-mail blog@wjgilmore.com with all of the details!

How I Learned to Stop Worrying and Love Zend_Form

Published: August 19, 2011

Are Zend_Form decorators driving you crazy? In this blog post I’ll show you how to override the default decorators, and instead wield total control over your form layout by supplying your own layout file.

Thirteen Zend Framework Tutorials

Published: May 26, 2011

A few weeks ago I posted what turned out to be a rather popular compendium of productivity- and best practices-related PHP tutorials which I’ve published in recent years on Developer.com and PHPBuilder.com. As it happens I write about the Zend Framework with equal vigor, and figured readers might like to check out the list of Zend Framework tutorials I’ve written over the past two years for the aforementioned sites.

Sixteen Best Practices- and Productivity-Related PHP Tutorials

Published: May 10, 2011

This compendium of sixteen recently published tutorials touches upon all manner of topics related to PHP-oriented best practices and productivity. In this list you’ll find tutorials introducing testing, debugging, advanced object-oriented features, code profiling, security, enforcing coding standards, and more.

Deploying PHP Websites with Capistrano

Published: April 19, 2011

Love creating websites but hate deploying and updating them? If so I’d imagine you’re still using FTP to transfer files, because Capistrano makes deployment dead simple. Read on to learn how you can start using Capistrano to deploy your PHP-powered websites.

Enforcing PHP Coding Standards with PHP_CodeSniffer

Published: October 22, 2010

In light of PHP’s considerable expressive flexibility, how can you actively enforce a coding standard and prevent both yourself and your team members from reverting to bad habits? One great solution called PHP_CodeSniffer is (coincidentally) found in a PEAR package. PHP_CodeSniffer can not only parse PHP code to ensure it meets a particular coding standard but it can also examine your JavaScript and CSS files for potential standards violations. Read on to learn how to use PHP_CodeSniffer!

Checking a User’s Login Status Using a Zend Framework Action Helper

Published: September 16, 2010

Although it’s easy to use Zend_Auth’s hasIdentity() method to determine whether a user is logged into a website, I’d rather keep my code DRY when the need arises to selectively restrict certain controller actions to logged-in users. This dilemma is easily solved using a custom action helper.

My Developer.com Google Maps API Tutorial Series Summary

Published: September 16, 2010

As I sit here this morning penning the latest installment of my ongoing Google Maps series for Developer.com, it’s difficult to believe that the first tutorial in this growing collection was written over five years ago!

Although some of this material is now slightly outdated due to API changes made in the version 3 release, it’s still serves as pretty useful material if you’re looking to ramp up your knowledge in a hurry. To help you get started, I’ve aggregated a list of all 12 articles here.

Validating Identical Passwords with the Zend Framework

Published: September 06, 2010

When creating user registration and password-related models you’ll likely need an easy way to compare the user’s chosen and confirmed passwords. Yet despite the Zend Framework having long supported over two dozen input validation features, it wasn’t particularly easy to compare input associated with two different form fields without breaking tier separation best practices. That all changed with the Zend Framework 1.10.5 release, which finally added support for this useful feature.

New PHPBuilder.com Tutorial: Introducing ExpressionEngine 2

Published: August 03, 2010

In the latest installment of my ongoing PHPBuilder.com series, I review some of ExpressionEngine 2’s new and interesting features.

New Developer.com Tutorial: Building a URL Shortener with jQuery, PHP, and MySQL

Published: August 03, 2010

In the latest installment of my ongoing Developer.com series, you’ll learn how to create a URL shortening service similar to Bit.ly using jQuery, PHP, and MySQL.

Page 1 of 6 pages  1 2 3 >  Last »