<電子ブック>
Code Generation with Templates / by Jeroen Arnoldus, Mark van den Brand, A. Serebrenik, J.J. Brunekreef
(Atlantis Studies in Computing. ISSN:22128565 ; 1)
版 | 1st ed. 2012. |
---|---|
出版者 | (Paris : Atlantis Press : Imprint: Atlantis Press) |
出版年 | 2012 |
本文言語 | 英語 |
大きさ | IX, 204 p. 100 illus., 2 illus. in color : online resource |
著者標目 | *Arnoldus, Jeroen author van den Brand, Mark author Serebrenik, A author Brunekreef, J.J author SpringerLink (Online service) |
件 名 | LCSH:Software engineering LCSH:Computer programming LCSH:Computer science FREE:Software Engineering FREE:Programming Techniques FREE:Computer Science |
一般注記 | Introduction -- Preliminaries -- The Unparser -- The Metalanguage -- Syntax-Safe Templates -- Repleo: Syntax-Safe Template Evaluation -- Case Studies -- Conclusions 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 HTTP:URL=https://doi.org/10.2991/978-94-91216-56-5 |
目次/あらすじ
所蔵情報を非表示
電子ブック | 配架場所 | 資料種別 | 巻 次 | 請求記号 | 状 態 | 予約 | コメント | ISBN | 刷 年 | 利用注記 | 指定図書 | 登録番号 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
電子ブック | オンライン | 電子ブック |
|
Springer eBooks | 9789491216565 |
|
電子リソース |
|
EB00235402 |
類似資料
この資料の利用統計
このページへのアクセス回数:5回
※2017年9月4日以降