[fw-general] Re: zf2 Modules - Application is comparable to the old default ?

2012-10-01 Thread Marco Pivetta
Hi there!
Please don't think of modules in ZF2 as modules in ZF1.
There is no 1:1 mapping between paths and modules in ZF2. ZF2 modules are
plug-in functionalities which can be enabled or disabled.

I personally use the Application Skeleton as a default module which I
override. It is not necessary, but the configs it provides should be
defined in your modules if you don't use it.

Marco Pivetta

http://twitter.com/Ocramius

http://marco-pivetta.com



On 30 September 2012 21:30, whisher [via Zend Framework Community] 
ml-node+s634137n4657237...@n4.nabble.com wrote:

 Hi all,
 I'm just strating take the first steps with zf2 and modules
 so I'm wondering Is it required a module Application like in the
 getting started tutorial ?
 I set up my first project from scratch and I got
  Uncaught exception 'Zend\View\Exception\RuntimeException' with message
 'Zend\View\Renderer\PhpRenderer::render: Unable to render template 404

 Bye

 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://zend-framework-community.634137.n4.nabble.com/zf2-Modules-Application-is-comparable-to-the-old-default-tp4657237.html
  To start a new topic under Zend Framework, email
 ml-node+s634137n634138...@n4.nabble.com
 To unsubscribe from Zend Framework Community, click 
 herehttp://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=634137code=b2NyYW1pdXNAZ21haWwuY29tfDYzNDEzN3wxNzE0OTI1MTk4
 .
 NAMLhttp://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml





--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/zf2-Modules-Application-is-comparable-to-the-old-default-tp4657237p4657250.html
Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] Re: zf2 Modules - Application is comparable to the old default ?

2012-10-01 Thread luk
whisher wrote
 Hi all,
 I'm just taking my first steps with zf2 and modules
 so I'm wondering Is it required a module Application like in the
 getting started tutorial ?
 I set up my first project from scratch and I got
  Uncaught exception 'Zend\View\Exception\RuntimeException' with message
 'Zend\View\Renderer\PhpRenderer::render: Unable to render template 404
 
 Bye

You can also start from pulling ZendSkeletonModule and renaming it to your
required name.
https://github.com/zendframework/ZendSkeletonModule
https://github.com/zendframework/ZendSkeletonModule  

Personally I recommend to use ZendSkeletonApplication. It gives you better
overview from the start.
https://github.com/zendframework/ZendSkeletonApplication
https://github.com/zendframework/ZendSkeletonApplication  



-
Cheers,
--
Luke Mierzwa
--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/zf2-Modules-Application-is-comparable-to-the-old-default-tp4657237p4657253.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com




[fw-general] Re: zf2 Modules - Application is comparable to the old default ?

2012-10-01 Thread whisher
Thanks a lot buddies for the feedback.
So you have to set a module at least 
with all the stuff there is in Application
don't you ?
The project should know how to manage
i118n (language folder)
error (404)
layout



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/zf2-Modules-Application-is-comparable-to-the-old-default-tp4657237p4657258.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com