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 [...]
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 [...]
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 [...]
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 [...]
February 8, 2010 – 12:51 pm
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 [...]
January 31, 2010 – 12:08 am
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 [...]
January 29, 2010 – 11:39 pm
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 [...]
January 29, 2010 – 10:44 am
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 [...]
January 28, 2010 – 11:49 am
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 [...]
January 11, 2010 – 4:58 am
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 [...]