Web 2.0 and Mobile Toolkit samples

The Web 2.0 and Mobile Toolkit samples add simplified, standards-based development of mobile web applications, rich Ajax websites, and Representational State Transfer (REST) web services. The samples contain demos of Dojo Mobile widgets and views, IBM® ILOG® Dojo Diagrammer samples, and server-side application services that you can use to build your Web 2.0 and Mobile applications. The samples include detailed deployment instructions in a readme.html file.

Time required to set up and configure these samples

15 minutes

Prerequisites for use

  • WebSphere® Application Server Version 8.0 or Version 8.5
Important: These samples were tested with WebSphere Application Server Version 8.0 and Version 8.5.

Samples download

To use the samples, download Web 2.0 and Mobile Toolkit sample files from a product download site. Complete the following steps:

  1. Choose one of the following methods to download the Web20MobileSamples.zip file to a directory on your workstation: FTP or HTTP. You might create the /samples/web20mobile directory path on your workstation and download Web 2.0 and Mobile sample files to that directory path.
  2. From the displayed dialog, specify the target directory to which to save the compressed file and click OK.
  3. The Web20MobileSamples.zip file contains sample files in the following directory structure:
    /images
    /installableApps
    /scripts
    /src
    /style
    build.xml
    notices.txt
    readme.html
    Attention: The readme.html file contains information for installing and running the sample.

Samples description

Showcase® sample
There are three major sections to the Web 2.0 and Mobile Showcase sample. The first section includes mobile demos that show the functionality provided by Dojo mobile components. The next section demonstrates the IBM ILOG Dojo Diagrammer functionality. The last section shows application services that you can install into product application servers to support your applications. Each demo includes a set of sample code that can be used to help build your applications.
Mobile Showcase sample
The Dojo Mobile Showcase included in the sample demonstrates the available functionality in Dojo Mobile. It includes demos for forms, buttons, views, tab containers, headings for navigation, animations, AJAX and JSONP requests, and more.
IBM ILOG Dojo Diagrammer
The IBM ILOG Dojo Diagrammer demos show typical uses of the Dojo Diagrammer component, as well as code examples for technical features of the API and concepts implemented in the Dojo Diagrammer component. There are complete samples that show organization charts, business process diagrams, a diagram editor, and a layout browser. Code examples are also available for basic features like data stores, graph layout, tooltips, as well as advanced functionality like layout animation, accessibility, spline links, and swim lanes.
Application services
Application services are web-based applications that you can install to your product application server. Many of the services provide REST APIs and are compatible with Dojo widgets. The sample includes a file uploading service written using JAX-RS and the Dojo file upload functionality, and a directory listing service.
Concept topic    

Terms and conditions for product documentation | Feedback

Last updated: January 29, 2018 04:57 AM GMT-06:00
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-mp&topic=sample_web20
File name: sample_web20.html