The template files should be so that the page loaded is only the presentation of the page and no real content on it. The content should be loaded through XML files, so that locale versions can be made and loaded. The way I’m going to solve this problem for this version is to create the base case for the Page class. I would also add an function for loading custom Tag Classes for custom changes. The Page class will still handle manual replacing of tags for those who can work or don’t want to work with classes.
Skin Predefined Tags
- module
There is an attribute for supplying the location of the file and the name. It would allow the designer move elements of the file elsewhere and then load them in afterwards.
- language
The language tag will load the default XML file for the language. If the user changes the language, then that file, if it exists, will load.
- user
The user tag will be for displaying the users stats in the template, like username.
Security
The template tags will be available only in the template pages and not in any user submitted variables. If anyone tries to use user submited tags, they should not and will not work.
Possibly Related Posts:
- Mecha Asylum Design Document
- Data Store is Finished, but Still Imperfect
- If You Look at it This Way
- Configuration SPL Usage
- New Configuration Factory Possible Features
Comments are closed.