Cantitate/Preț
Produs
Code Generation with Templates de Jeroen Arnoldus
67030 lei 83787 lei -20%
  • Economic13-27 ianuarie 27 67030 lei
Adaugă în listă1005 Puncte Express
  • Transport gratuit pentru acest produs
  • Plată online sau ramburs
  • Retur gratuit în 14 zile

Despre carte

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

Din seria Atlantis Studies in Computing

  • Instruction Sequences for Computer Science
    54038 lei -39% 89039 lei
  • Logics in Computer Science
    34312 lei -20% 42890 lei
  • Compressed Data Structures for Strings
    33582 lei -20% 41977 lei
  • Constraints Meet Concurrency
    34290 lei -20% 42863 lei
  • Analysis and Enumeration
    55312 lei -20% 69141 lei
  • Type Systems for Distributed Programs: Components and Sessions
    66465 lei -20% 83080 lei

Detalii

Disponibilitate
Disponibilă de la furnizor, livrare: Economic 13-27 ianuarie 27.
ISBN-13
9789491216558
ISBN-10
9491216554
Editura
ATLANTIS PRESS
Colecția
Atlantis Studies in Computing
Seria
Atlantis Studies in Computing
Ediția
2012
Pagini
216
Ilustrații
IX, 204 p. 100 illus., 2 illus. in color.
Dimensiuni
160 x 241 x 17 mm
Greutate
0.44 kg
Locul publicării
Paris, Netherlands

Cuprins

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

Caracteristici

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 re-use by using a two-stage architecture based on templates instead of a single stage implementation Syntax-safe templates prevent cross-site scripting by means of compact grammar definitions Includes supplementary material: sn.pub/extras

Public țintă

Research