AdvancED Flex 3 (eBook)

eBook Download: PDF
2008 | 1st ed.
640 Seiten
Apress (Verlag)
978-1-4302-1028-3 (ISBN)

Lese- und Medienproben

AdvancED Flex 3 - Shashank Tiwari, Elad Elrom
Systemvoraussetzungen
50,28 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

Whether you're a Flex 3 beginner or intermediate user, this book provides the necessary information to help you develop into an expert. Using a practical hands-on approach, it illustrates exactly how to create robust and scalable enterprise-grade rich Internet applications (RIAs).

The book is divided into three parts. The first part discusses the architectural and design aspects of Flex 3 application development. It explains the internals of a Flex 3 application and advocates a few best practices to fine-tune your application to ensure maximum performance. It includes tutorials on creating custom components, data binding, and creating AIR-powered desktop applications.

The second part concentrates on effectively integrating Flex 3 with server- and client-side technologies. Techniques for integration with Java and PHP are covered in detail, and content covering interaction with client-side technologies is also included. After reading the chapter on JavaScript integration, you will be ready to create applications that can use Ajax and Flex 3 together.

The third and final part of the book is a unique and eclectic mix of some advanced topics like mash-ups, collaborative applications, 3D rendering, highly interactive visualization, and audio and video streaming.

In summary, through reading this book, you will benefit from the wealth of information and years of experience the authors hold, and will then be ready to cruise with comfort in the world of Flex 3 application development on your own.



Shashank Tiwari is a technology entrepreneur, internationally renowned speaker, author, and innovator. He is a managing partner and chief technology officer at Treasury of Ideas (http://www.treasuryofideas.com), a technology-driven innovation and value optimization company. He is adept in a multitude of technologies and his contributions to Java, Flex, Python and many open source tools and technologies have been well-recognized over the years. He lives with his wife and two sons in New York. More information about him can be accessed at his website: www.shanky.org.
One of Flex's greatest assets is its approachability. A developer new to the platform can quickly get up to speed on the tools and APIs to create functional and visually appealing applications. Components, data, networking, charting, graphics, animation, and much more are available for use even by programmers who are just starting out with Flex. Much of Flex's power and robustness for novice users comes from its built-in use of its own capabilities. For example, someone starting out may not manually insert animations into his application, but the base Flex components come with some amount of animation built in so that even the simplest of applications demonstrates dynamic behavior, contributing to a rich expe- ence for the application's users. The Flex framework also provides many powerful features so that developers, when they are ready, can add more and more of these features to their applications. For example, states and transitions offer a rich way to declaratively describe different screens of an application and a- mate between those states. This is probably not something that beginning programmers would even think to ask for, but when they are ready for states and transitions, they have immediate access to these capabilities, which is far more convenient than if they had to build states and transitions themselves.

Shashank Tiwari is a technology entrepreneur, internationally renowned speaker, author, and innovator. He is a managing partner and chief technology officer at Treasury of Ideas (http://www.treasuryofideas.com), a technology-driven innovation and value optimization company. He is adept in a multitude of technologies and his contributions to Java, Flex, Python and many open source tools and technologies have been well-recognized over the years. He lives with his wife and two sons in New York. More information about him can be accessed at his website: www.shanky.org.

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

Erscheint lt. Verlag 23.11.2008
Zusatzinfo 640 p.
Verlagsort Berkeley
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Web / Internet
Schlagworte Audio • Internet • Performance • Technology • Video • Visualization
ISBN-10 1-4302-1028-1 / 1430210281
ISBN-13 978-1-4302-1028-3 / 9781430210283
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 11,8 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Das Handbuch für Ausbildung und Beruf

von Vivian Pein

eBook Download (2024)
Rheinwerk Computing (Verlag)
39,90