> > |
| META TOPICPARENT | name="JMaki" |
Online Book TOC
I. Introduction (2 to 3 pages max)
- The need for jMaki and how jMaki satisfies this need
- Main features and components offered by jMaki
- pre-wrapped widget set
- data models for widgets
- publish and subscribe mechanism
- proxy for accessing external services
- set of JS functions for accessing widgets, making Ajax requests, etc.
- Supported languages, tools, frameworks.
II. Getting Started
- Build a simple jMaki web app step-by-step with one widget, one data source, one event (combine JSP, PHP, Ruby steps?). JSP version DONE
- Build the same app using tools
- NB only
- NB and VB
- Eclipse
III. jMaki Application Overview
- Structure of a jMaki application
- Overview of jMaki resource files
- Components of a jMaki Page
- tag lib declaration (for each of supported frameworks)
- theme and template
- widget tags
- Overview of widget resource files
IV. Big Killer jMaki App
- Intro to killer app -- what does it do?
- Architecture of killer app
- How this app demonstrates the jMaki concepts described in this book.
V. Intro to jMaki Widgets
- Widgets as wrappers
- Components of a jMaki widget (.js, .htm, etc)
- Intro to widget properties
- Connecting to data via the value attribute
- Accessing services via the service attribute
- The catch-all attribute: args
- List of standard widgets
- Creating your own widget: step-by-step
VI. Interacting with the Server and between widgets
- Overview of jMaki event mechanism
- common client/widget and server interactions
- Getting/Setting data
- Accessing services
- Anything else?
- Intro to glue
- Overview of publish/subscribe
- what is pub/sub
- list of standard widget topics
- publish/subscribe widget properties
- Using glue code and the jmaki.subscribe function
- Server interaction
- Ajax
- Using doAjax
- Using listener tag for JSF and JSP apps
- Widget Interaction
- using actions
- intro to jMaki attribute map
- using jMaki.getWidget and pub/sub
VII. Accessing a Data Source from a jMaki Widget
- Overview of widget data models
- About JavaScript Objects and JSON format
- Overview of different ways to bind to data
- Getting data by binding to a JavaBean? component
- Getting data by way of a service file
- Setting data using Ajax
- For PHP and Ruby apps ??
- Using Java Persistence
VIII. Accessing External Services
- About limitations of Ajax and accessing services outside of domain
- Solution for jMaki: XMLHttpProxy? service
- How the service works
- Using xhp property to access service (i.e. rss feed)
- Using doAjax to access the standard services (yahoo geocoder, rss)
- Registering a service in the config file and using it
IX. Advanced Topics
- Let's fill this in together
X. Appendices
- Short intro to JS
- Short intro to Ajax
- Short intro to Dojo
- jMaki standard JS functions
- jMaki server-side javadoc
- ?
-- Main.jenniferb - 02 Nov 2007 |