Docunext


Symfony

April 13th, 2007

I'm finally trying out symfony!

  1. Installed framework via pear
  2. Downloaded sandbox site
  3. Viewed welcome page!

That was pretty easy. I actually didn't need to install both the sandbox and the pear library, but I did anyway. It appears that the sandbox download includes all the libraries.

The next steps were just as easy, though I had to install sqlite for php5. On debian, this was done:

apt-get install php5-sqlite

And then I added these to the /etc/php5/apache2/php.ini file:

extension=php_pdo.so

extension=php_sqlite.so 

but that's gotta be wrong, because I'm getting this:

I confirmed that pdo was loaded with:

in a temp.php file, and yes it is:

So I tried rebuilding the symfony propel stuff from the command line, and it worked! I can see why they use sqlite for the initial module, its nice and easy to get going.

Great work Fabien, and thanks again to Joshua for introducing me to symfony (and a bunch of other awesome php / linux stuff, like Gentoo!)

Based upon this very positive experience, I may just try to somehow merge what I like about nexista with what I find helpful about symfony. I've created ALOT of applications with nexista, so I won't ditch nexista any time soon. To review, my favorite things about nexista are:

  • Separation of code, database I/O, and presentation
  • Speed
  • Use of widespread open standards like XSL and XML
  • Role based authentication
  • Minimalist design - Joshua did a great job of limiting the scope of nexista

Things I like about symfony so far:

  • There is book
  • Large user community
  • Internationalization support
  • Caching
  • Well organized
  • Nice DB IO

Things I don't like about symfony:

  • Yaml - I'm sure its fine, but xml is just so basic it can't be beat imho
  • No xsl support that I've seen yet

In my mind, I'm pretty pumped up about wordpress (and bbpress), nexista, mediawiki, and symfony these days. Something will probably come of excitement!

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022