A Double-Model Approach to Achieve Effective Model-View Separation in Template Based Web Applications

  • Francisco J. García
  • Raúl Izquierdo Castanedo
  • Aquilino A. Juan Fuente
Conference paper

DOI: 10.1007/978-3-540-73597-7_37

Part of the Lecture Notes in Computer Science book series (LNCS, volume 4607)
Cite this paper as:
García F.J., Izquierdo Castanedo R., Juan Fuente A.A. (2007) A Double-Model Approach to Achieve Effective Model-View Separation in Template Based Web Applications. In: Baresi L., Fraternali P., Houben GJ. (eds) Web Engineering. ICWE 2007. Lecture Notes in Computer Science, vol 4607. Springer, Berlin, Heidelberg

Abstract

Several works [20,22] have tried to enforce strict isolation between the model and the view in template based web applications by restricting the computing possibilities of the used templates. From the point of view of graphic designers this is a limitation that may make their work difficult. Besides, in this paper we state that this claimed strict isolation is impossible to achieve in practice for HTML template systems. We propose another approach to study and to attain an effective separation between model and view that does not necessarily restrict the expressive power of the template: the double-model approach. Finally we present an implementation of this approach in a renewed template system called JST2.

Keywords

template systems Web applications software architectures MVC 

Copyright information

© Springer-Verlag Berlin Heidelberg 2007

Authors and Affiliations

  • Francisco J. García
    • 1
  • Raúl Izquierdo Castanedo
    • 2
  • Aquilino A. Juan Fuente
    • 2
  1. 1.Departamento de Matemáticas y Computación (Universidad de La Rioja), C/ Luis de Ulloa s/n, 26004, Logroño (La Rioja)Spain
  2. 2.OOTLab: Laboratory of Object Oriented Technology (Universidad de Oviedo), C/ Calvo Sotelo s/n, 33005, Oviedo (Asturias)Spain

Personalised recommendations