Here's a screenshot of my IDE showing my app tree-structure, with some arrows
and actual question typed on it. http://screencast.com/t/1iJanCwXxnk
For those not curious enough to open the above link, here's summary:
I'm coding custom module Messenger, with currently 2 controllers present:
- Home (welcome message)
- Inbox (self-explanatory)
The table name is called "messenger", my model entity is MessengerEntity
I want to have separate Service files but I'm unsure how should I name them.
I went with this:
/src
/Messenger
/Services
/MessengerControllerFactory.php
/MessengerServiceFactory.php
/MessengerTableFactory.php
Could it be said that the first part of the name (in my case: "Messenger")
is actually related to the name of the db table, not to the module or
controller names?
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/ZF2-Service-Manager-best-practice-tp4657008p4657060.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]