Tag Archives: PHP

TEK·X Arrival and Day Zero

Yesterday I arrived in Chicago for my first TEK·X PHP conference. After getting in, I had an interesting conversation with Bill Karwin over dinner. Bill is the author of  SQL Antipatterns and is presenting on SQL Injection Myths and Fallacies as well as Models for Hierarchical Data with SQL and PHP here at TEK·X. I [...]

Searching A Field With Digits In Zend Framework’s Lucene Component

Recently I ran into a bug in one of our applications using Zend_Search_Lucene where the same document was showing up multiple times in search results. Actually, many different documents were showing up more than once. I tracked it down to the routine that updated indexed documents. With Zend_Search_Lucene you can’t actually update indexed documents, but [...]

Layouts in Zend Framework

In my previous post in this series we looked at Zend Framework’s routing and Model-View-Controller (MVC) components. In this post we’ll take slight detour and explore Zend_Layout, a component that lets you have a consistent template for the layout of pages throughout your website.
In the past you may have implemented consisted layouts in PHP using [...]

Job Opening: Senior/Lead PHP Developer

An acquaintance of mine, Teresa Langston, made me aware that Vermont Information Processing (VIP) is looking for a Senior/Lead PHP Developer. More information is available on their careers page but a more in-depth description was recently posted to PHPDeveloper.org. An excerpt of the job description:
We are seeking an experienced PHP Application Developer with serious chops [...]

MVC in Zend Framework

In my previous post in this series we looked at how Zend Framework applications can be bootstrapped. We saw the configuration file (application/configs/application.ini) and the Bootstrap class (in application/Bootstrap.php) from a demo blogging application, Postr. What happens once your application is bootstrapped and run? That’s where Zend Framework’s routing and Model-View-Controller (MVC) components come in [...]

Bootstrapping Zend Framework Applications

In my previous post I talked about how the Front Controller pattern is implemented in Zend Framework. We saw how every application request can go through the public/index.php script. Everything that your application does is then eventually called from either the bootstrap() or run() method in Zend_Application.
One of the constructor arguments passed to Zend_Application specified [...]

Front Controller Pattern in Zend Framework

I recently gave a Zend Framework Introduction presentation at our local PHP Users Group. I built a demo blogging application called Postr that I used as an example throughout the presentation. There was way too much material to cover in the time available so I plan on writing a series of blog posts, each covering [...]

Zend Framework Introduction

Slides from last night’s Zend Framework Introduction at the Burlington, Vermont PHP Users Group are now available online:
Zend Framework Introduction
View more presentations from Bradley Holt.

The presentation is available under a Creative Commons license.
As I mentioned earlier, there’s also a demo blogging application called Postr available on GitHub. The application is available under a free/open source [...]

Learn Zend Framework

At tonight’s (Thursday, January 28, 2010) Burlington, Vermont PHP Users Group meeting I’ll be giving a Zend Framework Introduction presentation. I’ll be covering how to use several features of Zend Framework and common patterns including:

Zend_Tool
Zend_Application
Model-View-Controller (MVC)
Zend_Layout
Action Controllers
View Scripts
Zend_Test
Modeling domain objects
Zend_Form
Zend_Db_Table
Data Mapper
Zend_Paginator
Zend_Date
Zend_Markup
Zend_Navigation
Controller Plugins

I’ve created a demo blogging application called Postr that I’ll be using as an [...]

Zend Framework Route Context Plugin

I want to share a simple, yet very useful, custom Zend Framework plugin that we use on almost all of our projects. The plugin (and associated code in the layout file) provides the Zend Framework route context as CSS classes on the body element. This allows us to change the design (using CSS) and/or behavior [...]