Getting Acquainted with phpMyAdmin
Duration: 15:57 |
Price: FREE!
Introducing Scriptaculous
Duration: 11:03 |
Price: $2.00
Creating Your First PHP Script
Duration: 5:11 |
Price: $1.00
Have some developer news you'd like us to post here? E-mail blog@wjgilmore.com with all of the details!
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.
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.
Doctrine 2 sports numerous amazing new features, several of which have already become an indispensable part of my approach to building websites. In this article I’ll show you how I used a custom repository and the new native queries feature to create a feature which retrieves a list of registered users residing within a 10-mile radius of another user.
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.
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.
In my latest Internet.com video installment, you’ll learn how to use the Zend Framewrk’s Zend_Service_Twitter component to both post entries to the service as well as receive a list of the your Twittersphere’s latest updates.
In this tutorial I’ll show you how to create your own tag clouds using the Zend Framework’s Zend_Tag_Cloud component, which you can use to tag up every conceivable part of your website, from products to blog posts. This component is a native part of the Zend Framework, meaning if you already use the Zend Framework to power your website, integrating tag cloud capabilities will be trivially easy.
New to the Zend Framework? Over the years I’ve written a number of tutorials covering different aspects of the framework. Check out this list to see if anything strikes your fancy.
Framework-based development is so advantageous because it relieves the developer of dozens of tedious decisions such as where to manage configuration data, how to access and manipulate database data, and what templating solution to employ. Employing the concept of convention over configuration, developers are able to instead devote the majority of their time and brain power to creating a powerful web application.
But a framework shouldn’t be considered a panacea; it remains paramount for you to continue exploring and implementing best practices, which will further enhance the maintainability, reusability, and readability of your code. One such best practice involves adhering to a design decision that produces “fat models” and “skinny controllers.”