January 9, 2009
· Filed under php · Tagged framework, php, symfony, tutorial
Modifying the Model
So far, there hasn’t been much PHP code in this tutorial. That’s one of the strengths of symfony: it doesn’t force you to write code that symfony can generate itself based on simple data. However, you will need to write a few lines of PHP for the tags in the model. First, let’s explore the model’s structure.
Read the rest of this entry »
January 9, 2009
· Filed under php · Tagged framework, php, symfoni, tutorial
Generating a Site Administration Panel
We’ll use a great feature of the symfony framework called the administration generator to create a site administration panel. The administration generator uses the relational schema as a guideline to create a data manipulation interface. Our site administrator will need to edit data from the Photo class, so let’s generate an admin panel for this class:
$ php symfony propel-init-admin frontend photo Photo
Read the rest of this entry »
January 9, 2009
· Filed under php · Tagged framework, php, symfony
With the release of symfony 1.0, it’s time for those who haven’t tried it yet to see what’s inside this beautiful framework. Stable, fully documented, and released under the open-source MIT license, symfony is used by hundreds of web sites, including some very large ones (Yahoo! Bookmarks, with its 20 million-strong user base, is built with symfony). If you haven’t taken the time to look at the introductory screencasts on the symfony project website, this simple tutorial will lead you through the basics.
Read the rest of this entry »