BEdita folder structure

A brief description of the most important files and folders (for developers)

A brief description of the most important files and folders (for developers)

Inside bedita folder you will see:

addons
bedita-app
bedita-doc
cake
frontends
modules
vendors

addons

BEdita addons, you can put here new components, helpers, models to extend or customize BEdita

bedita-app

This folder contains the backend/core application: a typical CakePHP application with controllers, components, models, views, etc...

bedita-app/config

Here you can find configuration files like database configuration (database.php) and BEdita instance configuration (bedita.ini.php, bedita.sys.php and bedita.cfg.php).

  • database.php: put database connection parameters (host, user, password, database...) in $default array;
  • bedita.ini.php: internal configuration parameters - DO NO EDIT! It may be overwritten on BEdita software update;
  • bedita.cfg.php: application and system/server configuration; here you can override some configuration parameters of bedita.ini.php like: languages used, default UI/content language for your application, semantic relations between BEdita objects (through objRelationType) and system settings like: beditaUrl (BEdita backend instance URL), mediaRoot (media files root folder), mediaUrl (mediaRoot URL), smtpOptions (smtp server configuration), etc...

bedita-doc

API doc folder, generate it with doxygen.

cake

the CakePHP framework

frontends

frontend applications; here you will find some examples: a simple site, a simple blog/wordpress like frontend, a dummy one, and a debug application

modules

BEdita plugin modules, to extend BEdita functionality

vendors

Third party libraries like Smarty or phpThumb.