wiki:FAQWhereShouldFrameworkExtensionsLive

Where should my listeners, filters, plugins and properties live in my directory structure?

Listeners, event-filters, plugin and properties are developer designed extensions of the Mach-II framework. They provide functionality and actions in the controller layer which means they do not belong in the model layer of the MVC architecture. The model directory of your application should be framework agnostic to allow portability of your model without coupling it to a specific framework.

Example Directory Structure

|-+ YourApplicationName
  |- config
  |- filters
  |- listeners
  |- model
  |- modules
  |  |- ModuleName
  |  |  |- config
  |- plugins
  |- properties
  |- views

Back to FAQs