Added by Maurice Fonk, last edited by Maurice Fonk on Jul 02, 2007

Labels

 
(None)
Naneau ยป Zend Framework
(Go dik-dik, go!)
Router abuse
Routing? Today a post about Routing, that’s right, a real new post! How to use routes to get from a (nice looking) URL to modules/controllers/actions is something that has been explained in dept here and at other places. This post is not about that. This post is about how to use the router to reverse the [...]
Fun with the ViewRenderer
The ViewRenderer Really, there is fun to be had! Since it’s introduction, the ViewRenderer had caused headaches and frustration. It is the one thing that glues the Controller and View parts of Zend’s MVC implementation together. As such, it ties in strongly with your code and is likely to cause confusion if you don’t know what [...]
Working on the wiki
Last night, SpotSec and I had the great idea of starting a little knowledge base for the Zend Framework. We have both noticed a number of frequent problems people (not just noobs) run into while trying to use the framework. While we intend to set up a proper knowledge base later (probably building some kind [...]
Use the URL view helper, please
When writing views, some time sooner or later, you’re going to be creating links to your own pages. Because you don’t want to end up writing relative URLs (they will not work, because the browser will add them to the current path), you need to have some kind of a base URL. A lot of [...]
Module-based error handling
Just a short post today. #zftalk is a good source of inspiration for me. Today Dan asked if it was possible to make the error handler use an ErrorController based on the module the error occurred in. There are some good reasons for why you would want this. For instance, your module may raise errors [...]
Timing your scripts
We all have to optimize, sometimes. Most people hate it, and for good reasons. There’s a real trade-off between code readability and clarity versus optimization. To get information on how your scripts are performing you’ll need to run software like xdebug. That works fine, especially during development. But sometimes you just want some quick info on [...]
Lorem ipsum view helper
A while ago I wrote a little lorem ipsum class. I use it a lot when creating mock-ups. Having realistic filler text really helps with visualizing things. When I wrote about view helpers the other day it dawned on me that I’ve never posted the view helper I created for use with the lorem ipsum class. [...]
Helpers and plugins
For people new to the Zend Framework the way it implements the model view controller (MVC) pattern may be a bit confusing. While the basic structure couldn’t be easier, it’s the details that cause problems. I’m going to have a go at trying to explain some of them here. I hope it helps. If [...]
View helpers
Another post on views today. But this will be a short one. See, I believe not enough focus is put on the usefulness of view helpers. When trying to separate design from logic, I believe that all things that can be removed from a view should be. View helpers can come in quite nicely there. [...]
An object assigning action helper
I’m sorry for the cryptic title, but I’ll explain it. One of the major challenges in software design nowadays is portability. It’s one of the cornerstones of object oriented programming. The basic idea being that if you define a class that describes some kind of thing, in any other applications that work with the same [...]