Zend Framework 2 project example [closed]

2019-01-21 17:51发布

问题:

Can someone give me an Zend Framework 2 project example,
or any info how to use zend_tool for ZF2.

Thanks

回答1:

Zend Framework 2 is under heavy development right now so there are no real examples yet. You can follow the development of ZF2 on github.

The only ready components we have now are Autoloader and Plugin Loader. You could also use them in your current ZF applications.



回答2:

Best resources which I found so far is :
1. manual http://packages.zendframework.com/docs/latest/manual/en/index.html
2. Matthew Weier O'phinney 3 articles so far http://mwop.net/blog/tag/zf2
3. Rob Allen ZF2 book http://akrabat.com/wp-content/uploads/Getting-Started-with-Zend-Framework-2.pdf
4. Nice ZF2 Module base website example: https://github.com/EvanDotPro/MwopGuestbook
5. http://www.jasongrimes.org/2012/01/using-doctrine-2-in-zend-framework-2/ - nice tutorial all what you need to setup ZF2-D2

Finaly ZF2 wiki where you can find more resources and for me this is best page from which you can strat learning zf2 http://framework.zend.com/wiki/pages/viewpage.action?pageId=42303506



回答3:

For anyone stumbling across this questions as of September 2012; now that Zend have released the first stable version of Zend Framework you can use their skeleton application which takes a few minutes to set up, and takes you through all of the finer details about creating a project.

http://zf2.readthedocs.org/en/latest/user-guide/skeleton-application.html



回答4:

ZF2 is still a ways away. I don't think that the MVC milestone has been completed yet.