Etri - jeon.MobileAJAX PositionPaper r5
Etri - jeon.MobileAJAX PositionPaper r5
0
Jonathan Jeon, hollobit@etri.re.kr Senior Member of Research Staff, ETRI Seungyun Lee, syl@etri.re.kr Research Director & Team Manager, ETRI
Introduction
The stated mission of the World Wide Web Consortium is to lead the World Wide Web to its full potential by developing protocols and guidelines that ensure long-term growth for the Web. The goals of this workshop are to explore user and industry use cases and challenges around AJAX applications on mobile devices and to help shape ongoing work in making productive use of AJAX in mobile browsers.
Where we are
ETRI believes that the Mobile AJAX workshop is roughly asking whats next for standardization of Mobile Web at the W3C.
Advantages of AJAX
AJAX has been a hot topic since Jesse James Garrett coined the term and published the essay "AJAX: A New Approach to Web Applications" in February, 2005 [3]. Numerous AJAX-based web applications and development toolkits have been rushing to the internet in the past year. Web-based applications have become richer and more responsive, not only closing the gap with the desktop but also presenting new and fun ways for user-web interactions. AJAX is a web development technique used for creating interactive web applications. The intent is to make web pages feel more responsive by exchanging small amounts of data with the server behind the scenes, so that the entire web page does not have to be reloaded each time the user requests a change. This is intended to increase the web page's interactivity, speed, functionality, and usability [2] . Most of AJAXs component Web technologies were developed and standardized during the past 10 years. These 1
technologies have improved recently, making them more suitable for enterprise use. AJAX uses a combination of: z z z XHTML (or HTML) and CSS, for marking up and styling information. The DOM accessed with a client-side scripting language, especially ECMAScript implementations such as JavaScript and JScript, to dynamically display and interact with the information presented. The XMLHttpRequest object is used to exchange data asynchronously with the web server. In some AJAX frameworks and in certain situations, an IFrame object is used instead of the XMLHttpRequest object to exchange data with the web server, and in other implementations, dynamically added <script> tags may be used. XML is sometimes used as the format for transferring data between the server and client, although any format will work, including preformatted HTML, plain text and JSON. These files may be created dynamically by some form of server-side scripting.
Conventional browser-based Web applications require the user to submit a request to the server, wait for the server to process the request and generate a response, and then wait for the browser to update the interface with the results. This request-waitresponse- wait pattern is extremely disruptive and lowers productivity. Asynchronous JavaScript and XML is a standards-based programming technique designed to make Web-based applications more responsive, interactive, and customizablein short, to recreate the seamless user experience of most other desktop applications. Therefore, AJAX offers many advantages over conventional approaches to Web application development, but it also has several shortcomings that have slowed widespread adoption.
ADVANTAGES
The primary advantages of AJAX style Web applications are less waiting and more control for the user. AJAX accomplishes this by Bandwidth usage - eliminating full-page post-backs in favor of smaller, incremental in place updates; Leveraging the client machines processing power and temporal proximity by making the Web browser responsible for more aspects of the application execution; and Exploiting modern Web browsers rich graphics capabilitiestransparency, shading, animation, ordering, compositing, and soonto add more glitz and interactivity to the presentation of information. Separation of data, format, style, and function - AJAX approach can tend to encourage programmers to clearly separate the methods and formats used for the different aspects of information delivery via the Web.
DISADVANTAGES
There are some issues. AJAX will not work in all web browsers. As its name suggests, AJAX requires JavaScript. This alone means that AJAX applications will not work in web browsers and devices that do not support JavaScript. For this reason it is not accessible to many typical Web users. AJAX also requires that XMLHttpRequest be supported, which many browsers do not. Another issue is about JavaScript Interoperability. AJAX relies on JavaScript, which is often implemented differently by different browsers or versions of a particular browser. Because of this, sites that use JavaScript may need to be tested in multiple browsers to check for compatibility issues. Last issue with AJAX is how the application interface is updated. When updates to the interface occur, it may not be visually apparent that a change has occurred. The problem is even more troublesome for screen reader users. Screen readers typically read in a linear fashion. When changes happen in the interface, the screen reader user may not be aware of the change and the new content will likely not be read. 2
possible that people will actually use - solving their needs while on the go. The Possibility of Mobile AJAX, there are three potential.
1) Mobile Widget
Recently, significant attention is beginning focused on mobile widgets. Widgets are interactive single purpose applications for displaying and/or updating local data or data on the Web, packaged in a way to allow a single download and installation on a user's machine or mobile device. Most Widget Engines will typically support HTTP, IRIs, and Unicode, as well as ECMAScript, various DOM levels, and the ability to render a markup language, like HTML and/or CSS, and multimedia resources such as images and sounds. Particularly, because of the rise in popularity of AJAX-style development, many Widget Engines now support the XmlHttpRequest object or some similar mechanism for making asynchronous data requests over HTTP. Mobile AJAX and Widget like the needle and thread. The combination of AJAX and widgets reduces time to market, encourages innovation and enables a larger target market for mobile applications. By enabling development for the web and mobile browsers at the same time, widgets offer a far better value proposition to developers. If widgets call or reuse services provided by other widgets, powerful applications can be rapidly developed from simple components.
of the "fixed web". Currently, the W3C MWI is focusing on developing best practices for "mobileOK" Web sites, device information needed for content adaptation, test suites for improving interoperability of mobile Web software and marketing and outreach activities. Now, Mobile Web 2.0, a New Age of Mobile Web, will rapidly enhance and spread in mobile industry. Mobile Web 2.0 is not a story about Web 2.0 in mobile. Its definitely for New Age of Mobile Web. It is completely changing how and where we consume content and produces content in mobile. Mobile Web 2.0 and Mobile Rich Web is here and available now! So, in preparing the Mobile Rich Web environment, we need to consider as below: 1) Interoperability of Mobile AJAX platforms and application 2) Make the Best Practices for Mobile AJAX and Mobile Rich Web environment 3) Interoperability between Mobile Widgets and Mobile AJAX 4) Standardization for Mobile RWA(Rich Web Application) 5) Accessibility and security issues of Mobile AJAX 6) Offline capability of Mobile AJAX 7) MobileOK for Mobile AJAX 8) Mobile Mashup and Mobile AJAX 9) Browser extension and Mobile AJAX The W3C should consider standardizing specifications that defines the architectures of Mobile Rich Web Applications and Mobile Web 2.0 systems operating within open mobile environments and some restricted environments. As we continue our investigations, we will continue to cooperate with W3C and Open AJAX Alliance while we gain more experience in developing standards to the Mobile Web 2.0 and Mobile Rich Web Applications.
References
z z z z z z z z z z z z z z [1] JongHong Jeon, SeungYun Lee, Trend of Mobile Web 2.0 Technology, Telecommunications Review, Vol.17, No.4, 2007 [2] AJAX, http://en.wikipedia.org/wiki/AJAX [3] Jesse James Garrett, AJAX: A New Approach to Web Applications, http://www.adaptivepath.com/publications/essays/archives/000385.php [4] Rocco Georgi, AJAX on mobile devices making mobile web apps ubiquitous, XTech 2007, http://2007.xtech.org/public/schedule/paper/58 [5] Ajit Jaokar, Bryan Rieger, Rocco Georgi: Mobile AJAX FAQ: http://www.pavingways.com/mobileAJAX/ [6] Ajit Jaokar on his blog: http://opengardensblog.futuretext.com/archives/2006/03/mobile_web_20_a_2.html [7] Accessibility of AJAX Applications, http://www.webaim.org/techniques/AJAX/ [8] Linda Dailey Paulson, Building Rich Web Applications with AJAX, IEEE Computer, Volume: 38, Issue. 10, October 2005, 14- 17 [9] Ali Mesbah, Arie van Deursen, An Architectural Style for AJAX, Proceedings of the Working IEEE/IFIP., Conference on Software Architecture (WICSA'07) [10] Hkon Wium Lie, Mobile Web Applications, Xtech 2006, http://2006.xtech.org/schedule/paper/175 [11] Michael(tm) Smith, Bringing Web 2.0 to Mobile Devices, XTech 2006, http://2006.xtech.org/schedule/paper/83 [12] Cindy Lu, The Impact of AJAX on User Experience Part 1, http://www.apogeehk.com/articles/AJAXUserExperienceStrategiesPart1.html [13] W3C MWI Activity, http://www.w3.org/Mobile [14] W3C Rich Web Clients Activity, http://www.w3.org/2006/rwc/ 5