Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

Template engines #4

Open
tomjanssens opened this issue Jan 23, 2015 · 0 comments
Open

Template engines #4

tomjanssens opened this issue Jan 23, 2015 · 0 comments
Labels
Milestone

Comments

@tomjanssens
Copy link
Member

Write documentation and example for using the different template engines.

For now, I'll refer to http://developer.joomlatools.com/framework/template-system.html and think that what w should probably do is:

  • write a similar top level (call it a refactoring of this document) and then sub-section this work about the template engine.

Ideas to cover in the Engine section:

  • motivation for the engine (maybe in the introduction)
  • what does it do? its main requirements as an arch. "It defines a set of rules for the processing of a template's logic."
  • The Factory's function
    • what each template engine gets out of the box (KTemplateEngineAbstract)
  • compiling the template
    • parsing out all the template functions
    • loading all the filters that are responsible for the tags, and asset, document, module filters, etc.
  • defining/adding template functions, _initialize (custom example maybe)
  • list each engine and link to the class in github, describe the highlights of each.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants