
Toward Web Templates Support in Nested Context Language
2020; Springer Science+Business Media; Linguagem: Inglês
10.1007/978-3-030-56574-9_2
ISSN1865-0937
AutoresBruno Xavier Leitão, Álan L. V. Guedes, Sérgio Colcher,
Tópico(s)Web Applications and Data Management
ResumoThe Nested Context Language (NCL) are standards for multimedia application development for Digital TV. Some studies have indicated that NCL language is highly verbose. This factor increases the possibility of coding errors introduced by application developers. One way to reduce them is development based on reuse repeated elements in the code. On multimedia field literature, is common to use templates to active such goal. Templates describe a family of logically structured documents. Its adoption ends up in a reduction in the number of lines of code typed and thus make the final document less error-prone. On the web, templates are commonly employed in the development of Hypertext Markup Language (HTML) pages. In this scenario, developers use specific templates engines that can even run on the client-side, such as Jinja2 and Mustache. This work proposes provide an approach to support web template engines in the NCL applications development. More than that, it allows templates to be processed on the client-side, i.e. Ginga. By running on Ginga, developers can create applications with adaptable template-based content.
Referência(s)