Flex 4: Data and Communications

Cost:

$695.00 (Online Class - Lodestone Live)
$895.00 (Lodestone Training Center) Classes Always Run!

Time: 10 AM - 4:30 PM EST
Length: 2 day class
Type: Instructor-led

Course Description:

This 2 day class covers the flow of data in the Flex framework using Flash Builder.

Learning Objectives:

After taking the Flex 4: Data and Communications class you will understand how to do the following:

  • Access Remote Data
  • Create a Typed Data Model
  • Extend Events
  • Render Content with the DataGroup Container
  • Display Data Using the DataGrid
  • Deploy Flex and AIR Applications

Target Audience:

This class is for developers who need to understand data transfer concepts in the Flex 4 framework. It is recommended that you attend the Flex 4: Developing Rich Client Applications class before attending this session.

Course Outline:

Unit 1: Accessing Remote Data

  • Using HTTPService to load remote data
  • Using the HTTPService class
  • Process for making HTTP requests
  • Retrieving data with lastResult
  • Understanding the ArrayCollection results
  • Using results in data bindings
  • Handling returned data and faults
  • Handling results
  • Handling faults
  • Displaying messages with an Alert pop-up
  • Using result and fault handlers example
  • Making HTTP requests with parameters
  • Using explicit parameter passing
  • Using parameter binding
  • Using the wizards
  • Understanding the CallResponder class
  • Creating a master/detail form

Unit 2: Creating a Typed Data Model

  • Understanding the need for a typed data model
  • Working with a model of generic data
  • Creating a model of typed data
  • Understanding value objects
  • Creating value objects
  • Creating an ActionScript class for typed data
  • Reviewing classpaths and packages
  • Creating class files
  • Defining class access modifiers
  • Creating class constructors
  • Defining class properties
  • Instantiating an ActionScript class
  • Populating an ArrayCollection with value objects
  • Comparing ArrayCollection with ArrayList
  • Understanding data bindings with value objects
  • Making ActionScript class properties bindable
  • Binding the view to the model
  • Binding two-way
  • Refactoring value objects
  • Downcasting object references

Unit 3: Extending Events

  • Understanding the problem with bindings
  • The problem of using bindings
  • Creating loosely coupled components
  • Defining the event type
  • Defining the event in the dispatching component
  • Triggering the event from a user or system event
  • Instantiating the event
  • Dispatching the event to the main application
  • Handling the event in the main application
  • Extending the Event class
  • Creating the extended class
  • Extending the Event class
  • Adding properties
  • Creating the constructor
  • Using the extended event class
  • Using the Metadata compiler directive
  • Dispatch the extended event
  • Handling the event in the main application
  • Dispatching a value object with the extended event
  • Accommodating a value object in the extended event
  • Overriding the clone method
  • Passing a parameter to toggle event bubbling

Unit 4: Rendering Content with the DataGroup Container

  • Displaying string data in an item renderer
  • Understanding DataGroup container basics
  • Implementing the DataGroup container
  • Using the default item renderer
  • Passing UI components in the data provider
  • Rendering visual controls
  • Mixing data item types
  • Creating a custom item renderer
  • Understanding the limits of the default item renderer
  • Creating a custom item renderer
  • Creating a nested item renderer
  • Referencing an external item renderer class
  • Using data in an item renderer
  • Using the SkinnableDataContainer
  • Implementing the SkinnableDataContainer
  • Creating the skin component

Unit 5: Displaying Data Using the DataGrid

  • Using the DataGrid control
  • Supplying data to a DataGrid control
  • Specifying DataGrid control columns
  • Formatting DataGrid control columns
  • Creating reusable label functions
  • Using item renderers and item editors
  • Understanding Item renderers versus item editors
  • Introducing the types of item renderers and item editors
  • Inline item renderers and item editors
  • Item renderer and item editor components
  • Using Spark components in item renderers
  • Using events and selected items with a DataGrid component

Unit 6: Deploying Flex and AIR Applications

  • Compiling the Flex application
  • Compiling automatically
  • Modifying compiler settings
  • Embedding the SWF in the HTML wrapper
  • Understanding the runtime shared libraries
  • Creating a Flex application production build
  • Creating a release build
  • Creating a desktop application
  • Creating an AIR project
  • Understanding some differences between Flex and AIR applications
  • Exporting a release build

To Register:

Toll Free - 866.665.9441 or click on a date to register online.

Select a Date!

9/30-10/1/2010
10:00 AM - 4:30 PM EST

Instructor:
Josh Cavalier

Lodestone Training Center:
Charlotte or Online

11/4-11/5/2010
10:00 AM - 4:30 PM EST

Instructor:
Josh Cavalier

Lodestone Training Center:
New York or Online

12/16-12/17/2010
10:00 AM - 4:30 PM EST

Instructor:
Josh Cavalier

Lodestone Training Center:
Charlotte or Online

Please note, assigned instructor may change. Lodestone confirms instructor schedules two weeks prior to class date.

*Classes are online via Lodestone Live and at a Lodestone training center.
The only time that a class will cancel is either if there is a power failure or other major disruption in service.