Two questions about folder structure and events

oscar's Avatar

oscar

27 Mar, 2010 11:59 PM via web

Hi,

This is folder structure I'm using in my projects:

commands
mediators
views
services
models
vo
commands/events
mediators/events
views/events
services/events
model/events

and I usually put those folders inside:

com/domains/projectname/

Two questions.
1) Any suggestions to the folder structure?
2) I use to store the events in the folders based on which actor generates them. For example, when an a get a response from the back end and I nee to dispatch an event with the result, I create an event in services/events/. When the event is generated by a change in the view or user interaction, I store that event in views/events. What is the standard conversion for this?

Tks.

  1. Support Staff 2 Posted by Joel Hooks on 28 Mar, 2010 05:28 AM

    Joel Hooks's Avatar

Comments are currently closed for this discussion. You can start a new one.