Will Fris's WordPress Weblog











{20080420 - \0\UTC\UTCk 16 \pm\4\20 \20\pm\08 110 \2008f \30\02\UTC \08\UTC\pm\Sun, 20 Apr 2008 14:39:09 +0000 2008}   CodeIgniter (CI) && Symfony Framework (SF) compared

To make some comparison between CodeIgniter, CI from here on, and Symfony Framework, SF from here on, I decided to go through some of the first hits of Google for a change.

  • I found the following links to be quite good in order to make a comparison:

    • Link A:

      http://codeigniter.com/forums/viewreply/373747/

    • Link B:

      http://web2concepts.wordpress.com/2008/03/01/codeigniter-versus-zend-versus-symfony-at-the-php-conference/

    • Link C:

      http://www.devtrench.com/codeigniter-vs-symfony/

  • And this one is somewhat less useful, but gives a not so nice but quite comprehensive appreciation (from + ’til ++++) of the score about subjects for a couple of frameworks.

    • Link D:

      http://www.usenet-forums.com/php-general/53912-symfony-vs-cakephp-vs-code-igniter.html#post187364

In general I can read in most posts that:
Both of the frameworks have superb documentation, which is very nice, thumbs up!

CI is nice and lightweight, while SF is nice and heavyweight
which just makes CI more responsive then SF
SF is all about best practises whereas CI seems to take a more pragmatic route
SF is in php5, CI can be in php4 _and_ php5
SF is mainly meant for big ass applications because of the way it is set up with a cli to create applications, modules, and what not more, while CI is more meant to be a great library with an easy to understand setup

I also read that CI has gotten a fork called Kohana a all php5-strict framework.
I will most certainly use this framework in a future project to get the feel of it.

I’ve started using Symfony now;
I wanted to have a InnoDB table (dunno why. :P ) and I wanted it to be in utf8 charset and utf8_bin collation (dunno why. :S)
I found my InnoDB info here:

http://www.symfony-framework.com/2007/10/18/mysql-connection-configuration-schema-and-model-generation/

And the utf8 stuff can be found in chapter 8 of the symfony manual/book/or whatever.



et cetera
Follow

Get every new post delivered to your Inbox.