-
- Downloads
Split code generation into components.
Parsing the specification has become its own class. Templating has been abstracted, now beautifying is built into all php generation. We lose the singleton efficiency, it gained us a few seconds at most. Generation tasks are split into ITasks, and are fed the main CG object as if it were a configuration object. Eventually we will want to make the configuration a first-class object so that it is customizable. ---------------------------------------- * CRM-13871: Provide an ORM layer: Doctrine http://issues.civicrm.org/jira/browse/CRM-13871
Showing
- .gitignore 1 addition, 1 deletion.gitignore
- CRM/Core/CodeGen/BaseTask.php 15 additions, 0 deletionsCRM/Core/CodeGen/BaseTask.php
- CRM/Core/CodeGen/Config.php 65 additions, 0 deletionsCRM/Core/CodeGen/Config.php
- CRM/Core/CodeGen/DAO.php 29 additions, 0 deletionsCRM/Core/CodeGen/DAO.php
- CRM/Core/CodeGen/I18n.php 56 additions, 0 deletionsCRM/Core/CodeGen/I18n.php
- CRM/Core/CodeGen/ITask.php 18 additions, 0 deletionsCRM/Core/CodeGen/ITask.php
- CRM/Core/CodeGen/Main.php 26 additions, 874 deletionsCRM/Core/CodeGen/Main.php
- CRM/Core/CodeGen/Reflection.php 17 additions, 0 deletionsCRM/Core/CodeGen/Reflection.php
- CRM/Core/CodeGen/Schema.php 121 additions, 0 deletionsCRM/Core/CodeGen/Schema.php
- CRM/Core/CodeGen/Specification.php 590 additions, 0 deletionsCRM/Core/CodeGen/Specification.php
- CRM/Core/CodeGen/Test.php 27 additions, 0 deletionsCRM/Core/CodeGen/Test.php
- CRM/Core/CodeGen/Util/Template.php 92 additions, 0 deletionsCRM/Core/CodeGen/Util/Template.php
- CRM/Core/CodeGen/Util/Xml.php 16 additions, 0 deletionsCRM/Core/CodeGen/Util/Xml.php
- tests/phpunit/CiviTest/.gitignore 1 addition, 0 deletionstests/phpunit/CiviTest/.gitignore
- xml/templates/civicrm_version_sql.tpl 1 addition, 0 deletionsxml/templates/civicrm_version_sql.tpl
Loading
Please register or sign in to comment