Talk:Template processor
From Wikipedia, the free encyclopedia
Contents |
[edit] TODO ;; preliminary edit todo items
- comparison of template engines (basic)
- comparison glyphs and sub-element glyphs
- comparison ... (detailed) (will require split)
dr.ef.tymac 00:26, 23 November 2006 (UTC)
[edit] citations for uses ;; template engines and template processors
The following describe some uses for stand-alone template engines and template processing:
The Template Toolkit is a fast, powerful and extensible template processing system. It is ideally suited to the production and maintenance of web content and other dynamic document systems. http://www.template-toolkit.org (accessed 2006-10-08, emphasis not in original)
What is FreeMarker? FreeMarker is a template engine; a generic tool to generate text output (anything from HTML to autogenerated source code) based on templates. It's (...) something that programmers can embed into their products (...) (...) A new FreeMarker Eclipse plug-in project was announced recently, with interesting features like code completion for macro names and bean property names. http://freemarker.sourceforge.net (accessed 2006-10-08, emphasis not in original)
Cheetah is (...) template engine and code generation tool, written in Python. It can be used standalone or combined (...) to generate C++ game code, Java, sql, form emails and even Python code. http://www.cheetahtemplate.org/ (accessed 2006-10-08, emphasis not in original)
Velocity is a Java-based template engine. It permits anyone to use a simple yet powerful template language to reference objects defined in Java code. (...) Velocity's capabilities reach well beyond the realm of the web; for example, it can be used to generate SQL, PostScript and XML ... from templates. ... either as a standalone utility for generating source code and reports, or as an integrated component of other systems. http://jakarta.apache.org/velocity/ (accessed 2006-11-22, emphasis not in original)
[edit] Template System/engine redirection problems
SEE on Talk:Template#Template_system.3F.3F_.28redirecting_here.29. -- User:Krauss 23 Nov 2006
- Hi Krauss, I looked at the link you posted and put a response. One thing to note is that this article is still undergoing edits and content additions, so things may not look exactly perfect just yet. "Under construction" still applies :) Thanks! dr.ef.tymac 09:15, 23 November 2006 (UTC)
[edit] Formal characterization, common referential sugestion
We have here the same questions: What can be, precisely, a Template and/or a Template preprocessor? What is and what is not?
I think there are very similar answers, and for a formal characterization we can modeling the template system (not web) as a dataflow.
... and use the link "See details Formal treatment supplement". (if need create and redirect "template system (formalism)" to "web template system (formalism)" article). -- Krauss 24 Nov 2006.
- Yes, formal (precise) definition could prove useful, although it probably could stand that a "template processor" is (in part) just a highly-specialized kind of lexer, and thus the same mathematical conventions of assumptions of lexical analysis apply here as well, just with slightly different terminology. A common theme in this area is that there are a lot of "overlapping" technologies that do the same or similar things, but with different names because they historically evolved in different contexts. As they say, there's nothing new under the Sun. dr.ef.tymac 16:28, 24 November 2006 (UTC)
[edit] template processor as generalization
Just for the sake of clarity, the article template processor generalization (aka superset concept, superclass, rubric) of other, more specialized instantiations of this concept. This is similar to the way that "web document" is a superset concept of "web page"; and automobile is a superset concept of Compact SUV. dr.ef.tymac 16:45, 24 November 2006 (UTC)