Skip to Content
Programming Flex 3
book

Programming Flex 3

by Chafic Kazoun, Joey Lott
September 2008
Intermediate to advanced
660 pages
20h 32m
English
O'Reilly Media, Inc.
Content preview from Programming Flex 3

Chapter 14. Working with Data

Although some Flex applications use data more extensively than others, nearly all use data to some extent. The Flex SDK is a robust set of tools for working with data. This chapter examines how to work with data on the client side without an extensive discussion of client/server data communication, which is covered in Chapter 16. Rather, this chapter focuses primarily on the following topics: modeling data and data binding.

When working with data, you generally want to store it in some sort of data repository within memory. These repositories are known as data models. In the first section of this chapter, we’ll look at each of the three basic ways to store data in data models.

You can use ActionScript for all your data management needs, but then you’re not really using the power of the Flex framework. To simplify linking data from a data model to a control or from one control to another control or component you can use a powerful feature called data binding.

Once you know the basics of working with data in a Flex application, you’ll have a foundation for sending and receiving data. That topic is discussed further in Chapter 16.

Using Data Models

You can work with data in many ways in Flex applications, including as low-level ActionScript solutions and high-level MXML solutions; this section looks at both techniques. You can use these data models as a repository for data retrieved from a remote procedure call (RPC) such as a web service method call. You can ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Programming Flex 2

Programming Flex 2

Chafic Kazoun, Joey Lott
Flex 3 Cookbook

Flex 3 Cookbook

Todd Anderson, Joshua Noble
Getting Started with Flex 3

Getting Started with Flex 3

Jack D. Herrington, Emily Kim
Flex 3 in Action

Flex 3 in Action

Jon Hirschi, Faisal Abid, Tariq Ahmed

Publisher Resources

ISBN: 9780596516215Errata