Download Database driven user friendly web application using Ajax
Transcript
4.8. Pros and cons using Ajax 17 the ability to send small chunks of data back and forth from client to server. Thus reducing the total amount of data being sent over the network [20, 4, 10]. – Client side calculations Using JavaScript some computation and work load can be handed over from server to client side within the clients web browser [20]. – Enhanced graphical support Modern web browsers have increased support making it possible to add richness in terms of graphics. Transparency, shading etc. are all functions which can add a new “fresh” look for web sites, making them more attractive for the end user. – Cross platform operability Ajax web applications are able to run on many browsers, making them browser independent assuming JavaScript is enabled. [20, 4]. 4.8.2 Disadvantages – JavaScript Not all browsers have JavaScript enabled or even support making Ajax web applications inaccessible. Text based browsers such as Lynx, mobile device browsers along with screen readers for visually impaired might not be able to work unless graceful transformation is implemented. – Bookmarks Bookmarking a page utilizing Ajax has proven to be difficult and confusing for users. Since the URI stays the same only changing parts of an updated page within the structure, confusion might arise when users try to bookmark a page. – Multiple server calls An Ajax enabled web application sending and receiving a lot of small calls from the server might produce performance implications. – Unnecessary workload Inefficient JavaScript programming can result in unnecessary workload on local machines. – Browser functionality Ajax web applications will produce implications when users are trying to use a browsers back or forward function. – XMLHttpRequest No current standardization method of sending and receiving XML files from client to server has yet been set. Although, W3C has announced a working draft meaning the XMLHttpRequest object could become a standard object for sending and receiving XML in the future. – High complexity According to Ray Valdes there is a high level of complexity and difficulty in creating a whole site with Ajax technologies in one piece. Suggesting that Ajax enabling a whole site is easier being made in bits and pieces. “Your average developer is not going to be able to figure it out. Only a small, elite group has the ability to do it in a comprehensive and complete way.” he says [20]. – Audio and video Both HTML and JavaScript are lacking the support for audio and video streaming making it difficult, if not impossible to use within certain areas of application development.