从头开始开发 CMS 还是使用 Zend Framework?
我想问一下,是从头开始开发一个CMS,做一个好的CMS核心框架更好,还是应该用Zend Framework来开发我的CMS。我有使用 Zend Framework 的经验,但感觉它不会取得很好的成功,因为 Zend 拥有庞大的库。
I want to ask if it is better to develop a CMS from scratch, making a good CMS core framework, or should I develop my CMS with the Zend Framework. I have experience in working with Zend Framework, but feel like it will not have a good success because of the large library that Zend has.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我会尽力回答我认为可以客观回答的问题。
ZF 是一个通用组件库。它不提供与 CMS 问题域相关的组件,例如没有文档、没有工作流程、版本控制等。因此,即使您使用 ZF,您也必须实现 CMS 特定部分,例如您的域模型和所有业务逻辑(您的CMS 核心),从头开始。
ZF 可以解决应用程序的一些常见问题,例如身份验证、缓存、数据库访问等。因此,对于这些方面,采埃孚可能对您有用。至于图书馆的大小:这不是问题。您不必使用不需要的组件。只需选择那些对您有用的即可。
作为 ZF 的替代方案,请查看 Apache Zeta 组件。除了采埃孚提供的许多组件之外,它还提供工作流程和文档 - 不幸的是,其开发最近已陷入停滞。
I will try to answer what I think can objectively be answered.
ZF is a general purpose component library. It doesnt offer components related to the CMS problem domain, e.g. no documents, no workflows, versioning, etc. So even if you use ZF, you will have to implement the CMS specific parts, e.g. your domain model and all the business logic (your CMS core), from scratch.
ZF can solve some of the general problems of an application like authentication, caching, db access, stuff like that. So for those aspects, ZF might be useful for you. As for the size of the library: that is not an issue. You do not have to use components you do not need. Just pick those that are useful for you.
As an alternative to ZF check out Apache Zeta components. It offers workflows and documents in addition to many components ZF offers as well - unfortunately, development on that has stalled lately.