Personal tools

Views

Flex 3:Feature Introductions: Compiler Modules

From Adobe Labs

Back to Feature Introductions

Compile mxml in Apache/IIS

The Flex module for Apache and Microsoft IIS provides web-tier compilation of MXML and ActionScript files on Apache and IIS web servers. This module lets you rapidly compile, test and deploy an application by simply requesting the main application file from a web browser, similar to working with server-side scripting languages such as PHP, ColdFusion or JSP.
The module will allow Flex developers which do not use Flex Builder and/or Flex Data Services setup an easy way to preview changes on various applications. Using only a web server (Apache or Microsoft IIS), the developer will be able to:

This feature is targeted at developers that want to use Flex 2 to write applications but do not use FDS features, so they do not have the webtier compiler. However they want to be able to make changes straight on the server and have them visible instantly, without having to compile and upload the new swf's. Also they want to recompile only the bits that have changed, and not the entire movie.
Usage scenarios are as follows:

Scenario 1 - Basic development

How to actually get a Flex application to run with the Flex Module for Apache and IIS:

Scenario 2 - Using templates

You can use a custom template to develop and debug your Flex application in context. To achieve this you should follow these steps:

Scenario 3 - Debugging the application

How to debug applications without the Flex Builder:

The Flex Module will contain two components that will be deployed on the user's system:

  1. The actual compiler, as a combination of a jar and a .sh or .exe script
  2. A C++ pre-compiled so or dll for Apache and IIS that will catch the server request and use the compiler to build the swf.

In order to install these on your system you have one of the following options:

All installation methods above require that you already have a working web server – either Apache or IIS.

For more information check out the pdf manual located here.

Back to Feature Introductions

Retrieved from "http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Compiler_Modules"