duanlu4371 2013-01-24 13:46
浏览 37

创建Zend可扩展应用程序

I'm looking for a way to create zend-based application (web store) which I would extend by plugins in the future. For now I have base functionality (browsing products, make orders etc).

What I need is make possibility to attach plugins to this app. By "plugin" I mean some static files structure in sepearated directory. One of plugins, which I want to write in future is allegro(polish eBay like)-integration tool. it would operate on existing models (user, product etc). It needs to have their own controller which would be executed in backend; Some other should be like public-accessible simple gallery for front-end. Some of other plugins should be able to attach content on previously definied spots in view.

I have no idea how can I reach this. Every of these plugins should have their own directory and It's very important;

Maybe there is some free extensible zend-based CMS? what would be yours choice? Please for ideas and thanks for help

  • 写回答

2条回答 默认 最新

  • dongxi3859 2013-01-24 13:52
    关注

    You are looking for zend module. Each module will be having independent functionality.

    Module structure is below

    zf2-tutorial/
        /module
            /Album
                /config
                /src
                    /Album
                        /Controller
                        /Form
                        /Model
                /view
                    /album
                        /album
    

    Likewise you can have modules like Oerder, Payment, User etc etc.

    And you can create some interface to communicate through modules.

    Below link will help you

    http://framework.zend.com/manual/2.0/en/user-guide/modules.html

    http://framework.zend.com/manual/2.0/en/modules/zend.module-manager.intro.html

    评论

报告相同问题?

悬赏问题

  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 stm32开发clion时遇到的编译问题