Commit
commit 4338bc7124e13db09a36212553359416efde3e8b Author: Jan DankertDate: Thu Feb 20 23:51:34 2020 +0100 Refactoring of the template compiler: The Templates are at first converted into a component tree and then into a element tree which is then rendered. modules/template-engine/Element.class.php | 57 ++++----- modules/template-engine/EmptyElement.class.php | 23 ++++ modules/template-engine/HtmlElement.class.php | 18 ++- modules/template-engine/PHPBlockElement.class.php | 14 ++- modules/template-engine/TemplateCompiler.php | 3 + .../components/html/Component.class.php | 51 ++++---- .../components/html/NativeHtmlComponent.class.php | 21 ++++ .../components/html/form/Form.class.php | 2 +- .../components/html/input/Input.class.php | 7 +- .../components/html/table/Table.class.php | 10 +- .../engine/TemplateEngine.class.php | 129 ++++++++++----------- modules/template-engine/require.php | 1 + 12 files changed, 200 insertions(+), 136 deletions(-)