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



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

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 :

Chapter 12: Advanced topic Web 2.0

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

Ajax: A New Approach to Web Applications

Performance Testing for Ajax Applications

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

Framework as a master tool in modern web development

Tutorial: Building a Dojo Application using IBM Rational Application Developer Loan Payment Calculator

How To Write An Ria Application

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

Ajax Development with ASP.NET 2.0

From Desktop to Browser Platform: Office Application Suite with Ajax

Rich-Internet Anwendungen auf Basis von ColdFusion und Ajax

Performance Testing Web 2.0

This course provides students with the knowledge and skills to develop ASP.NET MVC 4 web applications.

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

AJAX Interaction in Adaptive Hypermedia

Preface. Motivation for this Book

Developing ASP.NET MVC 4 Web Applications MOC 20486

Whitepaper. Rich Internet Applications. Frameworks Evaluation. Document reference: TSL-SES-WP0001 Januar

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

Developing ASP.NET MVC 4 Web Applications

Adding Panoramas to Google Maps Using Ajax

Rich Internet Applications

IBM Digital Experience. Using Modern Web Development Tools and Technology with IBM Digital Experience

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

AJAX Toolkit Framework

Programming in HTML5 with JavaScript and CSS3

Google Web Toolkit. Progetto di Applicazioni Software a.a. 2011/12. Massimo Mecella

An introduction to creating JSF applications in Rational Application Developer Version 8.0

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

Operational Decision Manager Worklight Integration

Transition your MCPD Web Developer Skills to MCPD ASP.NET Developer 3.5 (VB)

Developing ASP.NET MVC 4 Web Applications Course 20486A; 5 Days, Instructor-led

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

Using Ajax for Desktop-like Geospatial Web Application Development

AJAX and jmaki for Web 2.0 Development using Java. Inyoung Cho Java Technology Evangelist Sun Microsystems, Inc.

ECG-1615A. How to Integrate IBM Enterprise Content Management Solutions With Microsoft SharePoint and IBM Connections. elinar.com

Designing and Implementing Support for Web Browser-Based UIs by Using Ajax Technology

06 XML-based Technologies

Eclipse Web Tools Platform. Naci Dai (Eteration), WTP JST Lead

Client-side Web Engineering From HTML to AJAX

A Tool for Evaluation and Optimization of Web Application Performance

AJAX Integration Approach for Collaborative Calendar-Server Web Services

Enable Your Automated Web App Testing by WebDriver. Yugang Fan Intel

Bug Report. Date: March 19, 2011 Reporter: Chris Jarabek

Introducing Apache Pivot. Greg Brown, Todd Volkert 6/10/2010

2011 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media,

Web Application Development

Some Issues on Ajax Invocation

Software Development Kit

An Architecture for Web-based DSS

What s New in IBM Web Experience Factory IBM Corporation

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

Web Cloud Architecture

Experimenting in the domain of RIA's and Web 2.0

Developing Exceptional Mobile and Multi-Channel Applications using IBM Web Experience Factory

Programming Fundamentals of Web Applications Course 10958A; 5 Days

Standards, Tools and Web 2.0

Emerging technologies - AJAX, VXML SOA in the travel industry

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

Implementing Mobile Thin client Architecture For Enterprise Application

601/8498/X IAO Level 3 Certificate in Web Design and Development (RQF)

Measuring AJAX Performance on a GPRS Mobile Platform

How IBM is making Web applications more accessible with WAI-ARIA

ArcGIS Server mashups

Application layer Web 2.0

General principles and architecture of Adlib and Adlib API. Petra Otten Manager Customer Support

A standards-based approach to application integration

Web application Architecture

Amplify Service Integration Developer Productivity with Oracle SOA Suite 12c

ORACLE APPLICATION EXPRESS 5.0

Getting Started Developing JavaScript Web Apps. this = that. VT Geospatial Forum 2015

Orion: Software Development in the Browser

Crossfire - Multiprocess, Cross-Browser, Open-Web Debugging Protocol

Contenu du Cours : IBM Mobile Application

Take full advantage of IBM s IDEs for end- to- end mobile development

How To Write A Web Server In Javascript

DreamFactory & Modus Create Case Study

CAKEPHP & EXTJS - RESPONSIVE WEB TECHNOLOGIES

Session D15 Simple Visualization of your TimeSeries Data. Shawn Moe IBM

Table of contents. HTML5 Data Bindings SEO DMXzone

design coding monitoring deployment Java Web Framework for the Efficient Development of Enterprise Web Applications

How To Build A Web App

Advantage of Jquery: T his file is downloaded from

Benefits of Citrix NetScaler for Ajax Applications

Web Development with the Eclipse Platform


ICE Trade Vault. Public User & Technology Guide June 6, 2014

Certified Selenium Professional VS-1083

Selenium WebDriver. Gianluca Carbone. Selenium WebDriver 1

Art of Code Front-end Web Development Training Program

Online CASE Tool for Development of Web Applications

Java Development for the Cloud, present and future. Scott Rich Distinguished Engineer, IBM Rational

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

Lucy Zhang UI Developer Contact:

Web application development landscape: technologies and models

Progressive Enhancement With GQuery and GWT. Ray Cromwell

Web Apps The Next Generation

Transcription:

An introduction to creating Web 2.0 applications in Rational Application Developer Version 8.0 September 2010 Copyright IBM Corporation 2010. 1

Overview Rational Application Developer, Version 8.0, contains tools for creating Web 2.0 applications. Web 2.0 is the second generation of services and applications available on the World Wide Web that enable collaboration, information sharing, dynamic service delivery, and interaction. The concept of Web 2.0 typically includes later-generation Web-based applications such as wikis and weblogs. Web 2.0 applications look more like desktop applications and are often dynamically data driven rather than comprising static HTML content. Web 2.0 applications provide users with a richer set of controls and a more sophisticated server interaction mechanism in order to deliver Web-based applications that look and feel like desktop applications. Typically with Web 2.0, users do not have to refresh a page when they submit data from a browser; they can refresh only a part of page. This is achieved through the use of a rendering engine, such as the RPC Adapter, that works from the client-side and mediates between the client and the server. Asynchronous JavaScript and XML (AJAX) is an implementation of Web 2.0. It is made up of a group of technologies that are used to create dynamic, interactive Web pages that respond quickly to requests through the exchange of smaller chunks of data. AJAX uses a combination of existing technologies and protocols including XHTML, CSS, XML, client-side scripting languages such as JavaScript, Document Object Model, and an asynchronous data retrieval mechanism such as XMLHttpRequest. It is an architecture that makes browsers more interactive by running JavaScript on the client. To create a Web 2.0 application in Rational Application Developer: 1. Create a Web 2.0 enabled Web project. 2. Create a Web page using HTML, XHTML, and CSS. 3. Create the dynamic display using Dojo widgets, JavaScript, and Document Object Model (DOM). 4. Create the data interchange mechanism using JSON, XML, and XMLHttpRequest. What is Ajax? Asynchronous JavaScript and XML (Ajax) refers to a group of technologies that are used to develop Web applications. By combining these technologies, Web pages appear more responsive since small packets of data are exchanged with the server and Web pages are not reloaded each time a user makes an input change. Ajax allows a Web application user to interact with a Web page Copyright IBM Corporation 2010. 2

without the interruption of constant Web page reloading. Web site interaction happens quickly with only portions of the page reloading and refreshing. Ajax is made up of the following technologies: XHTML and CSS for presenting information. Document Object Model (DOM) for dynamically interacting with and displaying the information presented. XMLHttpRequest object to manipulate data asynchronously with the Web server. XML, HTML, and XSLT for data interchange and manipulation. JavaScript for binding data requests and information display. Ajax incorporates these technologies to create a new approach to developing Web applications. Ajax defines a method of initiating client to server communication without page reloads. It provides a way to enable partial page updates. From a Web page user perspective, this means improved interaction with a Web application giving the user more control of their environment similar to a desktop application. In a traditional Web application, HTTP requests, that are initiated by the user's interaction with the Web interface, are made to a Web server. The Web server processes the request and returns an HTML page to the client. During HTTP transport, the user is unable to interact with the Web application. In an Ajax Web application, the user is not interrupted in interactions with the Web application. The Ajax engine or JavaScript interpreter allows the user to interact with the Web application independent of HTTP transport to and from the server by rendering the interface and handling communications with the server on the user's behalf. Copyright IBM Corporation 2010. 3

Ajax limitations While Ajax is a Web application development technique that is designed to make Web pages more responsive and interactive with a user, Ajax has some limitations that should be considered before developing an Ajax-based application. The following limitations are some of the more prominent disadvantages: Browser support - Not all browsers support JavaScript or XMLHttpRequest object. Even among browsers that do have support for JavaScript and XMLHttpRequest, these objects can be treated differently. Each browser's implementation of Ajax must be considered. Security and user privacy - Not all concerns have been addressed. Issues surrounding security and user privacy need to be considered when developing an Ajax application. Accessibility - Because not all browsers have JavaScript or XMLHttpRequest object support, you must ensure that you provide a way to make the Web application accessible to all users. Bookmark and navigation - Since Ajax is used to asynchronously load bits of content into an existing page, some of the page information may not correspond to a newly loaded page. Browser history and bookmarks may not have the correct behavior since the URL was unchanged despite parts of the page changing. Search engine - Ajax applications are not searchable; however, it is possible to use Ajax features and elements within an application that is searchable. The Dojo Toolkit The Dojo Toolkit is a powerful open-source JavaScript library that can be used Copyright IBM Corporation 2010. 4

to create rich and varied user interfaces running within a browser. The library requires no browser-side runtime plugin and runs natively on all major browsers. This is boon for JavaScript developers since it helps abstract away the eccentricity of different browser implementations.abstract. The Dojo Toolkit is a powerful and flexible modular Ajax software development kit. It is broken down in to three major layers: Dojo Core, Dijit, and DojoX. Dojo Core - All the major functions needed to do Ajax development, plus many features not found in other toolkits Dijit - A high quality set of interaction rich widgets and themes for use when developing Ajax applications. DojoX (Dojo extensions) - A module to contain widgets and APIs that are useful for developing Ajax applications, but are not needed in all applications. The Dojo Toolkit Web site serves as a guide to these layers, introducing concepts as you need them and working downward from high-level usage to building your own widgets, custom namespaces, and unit tests. In Rational Application Developer, Dojo widgets can be dropped on a Web page from a palette. The palette is shown below: For more information about the Dojo Toolkit, refer to the http:// Copyright IBM Corporation 2010. 5

www.dojotoolkit.org/ Web site. Firebug Support Firebug is an open source extension for Mozilla Firefox that assists you with debugging, editing, profiling, logging, and monitoring HTML pages, DOM, CSS, and JavaScript. When you use Firebug to debug your Web pages, the Console view and editor in this product and the Firebug tools are synchronized. The debug view is integrated into the workbench, allowing you to easily set breakpoints and monitor variables. For more information To learn more about Web 2.0 applications and Rational Application Developer, see these resources: Rational Application Developer Web site: http://www-01.ibm.com/software/awdtools/developer/application/index.html Copyright IBM Corporation 2010. 6

Rational Application Developer Information Center: http://publib.boulder.ibm.com/infocenter/radhelp/v8/index.jsp Rational Application Developer wiki: https://www.ibm.com/developerworks/wikis/display/rad/home Copyright IBM Corporation 2010. 7