Day 1 - First symfony app

February 9th, 2008

Quinn has gotten me interested in web development with Symfony. For those who don’t know, Symfony is a PHP framework which implements the Model-View-Controller (MVC) architecture. This system allows breaking development down into a model (data), view (web stuff), and controller (how to get and what to do with data once we get it).

For my first app, I’m going to develop an app that keeps track of DVDs. We have a decent collection, and have gotten to the point where we frequently ask the question “do we have this one?” when shopping. Since we both have PDA Phones, I think this will be a big help to us. (Truthfully, it’ll be a small, quick app for me to learn on, too)

I’ve gotten hosting through (mt) MediaTemple. Specifically, their (gs) Grid Service (hey, I’m not running anything as big as Tech-Recipes!)

For starters, in this service, PEAR needs to be set up. (mt)’s knowledge base tells you how to do this for their service, others may need different procedures. PEAR’s own instructions are here.

With PEAR up and running, it’s time to see what we can do with symfony. (mt)’s KB takes you through installing symfony into a directory, then linking (mt)’s default ~/domains/yourdomain.com/html to the symfony/web directory.

Once all of this is done, you should be able to point your web browser to http://yourdomain.com and get the wonderful “Symfony project created” welcome page. In my case, I got the page, but didn’t get the graphics. I needed to link the ~/domains/yourdomain.com/symfony/sf to the sf directory on the main installation point of symfony. In (mt) (gs), this is /home/users/.home/pear/data/symfony/web/sf

Enough for day 1! Stay tuned for day 2…..

6 Responses to “Day 1 - First symfony app”

  1. My Domains » Blog Archive » Day 1 - First symfony app Says:

    […] Original post by Molten Networks […]

  2. The EbbTide » Blog Archive » A bit of geeking out… Says:

    […] My trials and tribulations can be found on the Tech-Recipes blogsite […]

  3. davak Says:

    Go, go, go! When I saw a symfony post appearing in the blog aggregator, I just assumed it was Q starting our next project. Great to know that he is spreading the word about the love that is symfony. :)

  4. qmchenry Says:

    Sounds like a great first sf app. I’m definitely interested to read how the days go on it.

  5. Day 2 - First Symfony App -- Molten Networks Says:

    […] from yesterday, we have web hosting, PEAR, and symfony […]

  6. abanks Says:

    Heehee! Traceback spamming myself!

Leave a Reply

You must be logged in to post a comment.