000 03351nam a22004935i 4500
001 978-94-91216-56-5
003 DE-He213
005 20140220083350.0
007 cr nn 008mamaa
008 120521s2012 fr | s |||| 0|eng d
020 _a9789491216565
_9978-94-91216-56-5
024 7 _a10.2991/978-94-91216-56-5
_2doi
050 4 _aQA76.758
072 7 _aUMZ
_2bicssc
072 7 _aCOM051230
_2bisacsh
082 0 4 _a005.1
_223
100 1 _aArnoldus, Jeroen.
_eauthor.
245 1 0 _aCode Generation with Templates
_h[electronic resource] /
_cby Jeroen Arnoldus, Mark van den Brand, A. Serebrenik, J.J. Brunekreef.
264 1 _aParis :
_bAtlantis Press :
_bImprint: Atlantis Press,
_c2012.
300 _aIX, 204 p. 100 illus., 2 illus. in color.
_bonline resource.
336 _atext
_btxt
_2rdacontent
337 _acomputer
_bc
_2rdamedia
338 _aonline resource
_bcr
_2rdacarrier
347 _atext file
_bPDF
_2rda
490 1 _aAtlantis Studies in Computing,
_x2212-8557 ;
_v1
505 0 _aIntroduction -- Preliminaries -- The Unparser -- The Metalanguage -- Syntax-Safe Templates -- Repleo: Syntax-Safe Template Evaluation -- Case Studies -- Conclusions.
520 _aTemplates 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
650 0 _aComputer science.
650 0 _aSoftware engineering.
650 1 4 _aComputer Science.
650 2 4 _aSoftware Engineering.
650 2 4 _aProgramming Techniques.
650 2 4 _aComputer Science, general.
700 1 _avan den Brand, Mark.
_eauthor.
700 1 _aSerebrenik, A.
_eauthor.
700 1 _aBrunekreef, J.J.
_eauthor.
710 2 _aSpringerLink (Online service)
773 0 _tSpringer eBooks
776 0 8 _iPrinted edition:
_z9789491216558
830 0 _aAtlantis Studies in Computing,
_x2212-8557 ;
_v1
856 4 0 _uhttp://dx.doi.org/10.2991/978-94-91216-56-5
912 _aZDB-2-SMA
999 _c105004
_d105004