Code Generation with Templates

Code Generation with Templates
Author :
Publisher : Springer Science & Business Media
Total Pages : 209
Release :
ISBN-10 : 9789491216565
ISBN-13 : 9491216562
Rating : 4/5 (65 Downloads)

Book Synopsis Code Generation with Templates by : Jeroen Arnoldus

Download or read book Code Generation with Templates written by Jeroen Arnoldus and published by Springer Science & Business Media. This book was released on 2012-05-22 with total page 209 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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


Code Generation with Templates Related Books

Code Generation with Templates
Language: en
Pages: 209
Authors: Jeroen Arnoldus
Categories: Computers
Type: BOOK - Published: 2012-05-22 - Publisher: Springer Science & Business Media

DOWNLOAD EBOOK

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
Code Generation in Microsoft .NET
Language: en
Pages: 746
Authors: Kathleen Dollard
Categories: Computers
Type: BOOK - Published: 2008-01-01 - Publisher: Apress

DOWNLOAD EBOOK

* Coverage of all three significant .NET code generation mechanisms: Manual code generation, XSL/XML and CodeDom. * Includes a database metadata extraction tool
Perl Template Toolkit
Language: en
Pages: 593
Authors: Darren Chamberlain
Categories: Computers
Type: BOOK - Published: 2003-12-23 - Publisher: "O'Reilly Media, Inc."

DOWNLOAD EBOOK

Among the many different approaches to "templating" with Perl--such as Embperl, Mason, HTML::Template, and hundreds of other lesser known systems--the Template
Practical Code Generation in .NET
Language: en
Pages: 643
Authors: Peter Vogel
Categories: Computers
Type: BOOK - Published: 2010-04-16 - Publisher: Addison-Wesley Professional

DOWNLOAD EBOOK

Enlist Visual Studio’s Built-in Code Generation Tools to Write Better Software Faster Automatic code generation can dramatically increase your productivity, i
Code Generation in Action
Language: en
Pages: 360
Authors: Jack Herrington
Categories: Computers
Type: BOOK - Published: 2003 - Publisher: Manning Publications

DOWNLOAD EBOOK

Covering technique and implementation for building code for complex applications frameworks, this book demonstrates how to build high-quality output that is con