MACROMEDIA FLEX-GETTING STARTED WITH FLEX Getting Started page 60

Table of Contents

Advertisement

About the Flex development environment
You store Flex server code and application files in the directory structure of a standard web
application on a J2EE-compliant application server. The MXML deployment model is similar to
that of JavaServer Pages (JSPs). You create an MXML file in the text editor of your choice, and
place it in a web application directory that is accessible from a web browser. For example, you can
place MXML files in the web application root directory or a subdirectory other than the reserved
WEB-INF directory.
The directory structure of a typical Flex-enabled web application looks like the following:
Directory
(root directory or WAR root)
/WEB-INF
/WEB-INF/flex
/WEB-INF/flex/system-classes
/WEB-INF/flex/user_classes
/WEB-INF/lib
/WEB-INF/flex/frameworks
Using Flex development tools
Flex provides the following tools to help you test, debug, and tune your applications during the
development process. To use these tools, the
flex/flex-config.xml file must be
<production-mode>false</production-mode>
If
<production-mode>
ignores query string parameter overrides such as
<production-mode>
60
Chapter 4: Architecting Flex Applications
Description
Contains the WEB-INF directory and all files that must be
accessible by the user's web browser, such as MXML files, JSPs,
HTML pages, Cascading Style Sheets, images, and JavaScript
files. You can place these files directly in the web application root
directory or in arbitrary subdirectories that do not use the
reserved name WEB-INF.
Contains the standard web application deployment descriptor
(web.xml) that configures Flex. This directory might also contain
a vendor-specific web application deployment descriptor.
Contains Flex configuration files.
Contains ActionScript standard library stub classes that Flex use
internally for type-checking.
Contains custom ActionScript classes and MXML components.
Contains Flex server code in Java Archive (JAR) files.
Contains the SWC component file, builtin.swc, that contains the
Flex application framework files.
(the default):
false
is set to
, Flex disables all debugging and profiling features. Flex also
true
is enabled.
<production-mode>
and
?debug=true
setting in the .../WEB_INF/
when
?asprofile=true

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX-GETTING STARTED WITH FLEX and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flex

Table of Contents