ZEND模块化应用
任何人都可以为我提供 ZEND 模块化运行示例。所有工作都在尝试,我真的很累。
问候 乔斯
Can anybody provide me the ZEND modular running example.All working as i m really tired trying things.
Regards
Jos
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
使用 zend 创建模块化应用程序,作者:Jeroen Keppens。
create modular application with zend by Jeroen Keppens.
它可能有点大,但 Magento 基于 Zend Framework,并且非常模块化。其中的 Zend 类正在慢慢地被 Magento 特定的类所取代,但它们仍然保留着许多 Zend Framework 的东西,比如控制器、助手、模型。
它们为每个模块提供配置以连接到路由器系统、管理、模板(您甚至可能不需要编辑模板文件)。您还可以使用模块配置覆盖模块中的模型、控制器和其他内容。
说实话,我没看过那么多,但说到可扩展性:Magento 很难被击败。要将其用作其他系统的基础,需要在其他方面进行改进,例如性能、可扩展性、错误、复杂性和兼容性。
It might be a little big, but Magento is based on the Zend Framework and is very modular. The Zend classes in there are slowly being replaced by Magento-specific ones, but they still hold on to a lot of Zend Framework stuff like controllers, helpers, models.
They offer configuration for each module to hook into the router system, the admin, the templates (you may not even have to edit the template file). You can also override models, controllers, and other from the modules using the module config.
To be honest, I haven't looked that much, but when it comes to extendability: Magento is tough to beat. To use it as a base for some other system, there'd need to be improvements in other areas like Performance, Scalability, Bugs, Complexity, and Compatibility.
一个想法是访问优秀书籍的网站“
One idea is to go to the web site of the excellent book "Zend Framework 1.8 Application Development" and download the source code of the book(which is freely available). The application completed in chapter 12 is modular and features many of the capabilities of the framework as well many great development practices so I could only assume that getting acquainted with such an app will be beneficial for you.
Rob Allen 的 Zend Framework in Action 怎么样?这是一本很棒的书,罗布的风格非常随和,并以非常直接的方式解释了众多主题。
或者,克隆我的 Zend Framework 开发项目< /a> 来自 github。我编写它的目的是专门涵盖 Zend Framework 中可用的所有各种概念;它使用模块。
祝一切顺利,
马特
What about Zend Framework in Action by Rob Allen? It's a great book and Rob has a really easy going style and explains the multitude of topics in a very straight forward manner.
Alternatively, clone a copy of my Zend Framework development project from github. I am writing it, specifically to cover all of the various concepts that are available in Zend Framework; it's using modules.
All the best,
Matt