Sunday, August 10, 2008

PHP MVC Framework

Are you looking to make web applications in PHP? Checkout Codeigniter. It will save you some time. Just as it has for me in the last few years. I have to say this is the best MVC I've found for PHP language. Visit the forums and see for yourself what power this framework possesses. You can do with a few lines of code what you would have to do with 50 in another framework. All you logic is in the controllers and db stuff is in models. While all the presentation layer stuff is in views. On top of all this you can breakup your views into sections and call views from views and controllers from controllers. With add on libs, of course. If you looking for good libs to add to CI, then checkout Modular Extensions. It gives you the power to call controllers from controllers. Separate code into callable modules. There are plenty of login libs in the wild as well. I say for each his own. simplelogin is perfect for a simple web app, with minor modifications. Khaos is another good one. If you are looking to use smarty in your web apps you can add a lib wrapper for this as well. This way you can use CI Views with smarty style syntax. Get the best of both worlds. I hope this helps you.

No comments: