20070514 BSD License    
2.3/5 11


Flapjax is a new programming language designed around the demands of modern, client-based Web applications.




Flapjax is a new programming language designed around the demands of modern, client-based Web applications.

Here are some key features of "Flapjax":

Event-driven, reactive evaluation
Persistent data saved on a data store we provide
Convenient data sharing
Access-control for shared data
Interfaces to external Web services
Optional templating syntax

Flapjax is easy to learn: its syntax is precisely that of JavaScript. Furthermore, because Flapjax is built entirely atop JavaScript, it runs on traditional Web browsers without the need for plug-ins or other downloads. In fact, you can (in exchange for a little more code) use Flapjax purely as a library in JavaScript rather than use the compiler from Flapjax to JavaScript, so you can integrate it into your existing programs.


fjc [--flapjax-path=URL] [--output=FILE] script


Specify the URL of flapjax.js. This URL is inserted verbatim

into the generated HTML. Therefore, if you are compiling for a

server, specify the URL of flapjax.js on your server. If you are

compiling for local testing, you may specify a URL to a local

file. Note that a URL of a local file must be prefixed with

'file:///'. For example:


If this option is not specified, the compiler uses the

FLAPJAXPATH environment variable (if defined). If FLAPJAXPATH is

not defined, the compiler uses 'flapjax.js'--the compiled page

expects flapjax.js to be in the same directory as itself.


Specify the destination of the generated HTML. If no output is

specified, the HTML is displayed on the terminal. FILE must be a

local path.


Runs the compiler in standalone mode. In standalone mode, the

compiler expects Flapjax code that is not embedding in an HTML

document. This mode of operation can be useful for

incrementally porting existing Javascript to Flapjax.

--loader=NAME (standalone mode only)

Specifies the name of the loader function for standalone mode.

If this option is not specified, a unique name is generated.


Specify the path to the input Flapjax script. The path must be

Last updated on May 7th, 2008

#programming language #web application development #Linux compiler #compiler #programming #language #web

0 User reviews so far.