Rewrite of previous post, because the edit window is closed.
Thank you! That tag guide really helps out.
I hope I am not too far off when I tell people I work with that XF templates are not like any other templates.
I am sure this is wrong, so I am hoping for corrections, but this is my best shot at explaining XF templates.
For starters, it looks to me like
XF templates might not be templates. Web templates usually are files, not database records. Templates typically can be adaopted to many systems and system that work with templates typically can swap one set of templates for another.
XF templates are nothing like that. They are part of an unusual implementation of the VIEW component of the MVC model. XF templates are a significant part of that uniqueness.
To understand XF templates, it is necessary to see them in the context of the XF View component. The XF View component has these major features:
- XF Templates, which are records stored in a database, not files, containing html and a unique programming language (the XF tags). In most systems, this kind of data is stored in files instead of database records. I understand that XF is an MVC system, but I have not seen another MVC system where so much of the View part of MVC is stored in a database and edited through an interface unique to that system. You cannot edit XF templates with a normal programming setup, such as Aptana or Visual Studio. The interface between the View and the Model/Controllers is not typical, and XF templates are embeded within that.
- STYLES Other records in a database containing specifications for styles that are converted to css when pages are loaded, and combined with the html and xf tags. The specifications for styles include a color palette and style properties. The style properties are organized into property groups.
- Advanced graphical user interfaces for editing the "templates" and "styles" in #1 and #2. XF Templates can be edited only through the web-based XF interface.
- XF templates cannot be used in other systems and there is only one set of templates available for XF. This is in contrast to templates that can be applied to many systems and systems that can use a variety of templates.