Is there a thin framework in PHP I can use? [closed]
Questions asking us to recommend or find a tool, library or f开发者_如何学Pythonavorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this questionI'm looking for a thin web framework in PHP5 to start my project. I have come across some popular frameworks like Symhony, Zend, CodeIgniter... but they seem too complicated and their source code are too long to read. Is there a light framework out there I can use? (I know some OOP, MVC in PHP)
Thanks for your help.
I would say Codeigniter is about as light as you are going to get, It's fairly convention-less and has proven to be the lightest in terms of overhead.
It is simple and well documented.
My choice of vote is for CODEIGNITER , because easy to use and build applications and rich documentation.
Thanks
MicroMVC for sure.
As advertised:
It offers Model, Library, Controller, Function, and View management. Plus other features like URI Routing, hooks/plugins, file uploads, database abstraction, captcha creation, and more! If you are new the Model/View/Controller world of OOP
All under 150kb!
I too agree with @jondavidjohn. I started with codeigniter and really impressesed with its simple well documented syntax. If you are starting framework for the first time, As for me CodeIgniter is the best choice. Give it a try http://codeigniter.com/user_guide/ ...
I find Cakephp Framework very addicted for me.................u could check it out
I think you're looking for Kohana 3 - http://kohanaframework.org/
The documentation sucks but it's very lightweight, there's a good community (even on SO), it's more simple than Symfony and more powerful than CodeIgniter (the first version of Kohana was based on CodeIgniter)
You can check PHP Frameworks site, where you can fully compare all kinds of PHP frameworks and help you choose the right php framework for your project. They offer PHP Frameworks comparison, top 10 frameworks, reviews, forum, etc.
Thanks for your help guys.
I love CI too. I also googled and found this one. It looks promising, let's see how it works out, will come back to CI if it doesn't work.
Personally, I found success with Kohana 2.3 (the later versions don't work as well IMHO) as it has a very simple MVC structure, it runs fairly quickly, and it is OO. It was based off of CodeIgniter.
However, I would pick a framework and stick with it, paying more attention to designing your application with a good understanding of MVC. Head First Design Patterns (http://www.amazon.com/First-Design-Patterns-Elisabeth-Freeman/dp/0596007124) helped me understand why MVC was useful and how to implement it. Good luck!
精彩评论