While i'm not questioning which one is better than which,while i recognized their strong areas.this question is simply to help me decide on which one to use for a simple project with requires a very small memory foot print.
So that's about it. Who has a better insight when it comes to that? Thanks for reading this
i would choose neither for a simple / smaller project. Choose Codeigniter, it's easier to setup and it's one of the lightest resources intesive wise.
If your project really is simple, your best option is a microframework, like Silex. It is a PHP microframework for PHP 5.3. It is built on the shoulders of Symfony2 and Pimple and also inspired by sinatra.
A microframework provides the guts for building simple single-file apps. Silex aims to be:
In a nutshell, you define controllers and map them to routes, all in one step:
require_once __DIR__.'/silex.phar';
$app = new Silex\Application();
$app->get('/hello/{name}', function($name) use($app) {
return 'Hello '.$app->escape($name);
});
$app->run();
All that is needed to get access to the Framework is to include silex.phar. This phar (PHP Archive) file will take care of the rest.
(most content taken from Silex's homepage)