ClearOS Documentation

×

Warning

301 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

User Tools

Site Tools


File System Layout

In earlier versions of ClearOS, the underlying API, web frontend and helper scripts were stored in different locations. That meant that each application would scatter files across the file system. With the release of version 6.0, the file system layout was improved and ClearOS Apps are now installed in one directory:

/usr/clearos/apps/app_name

Inside this directory are the following sub-directories:

DirectoryDescription
controllersThe “C” in MVC
deployInstall scripts, default configuration and other helper files
htdocsJavascript, images and other web assets
infoMetadata
languageTranslations
librariesThe “M” in MVC (though in ClearOS it's called a library, not a model)
packagingPackage information
testsUnit tests
viewsThe “V” in MVC

CodeIgniter Differences

For those of you coming from the CodeIgniter world, the file system layout should be familiar. However, we have integrated the Modular Extensions from wiredesignz so that each application is contained in its own directory instead of throwing everything inside the “applications” directory. You can find the gory technical details on the Modular Extensions web site.

content/en_us/dev_framework_reference_guide_file_system_layout.txt · Last modified: 2015/02/05 19:46 (external edit)

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3Adev_framework_reference_guide_file_system_layout&1563573454