Heya!

No, they are related and interconnected concepts. I personally wouldn't
split it: what you can do is taking something like zfcuser and just coding
the management logic into this new "UserGroup" module that contains only
the "Group" table definitions.

Don't think as a module as of a `container` of pages - it can do much much
more!

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


On 18 April 2013 09:18, omaryesith [via Zend Framework Community] <
[email protected]> wrote:

> I am designing an application where one module involves more than one
> table, to make it easier, I will put the classic example: Users and User
> Groups.
>
> My question is: is necessary to create a separate module for each table in
> our database? That is, in the case of my example: my application should
> have two modules, one for users and one for groups of users?
>
> Or I could create a single module and having separate structures with the
> controller, model and view for each table?
>
> It is likely to be a somewhat stupid question, but thinking about the
> structure of the application, I think it's completely valid.
>
> I appreciate if someone can clarify this doubt ... I'm new to zf2 (if not
> obvious to my question heh).
>
> Thank you very much!
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://zend-framework-community.634137.n4.nabble.com/What-is-the-correct-structure-for-a-module-that-involves-more-than-one-table-tp4659763.html
>  To start a new topic under Zend Framework, email
> [email protected]
> To unsubscribe from Zend Framework Community, click 
> here<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634137&code=b2NyYW1pdXNAZ21haWwuY29tfDYzNDEzN3wxNzE0OTI1MTk4>
> .
> NAML<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=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/What-is-the-correct-structure-for-a-module-that-involves-more-than-one-table-tp4659763p4659764.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to