|
Products
Snippets & Tips
source-code.biz
|
MiniTemplatorMiniTemplator is a compact template engine for HTML files. Features
What is a Template Engine?
A template engine is a software module which is used to generate HTML pages (or other text files). The layout of a HTML page is defined within a template file, which can be designed by using a standard HTML editor like FrontPage. At run-time, the application program instructs the template engine to load the template, fill in variable values, repeat blocks and produce the final HTML page. Why use a Template Engine?The advantage of using a template engine, instead of embedding program code and HTML code, is:
Why use MiniTemplator?What is special about MiniTemplator, compared to other template engines?
MiniTemplator Template SyntaxA simple syntax is used to define variables and blocks within the template. This syntax is compatible with HTML editors like FrontPage, but it can also be used for non-HTML files. Variables:
Blocks: <!-- $BeginBlock BlockName --> Include a subtemplate: <!-- $Include RelativeFileName --> Java VersionDocumentationAPI documentation (javadoc) Example programs
DownloadMiniTemplator-java.zip (whole package, including API documentation and sample programs) Source Code RepositoryPHP VersionDocumentationAPI documentation (phpdoc) Example programs
DownloadMiniTemplator_php.zip (whole package, including API documentation and sample programs) Visual Basic (VB/VBA) VersionThe VB-Version of the MiniTemplator is in VB6 format, but the VB-Module can also be used within a Microsoft-Access application, i.e. to produce static HTML pages from database content. DocumentationExample programs
DownloadMiniTemplator_vbasic.zip (whole package, including API documentation and sample programs) Support, Bug Reports, Feature Requests, Old Versions |