Robotlegs MVCS Folder Structure

While not anything approaching a rigid requirement, the following folder structure works well for Robotlegs MVCS applications:

[com.domain.projects.projectname]

  • [controller]

    • MyCustomCommand.as
  • [model]

    • [events]
      • MyCustomModelEvent.as
    • MyCustomModel.as
  • [service]

    • MyCustomService.as
  • [view]

    • [events]
      • MyCustomViewEvent.as
    • [components]
      • MyCustomComponentUseInAUISomewhere.as
    • [ui]
      • MyCustomComponentUI.as
    • MyCustomComponentUIMediator.as
  • MyCustomContext.as