contao-community-alliance / dc-general
Universal data container for Contao
Installs: 72 709
Dependents: 89
Suggesters: 0
Security: 0
Stars: 16
Watchers: 13
Forks: 21
Open Issues: 109
Type:contao-bundle
Requires
- php: ^8.1
- ext-json: *
- ext-pdo: *
- contao-community-alliance/events-contao-bindings: ^4.13
- contao-community-alliance/translator: ^2.4.2
- contao-community-alliance/url-builder: ^1.3
- contao/core-bundle: ^4.13
- contao/image: ^1.1
- doctrine/cache: ^1.13 || ^2.1
- doctrine/dbal: ^3.5
- knplabs/knp-menu: ^3.1
- psr/event-dispatcher: ^1.0
- symfony/cache: ^5.4
- symfony/cache-contracts: ^2.5.2
- symfony/config: ^5.4
- symfony/dependency-injection: ^5.4
- symfony/event-dispatcher: ^5.4
- symfony/event-dispatcher-contracts: ^2.0 || ^3.0
- symfony/expression-language: ^5.4
- symfony/http-foundation: ^5.4
- symfony/http-kernel: ^5.4
- symfony/polyfill-mbstring: ^1.0
- symfony/routing: ^5.4
- symfony/security-core: ^5.4
- symfony/security-csrf: ^5.4
- symfony/translation-contracts: ^2.5
- twig/twig: ^3.0
Requires (Dev)
- contao/manager-plugin: ^2.8
- friendsofsymfony/http-cache: ^2.9
- menatwork/contao-multicolumnwizard-bundle: ^3.4
- php-http/guzzle6-adapter: ^2.0
- phpcq/runner-bootstrap: ^1.0@dev
Conflicts
- dev-release/2.4.0 / 2.4.x-dev
- dev-master / 2.3.x-dev
- 2.3.25
- 2.3.24
- 2.3.23
- 2.3.22
- 2.3.21
- 2.3.20
- 2.3.19
- 2.3.18
- 2.3.17
- 2.3.16
- 2.3.15
- 2.3.14
- 2.3.13
- 2.3.12
- 2.3.11
- 2.3.10
- 2.3.9
- 2.3.8
- 2.3.7
- 2.3.6
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- dev-support/2.0.x / 2.0.x-dev
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-beta49
- 2.0.0-beta48
- 2.0.0-beta47
- 2.0.0-beta46
- 2.0.0-beta45
- 2.0.0-beta44
- 2.0.0-beta43
- 2.0.0-beta42
- 2.0.0-beta41
- 2.0.0-beta40
- 2.0.0-beta39
- 2.0.0-beta38
- 2.0.0-beta37
- 2.0.0-beta36
- 2.0.0-beta35
- 2.0.0-beta34
- 2.0.0-beta33
- 2.0.0-beta32
- 2.0.0-beta31
- 2.0.0-beta30
- 2.0.0-beta29
- 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-hotfix/fix_submit_button_panlel_height
- dev-hotfix/fix_unselect_image
- dev-hotfix/fix_deep_copy_in_tree
- dev-hotfix/2.3.25
- dev-hotfix/fix_phpcq
- dev-hotfix/fix_treepicker_for_languages
- dev-hotfix/fix_language_filter
- dev-hotfix/fix_save_limit_all_in_session
- dev-hotfix/2.3.24
- dev-hotfix/add_needed_properties_collector
- dev-hotfix/picker
- dev-support/2.1.x
- dev-hotfix/core_table_permission
This package is auto-updated.
Last update: 2024-12-22 16:41:03 UTC
README
DC_General
The DC_General is a universal data container for Contao and is an alternative for the DC_Table of the Contao framework.
With the DC_General we facilitate programming with excellent functions and influence possibilities.
Different to Contao DC_Table
With the use of the DC_General there are many advantages, e.g.
- Object-oriented data container definitions
- Event driven
- abstraction of the data source
- modular design
- verification of data - no invalid records
- improved configuration of dependencies between data containers
- more control through events
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.
Help for the start
You can start with our new documentation (currently in german) or older one (in english).
We have an overview of DCA mapping and Callbacks.
In our examples you can see the difference to DC_Table.