书目名称 | Code Generation with Templates |
编辑 | Jeroen Arnoldus,Mark van den Brand,J.J. Brunekreef |
视频video | |
概述 | There is no fundamental literature on the topic of (web) templates The book shows the fundamental properties and languages of templates Two case-studies show improvement of separation of concerns and |
丛书名称 | Atlantis Studies in Computing |
图书封面 |  |
描述 | .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 i |
出版日期 | Book 2012 |
关键词 | Code Generation; Model driven engineering; Programming languages; Syntax safety; Templates |
版次 | 1 |
doi | https://doi.org/10.2991/978-94-91216-56-5 |
isbn_softcover | 978-94-6239-052-2 |
isbn_ebook | 978-94-91216-56-5Series ISSN 2212-8557 Series E-ISSN 2212-8565 |
issn_series | 2212-8557 |
copyright | ATLANTIS PRESS 2012 |