Difference between revisions of "File and Directory Structure"

From FusionPBX
Jump to: navigation, search
(Core Structure)
(Future Improvements)
Line 25: Line 25:
 
* includes/lib_switch.php
 
* includes/lib_switch.php
 
Elements in this code should be moved to their respective application folders.
 
Elements in this code should be moved to their respective application folders.
 +
  
 
* includes directory possibly renamed to resources.
 
* includes directory possibly renamed to resources.

Revision as of 07:04, 11 October 2012

Current proposed directory structure. Suggestions for improvements are welcome.

App Structure

Design goal for applications are self contained application that is designed to plug in a simple way. location fusionpx/app

  • root.php
  • app_config.php
  • app_defaults.php
  • app_languages.php
  • models
  • views
  • controllers
  • resources
    • classes
    • functions
    • images
    • xml
      • dialplan

Core Structure

Same as App Structure only the bare minimum applications belong in core such as menu, user managerment, groups, permissions, domains and default settings.

Future Improvements

  • includes/lib_switch.php

Elements in this code should be moved to their respective application folders.


  • includes directory possibly renamed to resources.