Flapjax is a client-based Web programming language specifically designed to meet the requirements of modern applications.
Getting started with Flapjax is a breeze - the syntax is similar to that of JavaScript. As a result, you can run Flapjax on traditional Web browsers without the need for plug-ins or additional downloads. Additionally, you have the option to use Flapjax purely as a library in JavaScript, allowing you to integrate it into your existing programs.
To use the Flapjax compiler, you can utilize the following command: fjc [--flapjax-path=URL] [--output=FILE] script. You can specify the URL of flapjax.js using the --flapjax-path=URL option. This URL is inserted verbatim into the generated HTML, so be sure to specify the correct URL. If you are compiling for local testing, you may specify a URL to a local file. If --flapjax-path is not specified, the compiler uses the FLAPJAXPATH environment variable (if defined). If FLAPJAXPATH is not defined, the compiler uses 'flapjax.js.'
The --output=FILE option enables you to 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. Flapjax also provides the --standalone option to run the compiler in standalone mode. In standalone mode, the compiler expects Flapjax code that is not embedded in an HTML document. The --loader=NAME option (standalone mode only) specifies the name of the loader function for standalone mode. If not specified, a unique name is generated. Finally, the script option allows you to specify the path to the input Flapjax script, which must be local.
Version 20070514: N/A