Refactoring of a GUI prototype using AJAX - Improve the performance of a GUI prototype by introducing an AJAX framework.

The problem given from the company XDIN was to improve an existing Java EE web
application prototype which handles errands specified for the energy branch. Since the
prototype had a slow work process and a slow response time, the company wants the new
system to be implemented with AJAX and DWR. Furthermore, the task was also to examine
if it is beneficial to use other AJAX frameworks, in excess of DWR. Since there are many
different frameworks the review was limited to include two of the frameworks that are in the
frontline, DOJO and YUI.
A lot of different technologies were used, such as JSP, JS, HTML, AJAX, DOJO, YUI, EJB,
Struts, SQL and CSS (Cascading Style Sheet). Therefore the first step was to learn all the
different technologies by reading tutorials and API’s and attending workshops. The second
step was to understand the requirements of the system. Development of the code was done
using both Eclipse and IntelliJ, and for testing the UI, a tool called firebug was used.
DWR is a framework that advocates asynchronous communication and makes it possible to
do lightweight server roundtrips without any complete page refresh. By the very nature of the
framework, the response times were improved.
All three JavaScript libraries have pros and cons. DOJO has a lot of features and gives the
impact of being a library to trust because of its diversity. However, since there is no
documentation or complete API it makes it really difficult and cumbersome to use. The key
feature with a JavaScript library should be ease of use, and by that also a time saver to
develop with when compared to other frameworks or no framework at all. DOJO lacks in
these areas, and is not the framework of choice largely because of these. The YUI on the other
hand not only has a lot of features, but comes with a comprehensive API complemented with
examples and cheat sheets. As a result of the drawbacks of DOJO the choice was to use YUI
as a primary JavaScript Library and to use YUI ext as an extension

Länka till denna publikation

Dela på webben

Skapa referens, olika format (klipp och klistra)

HarvardWallin, E. (2009) Refactoring of a GUI prototype using AJAX - Improve the performance of a GUI prototype by introducing an AJAX framework.. Göteborg : Chalmers University of Technology

BibTeX @mastersthesis{Wallin2009,author={Wallin, Emanuella},title={Refactoring of a GUI prototype using AJAX - Improve the performance of a GUI prototype by introducing an AJAX framework.},abstract={The problem given from the company XDIN was to improve an existing Java EE web
application prototype which handles errands specified for the energy branch. Since the
prototype had a slow work process and a slow response time, the company wants the new
system to be implemented with AJAX and DWR. Furthermore, the task was also to examine
if it is beneficial to use other AJAX frameworks, in excess of DWR. Since there are many
different frameworks the review was limited to include two of the frameworks that are in the
frontline, DOJO and YUI.
A lot of different technologies were used, such as JSP, JS, HTML, AJAX, DOJO, YUI, EJB,
Struts, SQL and CSS (Cascading Style Sheet). Therefore the first step was to learn all the
different technologies by reading tutorials and API’s and attending workshops. The second
step was to understand the requirements of the system. Development of the code was done
using both Eclipse and IntelliJ, and for testing the UI, a tool called firebug was used.
DWR is a framework that advocates asynchronous communication and makes it possible to
do lightweight server roundtrips without any complete page refresh. By the very nature of the
framework, the response times were improved.
All three JavaScript libraries have pros and cons. DOJO has a lot of features and gives the
impact of being a library to trust because of its diversity. However, since there is no
documentation or complete API it makes it really difficult and cumbersome to use. The key
feature with a JavaScript library should be ease of use, and by that also a time saver to
develop with when compared to other frameworks or no framework at all. DOJO lacks in
these areas, and is not the framework of choice largely because of these. The YUI on the other
hand not only has a lot of features, but comes with a comprehensive API complemented with
examples and cheat sheets. As a result of the drawbacks of DOJO the choice was to use YUI
as a primary JavaScript Library and to use YUI ext as an extension},publisher={Institutionen för data- och informationsteknik, Programvaruteknik (Chalmers), Chalmers tekniska högskola},place={Göteborg},year={2009},keywords={AJAX, DWR, YUI, DOJO, YUI ext, RIA},note={38},}

RefWorks RT GenericSR ElectronicID 117180A1 Wallin, EmanuellaT1 Refactoring of a GUI prototype using AJAX - Improve the performance of a GUI prototype by introducing an AJAX framework.YR 2009AB The problem given from the company XDIN was to improve an existing Java EE web
application prototype which handles errands specified for the energy branch. Since the
prototype had a slow work process and a slow response time, the company wants the new
system to be implemented with AJAX and DWR. Furthermore, the task was also to examine
if it is beneficial to use other AJAX frameworks, in excess of DWR. Since there are many
different frameworks the review was limited to include two of the frameworks that are in the
frontline, DOJO and YUI.
A lot of different technologies were used, such as JSP, JS, HTML, AJAX, DOJO, YUI, EJB,
Struts, SQL and CSS (Cascading Style Sheet). Therefore the first step was to learn all the
different technologies by reading tutorials and API’s and attending workshops. The second
step was to understand the requirements of the system. Development of the code was done
using both Eclipse and IntelliJ, and for testing the UI, a tool called firebug was used.
DWR is a framework that advocates asynchronous communication and makes it possible to
do lightweight server roundtrips without any complete page refresh. By the very nature of the
framework, the response times were improved.
All three JavaScript libraries have pros and cons. DOJO has a lot of features and gives the
impact of being a library to trust because of its diversity. However, since there is no
documentation or complete API it makes it really difficult and cumbersome to use. The key
feature with a JavaScript library should be ease of use, and by that also a time saver to
develop with when compared to other frameworks or no framework at all. DOJO lacks in
these areas, and is not the framework of choice largely because of these. The YUI on the other
hand not only has a lot of features, but comes with a comprehensive API complemented with
examples and cheat sheets. As a result of the drawbacks of DOJO the choice was to use YUI
as a primary JavaScript Library and to use YUI ext as an extensionPB Institutionen för data- och informationsteknik, Programvaruteknik (Chalmers), Chalmers tekniska högskola,LA engLK http://publications.lib.chalmers.se/records/fulltext/117180.pdfOL 30