Zum Hauptinhalt springen
Nicht aus der Schweiz? Besuchen Sie lehmanns.de

Code Generation with Templates

Buch | Hardcover
204 Seiten
2012 | 2012
Atlantis Press (Zeger Karssen) (Verlag)
978-94-91216-55-8 (ISBN)

Lese- und Medienproben

Code Generation with Templates - Jeroen Arnoldus, Mark van den Brand, A. Serebrenik, J.J. Brunekreef
CHF 149,75 inkl. MwSt
  • Versand in 10-20 Tagen
  • Versandkostenfrei
  • Auch auf Rechnung
  • Artikel merken
Templates are a tool for programmers, and implementations of template engines are most times based on practical experience rather than based on a theoretical background.

This book reveals the mathematical background of templates and shows interesting findings for improving the practical use of templates.
Templates are used to generate all kinds of text, including computer code. The last decade, the use of templates gained a lot of popularity due to the increase of dynamic web applications. Templates are a tool for programmers, and implementations of template engines are most times based on practical experience rather than based on a theoretical background.

 

This book reveals the mathematical background of templates and shows interesting findings for improving the practical use of templates.

First, a framework to determine the necessary computational power for the template metalanguage is presented. The template metalanguage does not need to be Turing-complete to be useful. A non-Turing-complete metalanguage enforces separation of concerns between the view and model.

Second, syntactical correctness of all languages of the templates and generated code is ensured. This includes the syntactical correctness of the template metalanguage and the output language. Third, case studies show that the achieved goals are applicable in practice. It is even shown that syntactical correctness helps to prevent cross-site scripting attacks in web applications.

 

The target audience of this book is twofold. The first group exists of researcher interested in the mathematical background of templates. The second group exists of users of templates. This includes designers of template engines on one side and programmers and web designers using templates on the other side

Introduction.- Preliminaries.- The Unparser.- The Metalanguage.- Syntax-Safe Templates.- Repleo: Syntax-Safe Template Evaluation.- Case Studies.- Conclusions.

Reihe/Serie Atlantis Studies in Computing ; 1
Zusatzinfo 2 Illustrations, color; 98 Illustrations, black and white; IX, 204 p. 100 illus., 2 illus. in color.
Sprache englisch
Maße 155 x 235 mm
Themenwelt Mathematik / Informatik Informatik Software Entwicklung
Mathematik / Informatik Informatik Theorie / Studium
ISBN-10 94-91216-55-4 / 9491216554
ISBN-13 978-94-91216-55-8 / 9789491216558
Zustand Neuware
Informationen gemäß Produktsicherheitsverordnung (GPSR)
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Grundlagen, Prozesse, Methoden und Werkzeuge

von Jörg Schäuffele; Thomas Zurawka

Buch | Hardcover (2024)
Springer Vieweg (Verlag)
CHF 153,95
Praxishandbuch für Java- und Webservice-Entwickler

von Kai Spichale

Buch | Softcover (2025)
dpunkt (Verlag)
CHF 62,85