Naneau

Go dik-dik, go!

Search Results

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 [...]

Two step view process

Most of you will be familiar with the problem that of every HTML page you generate, only a certain part changes from page to page. For instance, on this very website (which has been created using wordpress) only the posts differ from page to page. The head section is the same on every page, as [...]

Using Naneau_View_Smarty with RC1

The new viewRenderer, introduced with the Zend Framework 1.0.0RC1 is a source of confusion for a lot of us. When I first upgraded I couldn’t figure out what on earth it was trying to do. Luckily, Matthew Weier O’Phinney has written an article over on devzone that explains the basics of it. I now understand [...]

Artistic endeavors

I have created what I think is the most useless thing ever. I call it ‘Ajax Art’. Check it out!
When I was young I would always fail art class. I was good at building things, but I’ve never been able to draw. I just can’t do it. My handwriting is near illegible as well. I [...]

Smarty and the Zend Framework

Like I’ve mentioned in previous posts, I’m a great fan of using “decent” template engines, and try to avoid writing views in php. I don’t want to discuss the reasons behind this in detail right now. I just believe that limiting yourself to a small set of template tags makes you think more about structuring [...]

A Zend Framework tutorial, part four

In the first three parts of this tutorial I talked about designing your models and controllers. In this fourth part I’m going to take a look at views. Views are the final part of a MVC application. They contain code that will create the output of the application.
For most of you this will mean that [...]

Wordpress templates

I am a design nut, though I am not a skilled designer. I do want to have great control over how everything I produce looks. Or I want to be able to tell another person exactly what I want it to look like, and how to make it look like it. That means that I [...]