designs2 / dc-general
Universal data container for Contao
Installs: 58
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 21
Type:contao-module
Requires
- php: >=5.3
- contao-community-alliance/composer-plugin: ~2.0
- contao-community-alliance/event-dispatcher: ~1.3
- contao-community-alliance/events-contao-bindings: >=2.0,<4-dev
- contao-community-alliance/translator: ~2.0
- contao/core: >=3.2,<3.6
- symfony/expression-language: ~2.4
Requires (Dev)
- contao-community-alliance/contao-twig: ~1.12
- phpcq/all-tasks: ~1.0
Conflicts
- contao/core: 3.4.0
Replaces
- metamodels/dc_general: 2.0.0-beta28
- dev-develop / 2.0.x-dev
- 2.0.0-beta28
- 2.0.0-beta27
- 2.0.0-beta26
- 2.0.0-beta25
- 2.0.0-beta24
- 2.0.0-beta23
- 2.0.0-beta22
- 2.0.0-beta21
- 2.0.0-beta20
- 2.0.0-beta19
- 2.0.0-beta18
- 2.0.0-beta17
- 2.0.0-beta16
- 2.0.0-beta15
- 2.0.0-beta14
- 2.0.0-beta13
- 2.0.0-beta12
- 2.0.0-beta11
- 2.0.0-alpha10
- 2.0.0-alpha9
- 2.0.0-alpha8
- 2.0.0-alpha7
- 2.0.0-alpha6
- 2.0.0-alpha5
- 2.0.0-alpha4
- 2.0.0-alpha3
- 2.0.0-alpha2
- 2.0.0-alpha1
- dev-master
- dev-hotfix-modal
This package is not auto-updated.
Last update: 2024-12-11 11:55:24 UTC
README
Universal data container for Contao.
The present version here is about to become version 2.0.0 and has since undergone major refactoring, splitting up huge code bloats and introducing even more abstraction and therefore may be considered a total rewrite.
We hope that ultimatively this driver will become the de facto standard driver for Contao extensions in the future, once proven to be stable enough.
How to use
Simply declare an DCA as usual but put "General" instead of "Table" for the 'config/dataContainer' part. This will make DC_General to be used.
There are some notable changes in compatibility considering DC_Table:
- DC_General does NOT support magic properties but provides setter and getter for almost anything you might desire.
- There is NO activeRecord available as DC_General uses it's own kind of data Models internally.
- The system is totally event driven and relevant information (like the model in scope) is attached to the events.