DHTMLX / scheduler-joomla

Joomla plugin for the dhtmlxScheduler
GNU General Public License v3.0
5 stars 7 forks source link

dhtmlxScheduler Joomla component

Component structure

All scheduler logic is located in site/codebase.
It includes scheduler codebase, scheduler configurator, code generator. There are 3 main points in code:

Database structure

Codebase details

Core provides universal control panel, API for generating scheduler and events data-feed.
Logic of parsing settings may be found in codebase/dhtmlxSchedulerConfigurator.php.

For saving/parsing configuration is used the follow logic:
when user saves configuration it is saved into database.
At the same time scheduler_xml_version (have a look database structure) is increased.
When user opens scheduler then configurators compare scheduler_xml_version and scheduler_php_version.
If scheduler_xml_version if bigger than scheduler_php_version then it parses xml configuration and serialize it into php (scheduler_php in database).
At the same time configurator updates scheduler_php_version to actual.
If scheduler_xml_version equals scheduler_php_version than xml is already parsed and serialized php configuration may be used.

Read more about dhtmlxScheduler Joomla! component in documentation.