WJGilmore.com Blog » zend_framework

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.

The Power of Doctrine 2’s Custom Repositories and Native Queries

Published: April 09, 2011

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.

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.

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.

Video Tutorial: Connecting to Twitter Using the Zend_Service_Twitter Component

Published: August 03, 2010

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.

Create Tag Clouds with the Zend Framework’s Zend_Tag_Cloud Component

Published: July 20, 2010

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.

Twelve Zend Framework Tutorials

Published: July 20, 2010

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.

Integrating Expression Engine’s Authentication Mechanism with the Zend Framework

Published: April 22, 2010

Fat Models and Skinny Controllers Bring Out the Best in Your MVC Framework

Published: February 19, 2010

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.”

» Read the article

Page 1 of 2 pages  1 2 >