Suchen und Finden
CONTENTS AT A GLANCE
5
CONTENTS
7
FOREWORD
15
ABOUT THE AUTHORS
17
ABOUT THE TECHNICAL REVIEWER
19
ABOUT THE COVER IMAGE DESIGNER
20
ACKNOWLEDGMENTS
21
INTRODUCTION
23
Who this book is for
24
How this book is structured
24
Layout conventions
26
Prerequisites
27
Downloading the code
27
Contacting the authors
27
HARNESSING THE POWER OF FLEX 3
28
LEVERAGING ARCHITECTURAL AND DESIGN PATTERNS
30
Adopting architectural and design patterns
31
Benefits and challenges of adopting patterns
55
Surveying the available architectural frameworks
57
Choosing what’s there vs. creating your own
71
Summary
72
CONSTRUCTING ADVANCED COMPONENTS
74
Extending components using MXML
75
Extending components using ActionScript
81
Summary
116
TURBO-CHARGING DATA BINDING
118
Implicit and explicit data binding
120
MVC framework
123
Value object model
124
Synchronizing client and server
134
Converting between XML and value objects
135
Synchronizing XML data objects
138
Converting between a value object and binary data
143
Synchronizing binary data objects
146
Creating effective CRUD applications
155
Creating a ColdFusion CRUD application
162
Summary
170
TUNING APPLICATIONS FOR SUPERIOR PERFORMANCE
172
Run-time life cycle
173
Better application design
198
Memory usage, scalability, and accessibility
200
Summary
205
FLEX AND AIR: TAKING APPLICATIONS TO THE DESKTOP
207
AIR basics
207
Building a browser
208
Native menus
212
Building a photo browser
213
Offline data entry
221
Self-updating with AIR
228
Summary
232
INTEGRATING WITH CLIENT-AND SERVER-SIDE TECHNOLOGIES
233
INTEGRATING WITH JAVA USING SERVICES
235
Leveraging HTTP calls and web services
237
Integration based on HTTP requests
237
Integration through web services
262
Summary
279
INTEGRATING VIA DATA AND MEDIA SERVICES
283
Remoting and RPC
284
Messaging and real-time updates
308
Using server-side proxies
318
Additional useful data services tips
319
Leveraging the media server
321
Summary
324
PHP AND FLEX
326
A Flex proxy
326
Uploading media with AIR
331
AMFPHP
336
Flex and JSON
340
Flex for chat
344
Chatting on AMFPHP
350
Summary
353
TALKING WITH JAVASCRIPT AND HTML: WEB PAGE INTEGRATION
355
Hacking the Flex Builder page template
355
Flex calling JavaScript
356
Calling from JavaScript into Flex
361
Flex for widgets
363
Summary
371
GAINING REAL ADVANTAGE IN THE NEW WEB
372
FLEX MASHUPS
374
Accessing data sources
377
Working with web feeds and namespaces
392
Creating a proxy
398
Data interconnectivity
407
Mixing additional resources
417
Connections to popular APIs
419
Creating your own Flex mashup
434
Summary
435
MIGRATING WEB 1.0 INTERFACES TO RIA
438
Weighing up the status quo
439
Migration strategies
444
Strategies to port framework-based applications
463
Summary
468
SCULPTING INTERACTIVE BUSINESS INTELLIGENCE INTERFACES
470
Charts and graphs
471
AdvancedDataGrid and OLAP data grid
503
Summary
517
WORKING WITH WEB 2.0 APIS
519
Twitter
519
Integrating with Salesforce
521
Using Amazon S3 for file sharing
527
Summary
537
FACILITATING AUDIO AND VIDEO STREAMING
539
Planning phase
540
Setting up your environment and configuring the application
541
Creating the server data layer
547
Creating the business layer
556
Creating the presentation layer
563
Creating an H.264 high-definition video player
594
Summary
599
USING 3D IN FLEX
601
3D on the Web
601
3D and HID
602
3D and AS3
603
The brief
604
Papervision3D and Flex
604
Summary
608
INDEX
610
Alle Preise verstehen sich inklusive der gesetzlichen MwSt.