Position Paper: Toward a Mobile Rich Web Application Mobile AJAX and Mobile Web 2.0



Similar documents
Distance Examination using Ajax to Reduce Web Server Load and Student s Data Transfer

Term Paper. P r o f. D r. E d u a r d H e i n d l. H o c h s c h u l e F u r t w a n g e n U n i v e r s i t y. P r e s e n t e d T o :

From Desktop to Browser Platform: Office Application Suite with Ajax

An introduction to creating Web 2.0 applications in Rational Application Developer Version 8.0

Credits: Some of the slides are based on material adapted from

Performance Testing for Ajax Applications

Ajax: A New Approach to Web Applications

AJAX. Gregorio López López Juan Francisco López Panea

Why AJAX? Keywords - Web applications, Java Script, Web INTRODUCTION. Why Not AJAX? 111 P a g e

Some Issues on Ajax Invocation

Performance Testing Web 2.0. Stuart Moncrieff (Load Testing Guru) /

Web Application Development

Web Apps The Next Generation

Curl Building RIA Beyond AJAX

Chapter 12: Advanced topic Web 2.0

Web Cloud Architecture

AJAX: Highly Interactive Web Applications. Jason Giglio.

Geographical Mash-ups Session: Web 2.0, Mobile Devices and Ubiquitous Web

HTML5 the new. standard for Interactive Web

Native, Hybrid or Mobile Web Application Development

Lesson Overview. Getting Started. The Internet WWW

Measuring AJAX Performance on a GPRS Mobile Platform

Evolving Web Applications with AJAX - A Review

Software Requirements Specification For Real Estate Web Site

AUTOMATED CONFERENCE CD-ROM BUILDER AN OPEN SOURCE APPROACH Stefan Karastanev

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

INFORMATION TECHNOLOGY STANDARD

Backbase Accessibility

Experimenting in the domain of RIA's and Web 2.0

Google Web Toolkit (GWT) Architectural Impact on Enterprise Web Application

Web Development Life Cycle

WEB SERVICES FOR MOBILE COMPUTING

How To Build A Web App

AJAX Interaction in Adaptive Hypermedia

Web Applications Come of Age

TDAQ Analytics Dashboard

Introduction to BlackBerry Smartphone Web Development Widgets

4 Understanding. Web Applications IN THIS CHAPTER. 4.1 Understand Web page development. 4.2 Understand Microsoft ASP.NET Web application development

AJAX Integration Approach for Collaborative Calendar-Server Web Services

Rich User Interfaces for Web-Based Corporate Applications

Smartphone Application Development using HTML5-based Cross- Platform Framework

ASP.NET: THE NEW PARADIGM FOR WEB APPLICATION DEVELOPMENT

Benefits of Citrix NetScaler for Ajax Applications

Adding Panoramas to Google Maps Using Ajax

Client-side Web Engineering From HTML to AJAX

Rich Internet Applications

RadView Software Whitepaper. Load Testing Web 2.0 Technologies Ajax-RIA-SOA-Web Services

Mobile App Infrastructure for Cross-Platform Deployment (N11-38)

Putting the power of Web 2.0 into practice.

Growth and Challenges

White Paper On. Single Page Application. Presented by: Yatin Patel

INFORMATION TECHNOLOGY STANDARD

Whitepaper. Trans. for Mobile

HTML5 : carrier grade

Research on HTML5 in Web Development

USAGE OF ASP.NET AJAX FOR BINUS SCHOOL SERPONG WEB APPLICATIONS

Integration the Web 2.0 way. Florian Daniel April 28, 2009

ASP.NET 2.0, AJAX And Expression Web. Name Title Microsoft Corporation

OIT 307/ OIT 218: Web Programming

How to Choose Right Mobile Development Platform BROWSER, HYBRID, OR NATIVE

How To Write An Ria Application

Mobile RIA and Competibility

Web Development News, Tips and Tutorials

Web Testing. Main Concepts of Web Testing. Software Quality Assurance Telerik Software Academy

Ajax Design and Usability

Are AJAX Applications Vulnerable to Hack Attacks?

Cloud Computing And Equal Access

Mashup Development Seminar

Step into the Future: HTML5 and its Impact on SSL VPNs

Enabling AJAX in ASP.NET with No Code

IT3504: Web Development Techniques (Optional)

Service Oriented Architecture: Web GIS Services

CHOOSING THE RIGHT HTML5 FRAMEWORK To Build Your Mobile Web Application

Rich Internet Applications The Next Stage of Application Development

Rich-Internet Anwendungen auf Basis von ColdFusion und Ajax

GUI and Web Programming

Dynamic Web Programming BUILDING WEB APPLICATIONS USING ASP.NET, AJAX AND JAVASCRIPT

Implementing Mobile Thin client Architecture For Enterprise Application

PROJECT MANAGEMENT SYSTEM

Online CASE Tool for Development of Web Applications

Rich Internet Applications (RIA)

Designing The User Experience AIGA Design Camp

Preface. Motivation for this Book

Google Web Toolkit. Introduction to GWT Development. Ilkka Rinne & Sampo Savolainen / Spatineo Oy

HTML5 - Key Feature of Responsive Web Design

Introduction to Cloud Computing. Lecture 02 History of Enterprise Computing Kaya Oğuz

Implementing a Web-based Transportation Data Management System

Ajax Development with ASP.NET 2.0

Towards the Web of Things

Mobility Introduction Android. Duration 16 Working days Start Date 1 st Oct 2013

The Ubiquitous Web, UPnP and Smart Homes

Emerging technologies - AJAX, VXML SOA in the travel industry

Healthwatch Web Jargon-buster

Oracle WebCenter Sites Mobility Server Enabling exceptional mobile and tablet web applications and web sites without compromise

JavaFX Session Agenda

White Paper INTRODUCTION. In mobile development, there are three different types of applications: PRE-SMARTPHONE MOBILITY NATIVE MOBILE APPLICATIONS

Oct 15, Internet : the vast collection of interconnected networks that all use the TCP/IP protocols

Rich Internet Applications

Web Design and Development Certificate Program

ORACLE APPLICATION EXPRESS 5.0

Transcription:

Position Paper: Toward a Mobile Rich Web Application Mobile AJAX and Mobile Web 2.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 what s next for standardization of Mobile Web at the W3C. Next Generation Web Application Recently, Web 2.0 Trends, one of the Pragmatic Web Application Trends, derives the 2 nd golden age of World Wide Web leading to great influence on the Web industry. The Web 2.0 trends do influence the wired Internet industry and the Mobile industry in particular. As the Next Generation Web has become more mature, rich applications featuring responsive user interfaces and interactive capabilities have become increasingly popular. The capabilities represent a way to make programs easier to use and more functional, thus enhancing the user experiences. There has been a shift in the direction of web development. A new breed of web application, dubbed AJAX (Asynchronous Javascript And XML), is emerging in response to the limited degree of interactivity in largegrain stateless Web interactions. At the heart of this new approach lies a single page interface model that facilitates rich interactivity. In this model, changes are made to individual user interface components contained in a web page, as opposed to refreshing the entire page. 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 AJAX s 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: 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 customizable in 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 machine s 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 capabilities transparency, shading, animation, ordering, compositing, and soon to 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

Mobile AJAX and Mobile Web 2.0 While the interests of web 2.0 have been increasing, it began to show up in the various points of views about the next generation mobile web. It has been called as Mobile 2.0 or Mobile web 2.0. As the term Web 2.0 has no formal definition, Mobile Web 2.0 is not easy to clarify a hard boundary. However, this can be defined as one of paradigm for Next Generation Mobile Web. In more summarized view, we can categorize the Mobile Web 2.0 related technologies as figure 1 [1]. Mobile AJAX is a key trend of Mobile Web 2.0. Mobile AJAX is not really different from desktop AJAX as originally defined by Jesse James Garrett. The true potential of Mobile AJAX applications lies in deploying rich web applications on mobile devices. Mobile AJAX solves the same problems as AJAX in desktop browsers - it can provide Rich Web environment and better user experience, also it can provide reduction of traffic between server and mobile devices. Problem of Mobile AJAX Mobile devices have rather constrained capabilities in terms of CPU performance, memory, battery lifetime, screen size and bandwidth. Furthermore web browsers on mobile devices usually fail to provide the necessary technologies and standards such as JavaScript, DOM and CSS. Also, there has to be a clear distinction between JavaScript and AJAX support. Currently, some browsers do support AJAX. On the hardware-side one of the biggest problems is battery life. Data transmission tend to be draining battery power quite heavily, but also JavaScript XML/DOM/JSON operations mean heavy CPU load which not only results in slow performance, but again in heavy battery drainage. Possibility of Mobile AJAX [Figure 1: Key trends of Mobile Web 2.0 Technology] Mobile AJAX has a lot of potential. Mobile AJAX has the power to make using web applications on mobile devices more natural and intuitive. Also, Mobile AJAX can make the creation of mobile web applications 3

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. 2) iphone and Rich Mobile Web As we learn from iphone, AJAX on the mobile phone can change the future. Recently, a Forrester report was released stating that the iphone signals the beginning of the end for the mobile Web as we know it today. The iphone is one of the first mobile devices, and definitely the first with a cell phone form factor, to provide a true mobile rich web browsing experience. AJAX on the phone can make the user interface richer and more responsive in mobile web applications. Another biggest change the iphone may bring about, especially for mobile application development, is that Apple decided to include the full-fledged Safari browser in the device, effectively choosing AJAX as a development environment for the iphone. If it success, AJAX could emerge as the development platform of choice for mobile devices. That could potentially do away with many years' worth of attempts to establish mobile device-specific development platforms, such as BREW or WAP. 3) Ubiquitous and Seamless Web Application Ubiquitous Web applications bring your data online and make it available anywhere there's an Internet connection. But happens when you're on a plane or when you can't find a WiFi hotspot or can t connect any network? Mobile AJAX on the phone needs to support Google Gears, or some kind of offline mode. If it possible, Mobile AJAX will enable you to read the most recent messages from web mail while offline or to edit your documents in Mobile Office Docs even without a network connection. Where do we go from here? How can we realize the possibility of Mobile AJAX? The answer can find from standardization. Currently, some activities are works in progress. The W3C Rich Web Client Activity was created to operate three Working Groups: Web Application Formats, Web APIs and Compound Document Formats. The Web Application Formats Working Group is chartered to develop standards, such as XBL, and document formats for user interfaces, such as XUL. The Working Group is currently gathering use cases and requirements. The Web API Working Group is working to make Recommendations on XMLHttpRequest, the Window object, Drag n Drop, File Upload and many other APIs. Another side, the intent of the W3C Mobile Web Initiative(MWI) is to facilitate advancement towards the ultimate goal of "one web" by making more web sites mobile friendly and reducing the adverse impact of differences in the delivery context that contribute to making the "mobile web" user experience distinct from that 4

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. It s 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 [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/mobile- AJAX/ [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] Håkon 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