不使用 PHP 框架的原因?
我一直使用框架(Agile Toolkit)开发 Web 软件,它在所有情况下对我都有帮助,但有一个问题总是让我担心:
在什么情况下不建议使用框架?
因此,向其他经验丰富的框架开发人员提出一个问题 - 您什么时候会使用原始良好的 PHP
进行编码,而不是使用您的框架?框架的选择?
I have always developed web software using a framework (Agile Toolkit) and it was helpful to me in all situations, but one question always concerned me:
In which circumstances it's NOT advisable to use a framework?
So a question to other veteran framework developers - when would you code in a raw good PHP
instead of your framework of choice?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
人们建议不要使用框架的原因有很多。
这里还有一篇非常好的文章介绍了其他细节。本文的作者首先讲述了他如何一直是框架的大力支持者。
http://jpst.it/jiYX
我总是会努力制作自己的框架,除非我开始做一些自由职业。我不断更新我的框架并学习越来越多的东西。你永远不会听到有人说绝对使用或绝对不使用框架,因为这完全取决于使用。
编辑:程序员网站上也有一个关于此的问题:https://softwareengineering.stackexchange.com/questions/49488/when-not-to-use-a-framework
编辑#2:最后一篇关于为什么使用框架的文章不是必需的: http: //www.amberweinberg.com/you-dont-need-a-framework-if-you-have-a-good-developer/
There are many reasons that people will suggest not to use a framework.
There is also a very good article here that goes into other details. The author of this article starts out by talking about how he always was such a big proponent of frameworks.
http://jpst.it/jiYX
I am always going to push towards making my own frameworks unless I start doing some freelance work. I am constantly updating my framework and learning more and more. You will never hear anybody say definitely use or definitely do not use a framework because it all depends on the use.
Edit: There is also a question over at the Programmers site on this: https://softwareengineering.stackexchange.com/questions/49488/when-not-to-use-a-framework
Edit #2: One last article about why frameworks are not necessary: http://www.amberweinberg.com/you-dont-need-a-framework-if-you-have-a-good-developer/
为什么要使用 PHP 框架?
为什么我需要使用流行的框架?
PHP 框架 (cake/smarty):如何使用以及何时使用?
Why use a framework with PHP?
Why do I need to use a popular framework?
PHP framework (cake/smarty): How to use it and when?