下载 高级Flex 3编程

简介 Book Description:
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 mashups, 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.
INTRODUCTION
The idea of this book emerged as a result of the many questions that attendees posed at myFlex-related speaking events in the last 12 months. It was continuously reinforced that while many books covered the fundamentals of Flex very well, few ventured into advanced topics.
There was plenty of material to be dug up online that dealt with the advanced stuff, but there was little organized writing, especially in the form of a book, that helped a beginning Flex developer graduate to a real-world rich application developer.
I was keen to fill this gap and satiate the enthusiastic developer’s appetite. Luckily, I found Elad,Jack, Joshua, and Clay, who bolstered my quest to write such a book and helped shape ideas into reality. The result is the book you now have in your hands!
This book is pegged on the assumption that you know a few elementary things about Flex. It assumes you know some bits of ActionScript 3.0 (AS3), MXML, and the Flex compiler, at least to the extent that you can write a “Hello World” application without help. From these simple expectations, it attempts to present enough information to transform you into an expert RIA developer.
Flex 3 truly is a promising enterprise-grade framework that provides effective hooks for serverside integration, advanced data binding, high-capability rendering, media streaming, mashups,desktop-based delivery, and more. It involves a healthy mix of object-oriented programming with AS3 and declarative development with MXML. In this book, the attempt is to illustrate many of these capabilities. Two out of the three parts of this book attempt to describe all advanced features and integration scenarios.
While leveraging the advanced features is a challenge for a novice, building a well-designed and maintainable application is as much of a puzzle. Therefore, the first part of this book concentrates on effective architecture and design. In the very first chapter, you learn about good architectural and design patterns and how they apply to Flex application development. The discussion builds to explain Flex internals, data-binding issues, and framework-extension and performance-tuning recommendations in the remaining chapters in this part of the book.
After you read this book, you will be well enriched to confidently build high-quality, engaging,and interactive scalable applications. I hope you enjoy your journey through the content in this book.
目录 Summary of Contents
Advanced Flex 3 is divided into 3 parts that include 15 chapters in all.
Part One: Harnessing the Power of Flex 3
Part 1 explains how to extend Flex to achieve more than what is offered off the shelf to create superior applications.
Chapter 1: Leveraging Architectural and Design Patterns
This chapter is the 101 of how to design and architect a robust enterprise-grade Flex application. A few advanced frameworks, design patterns, and architectural principles are discussed as illustrations and prescriptions.
Chapter 2: Constructing Advanced Components
This chapter starts with lessons on extending the existing components and progresses on to explain the essentials of creating custom advanced components. A few custom advanced components are discussed in detail to explain the primary ways of creating components that have the appeal of high-definition desktop applications.
Chapter 3: Turbo-Charging Data Binding
Flex provides numerous standards-based options to bind with external data. It lets the application integrate via RESTful services, web services, or remoting, and it provides a binary protocol for faster data transmission. This chapter explains how some of these can be combined and enhanced with concepts like streaming, buffering, compressing, and multicasting to create highperformance applications that can manage high-frequency data updates. Data-aware controls, data access templates, and implicit data binding (to achieve CRUD application generation–like effectiveness) are also discussed.
Chapter 4: Tuning Applications for Superior Performance
In software development, despite all efforts, there is always room for some performance tuning. However, a fine balance has to be maintained between getting efficiency out of tuning and adding overhead due to tuning. Techniques for performance evaluation and subsequent tuning are detailed here. Also, no tuning makes sense without measuring the application performance metrics, so this topic is blended in with the topic of tuning.
Chapter 5: Flex and AIR: Taking Applications to the Desktop
AIR now makes it possible to take the interactive RIA to the desktop and have it interact with the file system and the document management technologies. It also makes it possible to include HTML technologies and Flash platform technologies under one umbrella. In this chapter, you learn all about AIR.
Part Two: Integrating with Client- and Server-Side Technologies
Part 2 focuses on how to integrate Flex with other technologies, both on the client and the server side.
Chapter 6: Integrating with Java Using Services
This chapter is about loosely coupled integration with Java back ends using a service-oriented approach. RESTful patterns, JSON transmission, and web services are explored.
Chapter 7: Integrating via Data and Media Services
In this chapter, integration between Flex and Java is explored using remoting and messagingbased infrastructure. Most of the discussion hovers around BlazeDS, its alternatives and its possible extensions. Streaming is also touched upon.
Chapter 8: PHP and Flex
PHP is the most popular open source language for building web applications. AMFPHP is an open source remoting library that connects to PHP from Flex. In this chapter, you get a chance to see Flex working with a few popular PHP tools, frameworks, and libraries.
Chapter 9: Talking with JavaScript and HTML: Web Page Integration
Flex can also integrate well with client-side technologies and help users retain browsers with their typical behavior intact while they experience rich interfaces. This chapter explains the available options, which span from parameter passing to comprehensive bridging. It also includes a discussion on widgets.
Part Three: Gaining Real Advantage in the New Web
Part 3 explains how Flex could be leveraged to implement Web 2.0 ideas in practice.
Chapter 10: Flex Mashups
Mashups are the new-generation style of dynamically creating composite applications. Mashupsare popular in the browser-based Ajax world, but they can also be as pertinent in the world of Flex. This chapter explains ways to create mashups with Flex and analyzes the advantages and pitfalls in creating mashups using this technology.
Chapter 11: Migrating Web 1.0 Interfaces to RIA
Enterprises have a lot invested in current-generation web applications and so reinventing the wheel is not an option for many of them. This chapter provides guidelines for migration with the help of two fully functional case studies that include Apache Struts and Ruby on Rails applications, respectively.
Chapter 12: Sculpting Interactive Business Intelligence Interfaces
Business intelligence and advanced analytics need advanced and configurable visual representation of manipulated data. Flex is a good choice to create rich interfaces for these. The involved concepts are explained with the help of detailed use cases in this chapter.
Chapter 13: Working with Web 2.0 APIs
Social and professional networking is a major force in the Web 2.0 evolution. This chapter will show how to create Twitter applications, integrate with Salesforce, and more. It will also discuss the challenges related to managing large volumes of networked data or lazy loading that becomes important in these scenarios.
Chapter 14: Facilitating Audio and Video Streaming
Rich Web 2.0 applications involve as much audio and video as text. Here you see how to create your own video player, jukebox, and online TV program using Flex.
Chapter 15: Using 3D in Flex
Users desire more than the regular applications when it comes to gaming. They need 3D applications.I believe that 3D will become popular with regular application development once it gets easier to build such applications. In this chapter, you get the initial lessons on how to build a 3D UI.
关于作者 About the Author
Shashank Tiwari is chief technologist at Saven Technologies(http://www.saventech.com), a technology-driven business solutionscompany headquartered in Chicago, Illinois. As an experienced software developer, enterprise architect, and computational mathematician, he is adept in a multitude of technologies and a host of programming languages.
He is an expert group member on a number of Java Community Process (JCP) specifications and is an Adobe Flex Champion. Currently, he passionately builds rich high-performance applications and advises many on RIA and SOA adoption. Many of his clients are banking, money management, and financial service companies for which he has helped build robust, quantitative, data-intensive, highly interactive, and scalable high-performance applications. He writes regularly in many technical magazines, presents in seminars, and mentors developers and architects. He is an ardent supporter of and contributor to open source software.
He lives with his wife and two sons in New York. More information about Shashank can be accessed at his web site (http://www.shanky.org).
Jack Herrington is an engineer, author, and presenter who lives and works in the Bay Area. His
mission is to expose his fellow engineers to new technologies. That covers a broad spectrum:
from demonstrating programs that write other programs in Code Generation in Action
(Manning, 2003); providing techniques for building customer-centered web sites in PHP Hacks
(O’Reilly, 2005) and Getting Started with Flex 3 (Adobe Developer Library, 2008); all the way to
writing a how-to on audio blogging called Podcasting Hacks (O’Reilly, 2005)—all of which make
great holiday gifts and are available online and at your local bookstore. Jack also writes articles
for O’Reilly, DevX, and IBM developerWorks.
Jack lives with his wife, daughter, and two adopted dogs. When he is not writing software, books,
or articles, you can find him on his bike, running, or in the pool training for triathlons. You can
keep up with Jack’s work and his writing at http://jackherrington.com.
Elad Elrom is the CEO of Elrom LLC, a Rich Internet Application firm. He has been managing and developing Internet-based applications since 2000 and has consulted for sophisticated clients including MTV Networks, Vitamin Water, Weight Watchers, Davidoff, and many more. He has been developing Flash applications since the release of Flash 5 and has been developing Flex applications since the release of Flex 2. His deep understanding of the full project cycle, as well as development in numerous programming languages, contributes to his understanding of the “big picture.” In the past, Elad served in the Israeli Navy Defense Forces as part of an elite group of engineers assisting the Israeli Navy Seals.
Visit Elad’s blog at http://www.elromdesign.com/blog/.
Joshua Mostafa grew up in the UK. Now he lives in the Blue Mountains region of Australia with his beautiful wife and their various offspring and rodents. He codes for a living, writes stories and essays on the train ride to Sydney, and sometimes tries to make music. Josh rambles, rants, and raves about technology and miscellanea on his
blog at http://joshua.almirun.com/.
Peter Elst is an Adobe Community Expert, a certified instructor, and an active member in Adobe User Group Belgium.
As a freelance Flash platform consultant and respected member of the online community, Peter has spoken at various international industry events and published his work in leading journals. Most recently Peter was lead author of Object-Oriented ActionScript 3.0 (friends of ED,2007). Visit his web site: http://www.peterelst.com.
http download
From rapidshare : AdvancED Flex 3
如何从Rapidshare上下载?
欢迎到讨论区讨论本书


