What do people think of using Code Igniter on a medium-to-large site with a fairly complex database? I know I could use Symfony but is CI any good here?
| SitePoint Sponsor |
What do people think of using Code Igniter on a medium-to-large site with a fairly complex database? I know I could use Symfony but is CI any good here?


I don't claim to be an expert or anything but I would say CI is better suited for a personal project or a small site. It kinda restricts you to using there way of working/thinking where I find Symfony doesn't, it allows you to use your own components, structure, etc.
Also, Yahoo have used symfony on one of their projects (can't remember which at the moment), so it's definitely suitable for a high-traffic, database-intensive application.


You can add libraries/helpers, yes definitely. But what if you wanted to change your template layer to Smarty? Or add an ORM such as Propel? You can't, you're stuck doing thing the way they want you to.
Symfony allows you to stitch together the bits you want easier than CI. I don't disagree that CI is faster and I'm not a massive fan of Symfony (I actually use my own framework) but with output caching most overhead with any overhead can be avoided and 99% of the time bottlenecks are in the database or file-system, not the framework/PHP code.


Yahoo! Bookmarks is a Symfony app, fully internationalized, with 20 million users.
http://trac.symfony-project.com/trac...pedWithSymfony
17-29% of paid ad clicks are fraudulent. Get protected with Improvely, your online marketing dashboard.
→ Conversion tracking, click fraud detection, A/B testing and more.
Okay, so I guess not CodeIgniter. But what about cakePHP on a large site?
List users have compiled of sites running CakePHP applications:
http://groups.google.com/group/cake-...es-in-the-wild
A few are large sites like...
https://addons.mozilla.org/
Source code for that application can be found here:
http://svn.mozilla.org/addons/trunk/site/app/
Enjoy
Bookmarks