从未使用过的人的最佳PHP框架? [英] Best PHP Framework for someone who has never used one?
问题描述
正在研究针对某些个人PHP应用程序使用框架-我唯一隐约地使用过我们的codeigniter的框架,有没有更好的文档记载的框架可用?
Looking into using frameworks for some personal PHP apps - the only one I have ever vaguely used us codeigniter, are the any better well documented frameworks available?
推荐答案
老实说,我会坚持使用CodeIgniter.
I'd stick with CodeIgniter to be honest.
更重要的是,为什么需要框架?我的意思是,框架是一种旨在解决问题的工具,因此,您的问题(很常见)有点像去五金店询问要购买的工具,而没有计划要去做的事情建造,建造方式或原因.
More importantly though, why do you need a framework? By that I mean, a framework is a tool designed to solve problems so your question--which is quite common--is sort of like going to the hardware store and asking what tools to buy without having a plan of what you're going to build, how or why.
所以不要使用框架,因为您认为应该拥有一个框架.它可以解决您实际遇到的问题,而不是您认为您最终可能遇到的问题.
So don't use a framework because you think you should have one. Use one when it solves a problem you actually have, not a problem you think you may eventually have.
如果您只是想看看有什么不同,那么可以选择很多东西:CakePHP,Symfony,Zend和其他. Zend可能不是一个不好的选择,因为它是模块化的,因此您可以根据需要随意使用它.
If you just want to see how something is different, well there are lots to choose from: CakePHP, Symfony, Zend and others. Zend probably isn't a bad one to choose because it's quite modular so you can use as much or as little of it as you like.
这篇关于从未使用过的人的最佳PHP框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!