 | Level: Intermediate Cameron Laird (claird@phaseit.net), Vice President, Phaseit, Inc.
20 Feb 2007 Meet Flapjax -- a new programming language with an old syntax based on standard JavaScript. With Flapjax you can easily program data sharing, interfaces to external Web services, persistence, and end-user responsiveness in Web applications.
In this tutorial
Flapjax, an improved way to build Asynchronous JavaScript and XML (Ajax) applications, offers more than just a library of conveniences. This tutorial emphasizes simple, self-contained steps to successfully apply Flapjax to real-world problems.
Objectives
Get examples
of Web applications that work with any JavaScript-enabled browser to manage user actions and data arrivals in
terms of "behavior" and "event stream" abstractions, and conveniently retrieve public Web services coded as JavaScript.
Write and run
simple Flapjax programs in several modes, including
a compiled form suitable for deployment.
Prerequisites
While familiarity with JavaScript and HTML are crucial for independent use of Flapjax, any GUI application developer will be able to use most of this tutorial. The tutorial guides beginning-level programmers
through working examples while introducing intermediate-level concepts to help contrast Flapjax with other programming systems.
System requirements
To execute the examples here, you need a modern
JavaScript-capable browser; any recent release of Firefox, Opera,
Internet Explorer, or Safari will do. Beyond the browser, you might want
access to a Web server, although it isn't necessary.
The most minimal hosts -- a 100 MHz Pentium, for example, and a Web
server with no dynamic page capabilities -- are adequate for
the demonstrations in this tutorial.
Duration
1 hour
Formats html, pdf
|  | |  |