IBM® Extensions to the Dojo Toolkit
Atom library, data store, and widgets
Overview:
This package, ibm_atom, is comprised of three principal parts: the Atom library,
the AppStore, and the Atom widgets. Various test cases and examples are also
included. These individual parts supply the following functionality:
- The Atom library: This library contains three different features. First
are the general utility functions to support the rest of the library. Next
is the data model for the various parts of Atom, such as content, person,
link, feed, and entry. These data models are then used to define the AtomIO
object, which is a wrapper to the various functions intrinsic to Atom feeds
and the Atom Publishing Protocol (APP).
- The AppStore: The AppStore simplifies reading from and writing to an APP service by
implementing the dojo.data Read, Identity, and Write API's. Since the AppStore adheres
to the standardized APP specification, it can interact with any APP service, regardless
of the exact implementation.
- The Atom Widgets: Included in this package are three widgets: FeedViewer,
for displaying the title and dates of entries in a feed, FeedEntryViewer,
for displaying the details of a selected Atom Entry in a FeedViewer, and FeedEntryEditor,
similar to FeedEntryViewer, but allows for editing of existing entries and
creation of new ones.
These components are examined further in the Reference and Usage examples
sections of this documentation.
Package structure:
The IBM Atom library, data store, and widgets are distributed in two different packages.
- The IBM® WebSphere® Application Server Feature Pack for Web 2.0 and Mobile installer places the package structure outlined
below into the folder located at: <app_server_root>/web2mobilefep_1.1/ajax-rt_1.X/ibm_atom
- The Stand-alone package includes the given package structure inside the folder located at:
/AjaxClientRuntime_1.X/ibm_atom
The package is organized in the following manner:
-
/data
-
/io
- /atom.js: The Atom library
-
/tests
- /data:Directory containing test files for the AppStore
- /widget: Directory containing test files for the widgets
-
/widget
- /templates: Directory containing templates for the widgets.
- /FeedEntryEditor.js
- /FeedEntryViewer.js
- /FeedViewer.js