CodeIgniter Forums
super lightweight framework alternatives? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: super lightweight framework alternatives? (/showthread.php?tid=28531)



super lightweight framework alternatives? - El Forum - 03-13-2010

[eluser]jayrulez[/eluser]
http://code.google.com/p/tinymvc-php/


super lightweight framework alternatives? - El Forum - 03-13-2010

[eluser]edwardmolasses[/eluser]
Hi,

I'm working on a small project so i was wondering if anyone any tips for a really tiny php framework that they would recommend?

I love CI, but this project is so small it seems like it would be overkill.

I found one called adroit but something even smaller would be good.

thanks!


super lightweight framework alternatives? - El Forum - 03-14-2010

[eluser]bretticus[/eluser]
Keep in mind, it's really not that hard to develop a custom MVC framework. See these sites for examples:

http://www.phpro.org/tutorials/Model-View-Controller-MVC.html

http://anantgarg.com/2009/03/13/write-your-own-php-mvc-framework-part-1/

http://develturk.com/2009/04/24/writing-a-php5-mvc-framework-like-code-igniter-part1-controller-view-registry-loader/

However, with CI, you only give up about 2 MB (delete the user-guide.) And only a few core files are opened for any given page load (besides the ones you open.) That being said, CI is already pretty lightweight. All the helpers, libraries, etc that come with it are only loaded by you (if you need them.)

Cheers!


super lightweight framework alternatives? - El Forum - 03-14-2010

[eluser]edwardmolasses[/eluser]
thanks guys! Some good info there.