Book description
With Professional Adobe Flex 3, put your prior experience with Flash, ActionScript and XML-based languages to good use and learn how to use the Flex 3 platform to create Rich Internet Applications and AIR applications. Understand the potential of the Flex 3 platform through practical examples and hands-on advice on topics like desktop deployment, developing applications in MXML, creating custom flex components, charting, targeting AIR, and data interconnectivity.
Table of contents
- Copyright
- About the Authors
- Credits
- Acknowledgments
- Foreword
- Introduction
-
I. Introduction to Flex 3
- 1. Why Flex?
-
2. The Flex 3 Ecosystem
- 2.1. A (Not So) Brief History of Flex
- 2.2. The Adobe Flex 3 Ecosystem
- 2.3. The Adobe Flex RIA Process Flow
- 2.4. Future Additions to the Flex Ecosystem
- 2.5. Summary
-
3. ActionScript 3.0 Fundamentals
- 3.1. Core Language Concepts
- 3.2. Control Structures
- 3.3. Using Classes and Data types
- 3.4. Object-Oriented Programming
- 3.5. Summary
- 4. Using ActionScript 3.0
- 5. Introduction to Flex Builder 3
-
II. Developing with Flex 3
-
6. Using Flex Builder 3
- 6.1. The Flex Compilation Process
- 6.2. About Projects
- 6.3. Creating a Flex Application
- 6.4. Creating an ActionScript Application
- 6.5. The (Undocumented) [SWF] Metadata Tag
- 6.6. Summary
-
7. MXML Fundamentals
- 7.1. Language Principles
- 7.2. Using MXML
- 7.3. Summary
- 8. Developing with Flex Builder 3
-
9. Customizing Flex Builder 3
- 9.1. Optimizing Flex Builder Performance
- 9.2. Customizing the Workbench
-
9.3. Using Code Repositories in Flex Builder
- 9.3.1. Using the Local History
-
9.3.2. Subclipse for Subversion Source Management
- 9.3.2.1. Installing Subclipse
- 9.3.2.2. The Subclipse Perspectives
- 9.3.2.3. Establishing a Repository
- 9.3.2.4. Creating a Repository Location in Subclipse
- 9.3.2.5. Sharing a Project with the Repository
- 9.3.2.6. Creating a Project from the Repository
- 9.3.2.7. Project Management for Multiple Repositories
- 9.3.2.8. Disconnecting a Local Project
- 9.3.2.9. Using Subclipse
- 9.3.2.10. Subclipse Settings
- 9.3.2.11. Migrating Subclipse Preferences
- 9.3.2.12. Bug Tracking and Subclipse in Flex Builder
- 9.4. Summary
-
6. Using Flex Builder 3
-
III. Working with Components
- 10. The Component Life Cycle and Class Hierarchy
- 11. Using Data Binding and Events
-
12. User Interface Controls and Containers
- 12.1. Static Controls
-
12.2. Input Controls
- 12.2.1. mx.controls.Button and mx.controls.LinkButton
- 12.2.2. mx.controls.TextInput and mx.controls.TextArea
- 12.2.3. mx.controls.NumericStepper
- 12.2.4. mx.controls.DateChooser and mx.controls.DateField
- 12.2.5. mx.controls.CheckBox
- 12.2.6. mx.controls.ComboBox
- 12.2.7. mx.controls.RadioButton and mx.controls.RadioButtonGroup
- 12.2.8. mx.controls.HSlider and mx.controls.VSlider
- 12.2.9. mx.controls.RichTextEditor
- 12.2.10. mx.controls.PopUpButton
- 12.2.11. mx.controls.PopUpMenuButton
- 12.2.12. mx.controls.ColorPicker
-
12.3. Layout Containers
- 12.3.1. mx.containers.Canvas
- 12.3.2. mx.container.VBox and mx.container.HBox
- 12.3.3. mx.containers.HDividedBox and mx.containers.VDividedBox
- 12.3.4. mx.core.Application, mx.containers.Panel, mx.containers.TitleWindow
- 12.3.5. mx.containers.Grid
- 12.3.6. mx.containers.Tile
- 12.3.7. mx.containers.Form
- 12.3.8. mx.containers.ControlBar
- 12.3.9. mx.containers.ApplicationControlBar
- 12.4. Navigation Components
- 12.5. List Controls
- 12.6. Summary
- 13. Layout Strategies
- 14. User Interface Integration
- 15. Getting Started with AIR
-
IV. Advanced Component Development
-
16. Custom ActionScript Components
- 16.1. Company Logo Example
-
16.2. Component Structure
- 16.2.1. Component Properties and the Flex Framework Life Cycle
- 16.2.2. Invalidate Functions
- 16.2.3. Adding Child Components
- 16.2.4. Using invalidateProperties() and Applying Properties to the Component
- 16.2.5. Measuring Components
- 16.2.6. Component Layout
- 16.2.7. Selecting the Base Class for Your Component
- 16.2.8. Sizing Child Components
- 16.3. RockerSwitch Example
- 16.4. Summary
- 17. Custom MXML Components
- 18. Extending Flex Components
- 19. Advanced Event Programming
- 20. State Management
- 21. Using Libraries
-
16. Custom ActionScript Components
-
V. Visual Effects and Multimedia
- 22. Styles
- 23. Skinning and Themes
- 24. Visual Effects
- 25. Dynamic Skinning and the Drawing API
- 26. Flash Integration
- 27. Loading External Assets
-
28. Video and Sound
- 28.1. Methods for Bringing in Media
- 28.2. Understanding Progressive Loading and Streaming
- 28.3. Video
- 28.4. Summary
-
29. Advanced Flash Integration
- 29.1. Bringing Flex Classes into Flash
-
29.2. Bringing Flash into Flex
- 29.2.1. The Flex Component Kit for Flash CS3
- 29.2.2. Porting Flash Native Components into Flex
- 29.2.3. Custom States and Transitions in Flex Components
- 29.3. Summary
-
VI. Data Management
-
30. Working with Data
- 30.1. XML
- 30.2. Collections API
- 30.3. Associative Arrays/Dictionary
- 30.4. Repeaters
- 30.5. Summary
-
31. Formatters and Validators
- 31.1. Overview
- 31.2. Formatters
- 31.3. Validators
- 31.4. Regular Expressions in ActionScript 3
- 31.5. RegExpValidator: A Validator's Validator
- 31.6. Customizing and Centralizing Formatters and Validators
- 31.7. Summary
- 32. Using the List Components
- 33. Advanced Data Controls
- 34. Drag and Drop in Flex
- 35. Drag and Drop in AIR
- 36. Using the Charting Components
- 37. Resource Bundles and Data Localization
-
30. Working with Data
-
VII. Client Communications
- 38. Browser Communication in Flex
- 39. HTML Mashups with AIR
-
40. Deep Linking
- 40.1. Deep Linking on the Web
- 40.2. Deep Linking with Flex
- 40.3. Flex 3 Support for Deep Linking
- 40.4. Real-World Deep Linking: the Space Image Browser
- 40.5. Search Engine Indexing and Optimization
- 40.6. Related Technologies and Tools
- 40.7. Summary
- 41. System Interactions in Flex
-
42. Native Desktop Support with AIR
- 42.1. Working with Windows
- 42.2. Native Menus
- 42.3. Interacting with the System Tray/Dock
- 42.4. Detecting User Presence
- 42.5. Monitoring Network Connection
- 42.6. AIR Capabilities and the Flash Runtime
- 42.7. Enabling Full-Screen Mode
- 42.8. Summary
-
43. LocalConnection and Shared Objects
- 43.1. Overview
- 43.2. The LocalConnection Class
-
43.3. Working with Local Shared Objects
- 43.3.1. Creating or Retrieving Local Shared Objects
- 43.3.2. Storing Data in Local Shared Objects
- 43.3.3. Retrieving Data from Local Shared Objects
- 43.3.4. Explicitly Saving Local Shared Objects
- 43.3.5. Deleting Properties and Destroying Local Shared Objects
- 43.3.6. Additional Information
- 43.3.7. Serializing Custom Classes
- 43.4. Summary
- 44. File Management with Flex
- 45. Local File Management with AIR
-
VIII. Server Integration
- 46. Introduction to RPC Services
- 47. Error Handling
- 48. Flex and Flash Media Server
- 49. RESTful Web Services with Flex and the Zend Framework
- 50. Integrating Flex and Java
- 51. Web Services with .NET and Flex
- 52. Offline Data Access with AIR
-
IX. Data Services
-
53. Introduction to LCDS
- 53.1. Overview of LCDS
- 53.2. Understanding LCDS
- 53.3. Creating an LCDS Project in Flex Builder
- 53.4. Troubleshooting
- 53.5. Summary
- 54. LCDS and ColdFusion
-
55. The Message Service
- 55.1. Message Service Overview
- 55.2. Message Service Technology Explained
- 55.3. Using the Message Service
-
55.4. Message Service Applications
- 55.4.1. Example 1: Chat Rooms
- 55.4.2. Example 2: Stock Price Ticker
-
55.4.3. Example 3: Generating a PDF
- 55.4.3.1. PDF Generation Overview
- 55.4.3.2. Preparing the Project
- 55.4.3.3. Configuring the JMS Queue
- 55.4.3.4. Configuring the Message Service Destination
- 55.4.3.5. Defining the Resource References
- 55.4.3.6. Creating the PDF Generator
- 55.4.3.7. Creating the JMS Queue Listener
- 55.4.3.8. Create the Flex PDF Generation Client
- 55.4.3.9. PDF Generation Summary
- 55.5. Summary
-
56. The Data Management Service
- 56.1. Overview of the DMS
- 56.2. Why Use the DMS?
-
56.3. Seeing Is Believing: The Six-Line Demo
- 56.3.1. Line 1: Declaring a Data Service
- 56.3.2. Line 2: Declaring a Collection for the Managed Data
- 56.3.3. Line 3: Providing Managed Data to a Data Grid
- 56.3.4. Line 4: Filling the Collection
- 56.3.5. Line 5: Committing Changes and Synchronizing Clients
- 56.3.6. Line 6: Reverting Changes
- 56.3.7. Behind the Scenes
- 56.4. DMS Technology Explained
- 56.5. Example Application: DMS Fleet Tracker
- 56.6. Summary
- 57. Advanced Data Management Services
-
58. The Data Services Stress Testing Framework
- 58.1. Overview
- 58.2. Stress Testing a Data Management Service Application
- 58.3. Further Topics
- 58.4. Summary
-
59. Using BlazeDS
- 59.1. Overview
- 59.2. BlazeDS Features
-
59.3. Developing a BlazeDS Project
- 59.3.1. Installing the BlazeDS Turnkey
- 59.3.2. Creating a Combined Flex/Java Project
-
59.3.3. Using a Remote Object
- 59.3.3.1. Creating a RemoteObject Instance
- 59.3.3.2. Invoking a Remote Method
- 59.3.3.3. Handling the Results of a Remote Method Call
- 59.3.3.4. Handling a Fault Generated by a Remote Method Call
- 59.3.3.5. Configuring the Remoting Service
- 59.3.3.6. Coding the Remote Java Object
- 59.3.3.7. Object Mapping
- 59.3.4. HTTP and Web Services
- 59.4. Summary
-
53. Introduction to LCDS
-
X. Using Cairngorm
- 60. MVC Frameworks
- 61. Introduction to Cairngorm
- 62. Applied Cairngorm
-
63. Advanced Cairngorm
- 63.1. The Presentation Model Pattern
- 63.2. Organizing Cairngorm Projects
- 63.3. Cairngorm Anti-Patterns
- 63.4. Customizing Cairngorm
- 63.5. Summary
-
XI. Application Development Strategies
-
64. Best Practices
- 64.1. Coding Standards
- 64.2. Object-Oriented Principles
- 64.3. Summary
- 65. The Security Model
- 66. Modular Application Development
- 67. Application Performance Strategies
-
68. Project Documenting with ASDoc
- 68.1. What Is ASDoc?
- 68.2. Using ASDoc
- 68.3. ASDoc Comments and Formatting
- 68.4. Summary
- 69. Desktop Deployment with AIR
- 70. Dual Deployment for Flex and AIR
-
64. Best Practices
-
XII. Testing and Debugging
-
71. Debugging Flex Applications
- 71.1. Overview
- 71.2. Flash Debug Player
- 71.3. The Flex Builder Debugging Perspective
- 71.4. The Command-Line Debugger
- 71.5. Additional Debugging Techniques
- 71.6. Summary
-
72. Using the Flex Profiler
- 72.1. Overview
- 72.2. Before You Get Started
- 72.3. Profiling Basics
- 72.4. Flex Builder 3 Profiling
- 72.5. The Profilers in Action
- 72.6. Creating Your Own Profiler
- 72.7. Summary
-
73. Unit Testing and Test-Driven Development with FlexUnit
- 73.1. Overview
- 73.2. Why Write Tests?
- 73.3. Technology and Terminology
- 73.4. Test-Driven Development by Example
- 73.5. Further Topics
- 73.6. Summary
- 74. The Logging Framework
- 75. The Automation Framework
- A. ActionScript Language Comparison
-
71. Debugging Flex Applications
Product information
- Title: Professional Adobe® Flex® 3
- Author(s):
- Release date: June 2009
- Publisher(s): Wrox
- ISBN: 9780470223642
You might also like
book
Adobe® Flex® 3 Bible
Flex your development muscles with this hefty guide Write programs using familiar workflows, deliver rich applications …
book
Professional BlazeDS: Creating Rich Internet Applications with Flex® and Java®
A hands-on guide to creating Rich Internet Applications (RIA) using BlazeDS BlazeDS enables you to easily …
book
ADOBE® FLEX® 3: DEVELOPING AND LOADING SUB-APPLICATIONS
Provides information about creating and loading sub-applications into your main Flex application. (Flex 3.2 only)
book
Learning Flex 4
Learn Adobe Flex 4 in a fun and engaging way with this book's unique, hands-on approach. …