Archive for the ‘symfony’ Category
Friday, April 3rd, 2009
After defining a menu structure and describing the sfMenuItem object it's time to show you how to pack the whole menu thing up to generate the menu with a few lines of code.
Up until now we have defined a tree structure in yaml and created a PHP class to generate ...
Posted in PHP, symfony | 2 Comments »
Friday, April 3rd, 2009
During my last article I described how the structure of my routing-based menu is defined. This time I want to show you how to create menu item objects using this structure as the source. You will also learn how the items interact with the symfony environment.
Posted in PHP, symfony | No Comments »
Tuesday, March 31st, 2009
The new symfony routing system with object routes and other niceties is so useful that you might consider basing your application navigation upon it. In my following articles I want to show you how to get a fully configurable multi-level menu system based on a minimalistic yaml syntax (and you ...
Posted in PHP, symfony | No Comments »
Saturday, March 28th, 2009
Sometimes you may stumble upon the problem that you have to find related objects to other objects without actually knowing anything about the objects but their class names. In this case the best approach is to have a universal object resolver based on the fact that the objects themselves usually ...
Posted in PHP, symfony | 5 Comments »