5.1 Advantages of the Presented
Approach for a Hotel Room
Management Software
Since the company in the area of the hotel
management software provides a framework that has
to be very flexible with respect of the graphical
representation of the different components, in order
for being able to easily integrate the framework into
an already existing webpage of a customer, the
presented approach was suited for this integration.
The presented approach allowed to easily
integrate standard widgets, already used by the rest
of the webpage, into the framework, so that the look
and feel of the booking engine, in comparison to the
rest of the webpage, could be integrated smoothly.
Furthermore, our approach allowed to highly
customize the framework without even touching the
sourcecode of the framework. Just as one example,
we will present one of the customizations that was
achieved without touching the sourcecode of the
framework itself. Imagine you are the organizer of a
local event in your home town. If you want to
integrate a hotel room booking functionality within
the homepage promoting your event, some of the
fields usually available for a hotel room booking
engine are obsolete, e.g., the dates of arrival and
departure, the zip code of the town where the visitor
of your webpage is looking for a hotel, … just
because all these parameters are already predefined
by the event that you organize.
By using our approach, we were able to
customize these type of fields either with the help of
the XML configuration file and/or by defining the
appropriate values as parameters to the webpages.
Therefore, the presented approach was perfectly
suited for this kind of integration of an external
framework into an already existing webpages.
5.2 Advantages of the Presented
Approach for an IT Management
Consulting Company
The second example where we used the presented
approach was together with a management
consulting company that usually works for large IT
companies. Parts of their customers are located in
the German public sector. Therefore, our partner
also supports their customers in their complex
bidding procedures, that are very much regulated by
complex German and European laws.
Here, we developed a Web 2.0 based simulation
for planning the bidding procedures. One of the
requests from our partner was that we should
provide two different versions of the simulation, one
for internal use (available only via the intranet of the
company) and one as sort of an advertisement for
their publicly available webpage. The major
difference between these two solutions is the degree
and amount of parameters that can be set by the user
of the simulation.
Again, the presented approach allowed to easily
customize the version that was primarily developed
for internal use (with a very rich set of different
parameters available to the user of the simulation) in
order to restrict the functionality of the publicly
available simulation by strapping down and pre-
configuring certain parameters of the simulation.
6 DISCUSSION AND OUTLOOK
As the examples discussed in the previous section
show, the presented approach provides advantages
for modern web based applications on different
levels. Of course, since there is nothing like a free
lunch, these advantages of flexibility come with
some drawback, especially with respect to the
increasing complexity that the presented pattern
adds to the usual Model-View-Controller pattern.
Nevertheless, since the additional complexity is
on the one hand not too huge (in comparison to the
gained advantages) and can on the other hand easily
be tackled by an experienced programmer, we guess
that programmers will usually be willing to use the
presented approach.
Furthermore, future research will be necessary in
order to decrease the added complexity, so that the
usage of the presented extension of the Model-View-
Controller design pattern will still get easier and
therefore will most likely attract more developers.
REFERENCES
Gamma, E., Helm, R., Johnson, R. E. (1994). Elements of
Reusable Object-Oriented Software (1st ed.).
Amsterdam: Addison-Wesley
Reenskaug, T. (1979). MVC: XEROX PARC 1978-79.
Xerox
Potel, M. (1996). MVP: Model-View-Presenter: The
Taligent Programming Model for C++ and Java.
Taligent
Sridaran, R., Padmavathi, G., Iyakutti, K. (2009). A
Survey of Design Pattern Based Web Applications.
Journal of Object Technology, Vol. 8, No. 2, 2009
AboutanExtensionoftheModel-View-ControllerDesignPatternforIncreasingtheFlexibilityofWebbasedApplications
-DesignandFirstExperiences
307