开发者

Can someone tell me which are the advantages of using Zend Frameworks instead of simple PHP? [closed]

开发者 https://www.devze.com 2023-03-13 17:48 出处:网络
As it currently s开发者_运维技巧tands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely so
As it currently s开发者_运维技巧tands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

Can someone tell me which are the advantages of using Zend Frameworks instead of simple PHP? I know that it has the advantage of MVC pattern, that is OOP, it offers simplicity and enhanced security, but I would need some examples as well. Also you're welcome to list other advantages as well.


This question would be answered by it's self if you tried a framework but in a nutshell it's the same reasons people use things like jQuery for js.

Write less do more.

If you think about what a web application needs, every application needs a db class some helpers and a way to control data and views.

Frameworks provide this base layer so you don't have to spend a week researching and writing a class that will sanitize user input or rollback db transactions if they fail.

Frameworks provide the base layer of an application so you can spend more time writing the cool stuff you dream up instead of writing the boring stuff that has been done 100 times before

0

精彩评论

暂无评论...
验证码 换一张
取 消