Wiley 978-0-470-28764-4 Datasheet

Browse online or download Datasheet for Software manuals Wiley 978-0-470-28764-4. Wiley Flex 3 Bible User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 26
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
F
lex 3 is the most recent version of a platform for developing and
deploying software applications that run on top of the Adobe Flash
Player. While such tools have existed for many years, the most recent
toolkit from Adobe Systems allows programmers with object-oriented back-
grounds to become productive very quickly using the skills they already have
learned in other programming languages and platforms.
Since the release of Flex 2, the Flex development environment has encour-
aged a development workflow similar to that used in other desktop develop-
ment environments such as Visual Studio, Delphi, and JBuilder. The
developer writes source code and compiles an application locally and then
uploads the finished application to a Web server for access by the user. That
isn’t how Flex started, however.
Flex was originally released by Macromedia as a server-based application
deployment and hosting platform. In the early versions of the Flex product
line, an MXML/ActionScript compiler was included in a Java-based Web
application hosted on a Java 2 Enterprise Edition (J2EE) server. Application
source code was stored on the server. When a user made a request to the
server, the application was compiled “on request” and delivered to the user’s
browser, and hosted by the Flash Player.
This server-based compilation and application deployment model is still
available in the most recent version of the server software now known as
LiveCycle Data Services ES. But the version of the compiler that’s delivered in
LiveCycle Data Services isn’t necessarily the same as the one that’s available
in both the Flex 3 Software Developers Kit (SDK) and Flex Builder 3. And
most developers find it simpler to use the primary “local compilation” devel-
opment model.
3
IN THIS CHAPTER
Understanding the fundamentals
of Flex
Getting to know Flex
applications
Developing in Flex versus Flash
Using Flex with object-oriented
programming
Understanding the Flash Player
Learning the history of the Flash
Player
Making the most of Flex 3
development tools
Getting help
About Flex 3
06_287644-ch01.qxp 6/23/08 11:28 PM Page 3
COPYRIGHTED MATERIAL
Page view 0
1 2 3 4 5 6 ... 25 26

Summary of Contents

Page 1 - COPYRIGHTED MATERIAL

Flex 3 is the most recent version of a platform for developing anddeploying software applications that run on top of the Adobe FlashPlayer. While such

Page 2 - NEW FEATURE

the application to execute functionality that’s encapsulated within the class, without the program-mer who’s calling the method having to know the det

Page 3 - Flex as Open Source

FIGURE 1.2This is an example of a UML diagram that describes a relationship between a base and a derived class.One class can extend a class that in tu

Page 4 - Declaring objects in MXML

In Figure 1.2, methods of the superclass Animal are inherited by the subclass Dog. Dog has addi-tional methods and properties that aren’t shared with

Page 5 - Flex versus Flash development

FIGURE 1.4This UML diagram describes the relationship between an interface and an implementing class.The interface doesn’t actually implement these me

Page 6 - Developing in Flex

The Adobe Integrated Runtime includes the Flash Player as one of its critical components. Othercomponents include a Web browser kernel to execute HTML

Page 7

positioned Flash MX and MX 2004 as development environments for what the company began tocall rich internet applications (RIAs). Although the developm

Page 8 - Modularity

Each new product bundling and relationship has increased the requirements for the Flash Player.As a result, the most recent version of the Player (ver

Page 9 - Encapsulation

As shown in Figure 1.6, you should see a Flash document that tells you which version of the Playeris currently installed. When you load this document

Page 10 - Flex Fundamentals

Regardless of how you install the Flash Player, users who install the Flash Player musthave administrative access to their computer. On Microsoft Wind

Page 11 - About Flex 3

FIGURE 1.8The Flex Builder installer prompts you to install the Flash Player plug-in or ActiveX control on currentlyinstalled browsers.Before installi

Page 12 - Polymorphism

In this chapter, I describe the nature of Flex applications, the relationship between Flex applicationsand the Flash Player, and how Flex leverages th

Page 13

Downloading the production Flash PlayerEnd users who want to run Flex applications and other Flash-based content can download theFlash Player installe

Page 14

Downloading the debug Flash PlayerTo download the debug version of the Flash Player, visit this Web page:http://www.adobe.com/support/flashplayer/down

Page 15 - Flash Player History

The Flex Software Developers Kit (SDK)The Flex class library and command-line tools you need to build Flex applications are completelyfree. As long as

Page 16 - The Debug Flash Player

FIGURE 1.11A watermarked charting componentUsing MXMLC, the command-line compilerTo compile a Flex application with mxmlc, the command-line compiler,

Page 17 - Flash Player installation

This directory contains a file called HelloWorld.mxml, a simple Flex application. To compile theapplication, run this command:mxmlc HelloWorld.mxmlFIG

Page 18 - Uninstalling the Flash Player

SummaryIn this chapter, I gave an introduction to the world of application development with Adobe Flex.You learned the following:Flex applications ar

Page 19

06_287644-ch01.qxp 6/23/08 11:28 PM Page 28

Page 20 - CAUTION

MXML is a pure XML-based markup language that is used to define a Flex applicationand many of its components. Most of the elements in MXML correspond

Page 21 - Flex 3 development tools

FIGURE 1.1The Flex SDK and Flex Builder both compile source code in MXML and ActionScript, producing exe-cutable applications that are hosted by the F

Page 22

This ActionScript code accomplishes exactly the same steps as the MXML code in the first example.Notice that it takes four lines of ActionScript inste

Page 23

One drawback that application developers encounter with Flash is that the primary source docu-ment used in Flash, the .fla file format, is binary. As

Page 24 - Getting Help

Task Flex FlashDesign Flex has a design view for WYSIWYG Flash has very good graphic design tools, (“What You See Is What You Get”) although not as

Page 25

ModularityModularity means that an application should be built in small pieces, or modules. For example, anapplication that collects data from a user

Page 26

In the above application, all the application’s functionality is mixed together: data modeling, datacollection, and logical scripting. Although the ap

Comments to this Manuals

No comments