Flapjax 20070514

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.

COMPILER USAGE



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

--flapjax-path=URL

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:


file:///home/myself/flapjax.js


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.


--output=FILE


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.


--standalone


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.


script


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

local.

last updated on:
May 7th, 2008, 12:28 GMT
price:
FREE!
developed by:
Flapjax Team
homepage:
www.flapjax-lang.org
license type:
BSD License 
category:
ROOT \ Programming \ Compilers

FREE!

In a hurry? Add it to your Download Basket!

user rating 11

2.3/5
 

0/5

Rate it!

Add your review!

SUBMIT