Flex 3编程(英文影印版)
基本信息
- 原书名: Programming Flex 3
- 原出版社: Adobe Dev Library
- 作者: Chafic Kazoun Joey Lott [作译者介绍]
- 丛书名: 开明出版社O'REILLY系列
- 出版社:开明出版社
- ISBN:9787802057371
- 上架时间:2009-5-27
- 出版日期:2009 年4月
- 开本:16开
- 页码:636
- 版次:1-1
- 所属分类:
计算机 > 软件与程序设计 > 网络编程 > 综合
编辑推荐
如果你想用Adobe Flex一试身手来创建富因特网应用程序(RIA),这是一本让你起步的理想书籍。
内容简介回到顶部↑
如果你想用adobe flex一试身手来创建富因特网应用程序(ria),这是一本让你起步的理想书籍。《flex 3编程》为帮助你理解flex 3核心概念打下坚实的基础,并对如何、为何以及何时使用flex的特定功能提供有价值的见解。难以计数的例子和实例代码演示了使用免费flex开发工具包来构建完整实用的网络应用程序的方法。本书是adobe公司的flex 3参考文档的绝妙伴侣书。通过本书,你将学到:.
·flex框架内部的细节..
·使用mxml和actionscript编程
·用户界面组件的架构和布局
·运用媒体元素的最佳实践方法
·应用程序和组件的状态管理
·关于使用变换和效果的锦囊妙计
·调试flex应用程序
·在网络浏览器中嵌入flex应用程序
·为桌面构建air应用程序
flex 3使你置身于网络和桌面的富因特网应用程序革命的最前沿。《flex 3编程》将帮助你从这项复杂强大的技术中获得最大的收益。...
·flex框架内部的细节..
·使用mxml和actionscript编程
·用户界面组件的架构和布局
·运用媒体元素的最佳实践方法
·应用程序和组件的状态管理
·关于使用变换和效果的锦囊妙计
·调试flex应用程序
·在网络浏览器中嵌入flex应用程序
·为桌面构建air应用程序
flex 3使你置身于网络和桌面的富因特网应用程序革命的最前沿。《flex 3编程》将帮助你从这项复杂强大的技术中获得最大的收益。...
作译者回到顶部↑
本书提供作译者介绍
Chafic Kazoun是Atellis的创始人之一和首席软件架构师。从1998年开始他就使用Flash技术,并且在Flex面世伊始就开始使用这项技术。.
Joey Lott是Morphic Group的创办合伙人之一(www.themorphicgroup.com),该公司的专业领域就是Flex应用程序开发。Joey也写了很多其他关于Flex和Flash相关技术的主要书籍,包括O·Reilly的《ActionScript 3.0 Cookbook》。...
.. << 查看详细
Joey Lott是Morphic Group的创办合伙人之一(www.themorphicgroup.com),该公司的专业领域就是Flex应用程序开发。Joey也写了很多其他关于Flex和Flash相关技术的主要书籍,包括O·Reilly的《ActionScript 3.0 Cookbook》。...
.. << 查看详细
目录回到顶部↑
foreword .
preface
1. introducing flex
understanding flex application technologies
using flex elements
working with data services (loading data at runtime)
the differences between traditional and flex web applicanons
understanding how flex applications work
understanding flex and flash authoring
what's new in flex 3
2. building applications with the flex framework
using flex tool sets
creating projects
building applications
deploying applications
3. mxml
understanding mxml syntax and structure
making mxml interactive
4. actionscript
using actionscript
preface
1. introducing flex
understanding flex application technologies
using flex elements
working with data services (loading data at runtime)
the differences between traditional and flex web applicanons
understanding how flex applications work
understanding flex and flash authoring
what's new in flex 3
2. building applications with the flex framework
using flex tool sets
creating projects
building applications
deploying applications
3. mxml
understanding mxml syntax and structure
making mxml interactive
4. actionscript
using actionscript
前言回到顶部↑
It literally took us several years to write Programming Flex 2, the predecessor to this book. We worked hard on that book, and when it was finally written and edited and proofread and off to the printer we sighed and looked forward to a break from writing about Flex. However, Flex 3 followed close on the heels of Flex 2, and as the saying goes, there's no rest for the weary. We again picked up our keyboards and started updating the book for Flex 3. The result is what you have in your hands. And it is more than a simple update.
We thought Programming Flex 2 was one of the best books available for Flex 2. How-ever, we knew we could do better. There were topics we just didn't have time to include in that book. With Programming Flex 3 we wanted to not only update the book for Flex 3, but also expand our coverage to include things that weren't in the first book.We think we achieved that goal.
The most notable additions to Programming Flex 3 are in Chapter 20, Chapter 21, and Chapter 22. In Chapter 20, we go into great detail on everything you need to know to add Flex applications to web pages, which we think is an important (if not crucial)topic. Chapter 21 covers building Adobe AIR desktop applications using Flex. And Chapter 22 contains the synthesis of everything else we discuss throughout the book.This is the one addition we think is perhaps the most important, since it helps explain how to take everything you've learned about Flex in preceding chapters and use that knowledge to build a real-world application.
However, we didn't merely add new chapters to the book. We also revised and updated all the chapters in the book. Some chapters didn't require much updating because there were minimal changes for the relevant features between Flex 2 and Flex 3. On the other hand, other chapters required extensive updates and additions. If you read Program-ming Flex 2 then you'll find lots of new or revised content in this book.
Flex 3 is huge in scope, even bigger than Flex 2. Although the learning curve is not steep (it's actually very easy to get started building Flex 3 applications), it is a long learning curve simply because of the massive amount of features packed into the framework.The official Flex documentation is quite good at telling you how to do something once you know what you're looking for. Therefore, we made it our goal to present to you a book that fills in the gaps and helps you to get comfortable enough with Flex that you can start using it right away. It is our intention in this book to provide you with practical advice from our own experiences learning Flex, and from our longer-term experiences building rich Internet applications using Flash Platform technologies.
We really feel that Flex 3 is a fantastic product and a great way to build applications.Although this is a technical book, we have poured our enthusiasm into our writing,and we'd like to think you will share our enthusiasm as you read this book. We feel that Flex 3 is a far better way to build rich Internet applications than any alternative currently on the market, and we think that as you read this book and learn how to work with Flex, you'll agree. With Flex, you have few (if any) problems involving cross-browser compatibility, network data communication is a snap, and the framework is built with solid object-oriented principles and standards in mind. In short, we feel it's the fastest way to build the coolest, most stable applications.
Who This Book Is For
This book is intended for anyone looking to learn more about Flex 3. We recognize that the audience for this book represents a very diverse group of people with many different backgrounds. Some readers may already be experts at working with Flex 2 (though they may be new to Flex 3), whereas others may never have heard of Flex before picking up this book. Some readers may have years of experience working with Flash Platform technologies, and others may be completely new to creating content that runs in Flash Player. Some readers may have computer science degrees or may have worked in the software industry for years. Yet others may be self-taught. We have done our best to write a book that will cater to this diverse group.
However, be aware that to get the most from this book, it is best that you have a solid understanding of object-oriented principles and that you are comfortable with under-standing concepts such as runtime environments, byte code, and compilers. Further-more, you will get the most from this book if you already know ActionScript, Java, C,C#, or another language that uses similar syntax. Although we did include a chapter dedicated to covering the basics of ActionScript (the programming language that Flex applications utilize), we don't discuss any of the core APIs in detail. Ifyou are interested in learning more about the ActionScript language, we encourage you to find a good ActionScript 3.0 book such as Essential ActionScript 3 and ActionScript 3 Cookbook.
How This Book Is Organized
We spent a lot of time organizing and reorganizing the content of this book. Although there is likely no one way to present the content that will seem perfect to all readers,we've done our best to present it in an order that we feel makes sense:
Chapter 1, Introducing Flex
What is Flex? What are rich Internet applications (RIAs)? This chapter answers these questions, providing a context for the rest of the book.
Chapter 2, Building Applications with the Flex Framework
In this chapter, we discuss the various elements and steps involved in building a Flex application. Topics include using the compilers, building scripts, and more.
Chapter 3, MXML
MXML is the declarative language used by Flex. In this chapter, you'll learn the basics of MXML.
Chapter 4, ActionScript
ActionScript is the object-oriented programming language used by Flex. In this chapter, you'll learn the basics of ActionScript 3.0.
Chapter 5, Framework Fundamentals
We thought Programming Flex 2 was one of the best books available for Flex 2. How-ever, we knew we could do better. There were topics we just didn't have time to include in that book. With Programming Flex 3 we wanted to not only update the book for Flex 3, but also expand our coverage to include things that weren't in the first book.We think we achieved that goal.
The most notable additions to Programming Flex 3 are in Chapter 20, Chapter 21, and Chapter 22. In Chapter 20, we go into great detail on everything you need to know to add Flex applications to web pages, which we think is an important (if not crucial)topic. Chapter 21 covers building Adobe AIR desktop applications using Flex. And Chapter 22 contains the synthesis of everything else we discuss throughout the book.This is the one addition we think is perhaps the most important, since it helps explain how to take everything you've learned about Flex in preceding chapters and use that knowledge to build a real-world application.
However, we didn't merely add new chapters to the book. We also revised and updated all the chapters in the book. Some chapters didn't require much updating because there were minimal changes for the relevant features between Flex 2 and Flex 3. On the other hand, other chapters required extensive updates and additions. If you read Program-ming Flex 2 then you'll find lots of new or revised content in this book.
Flex 3 is huge in scope, even bigger than Flex 2. Although the learning curve is not steep (it's actually very easy to get started building Flex 3 applications), it is a long learning curve simply because of the massive amount of features packed into the framework.The official Flex documentation is quite good at telling you how to do something once you know what you're looking for. Therefore, we made it our goal to present to you a book that fills in the gaps and helps you to get comfortable enough with Flex that you can start using it right away. It is our intention in this book to provide you with practical advice from our own experiences learning Flex, and from our longer-term experiences building rich Internet applications using Flash Platform technologies.
We really feel that Flex 3 is a fantastic product and a great way to build applications.Although this is a technical book, we have poured our enthusiasm into our writing,and we'd like to think you will share our enthusiasm as you read this book. We feel that Flex 3 is a far better way to build rich Internet applications than any alternative currently on the market, and we think that as you read this book and learn how to work with Flex, you'll agree. With Flex, you have few (if any) problems involving cross-browser compatibility, network data communication is a snap, and the framework is built with solid object-oriented principles and standards in mind. In short, we feel it's the fastest way to build the coolest, most stable applications.
Who This Book Is For
This book is intended for anyone looking to learn more about Flex 3. We recognize that the audience for this book represents a very diverse group of people with many different backgrounds. Some readers may already be experts at working with Flex 2 (though they may be new to Flex 3), whereas others may never have heard of Flex before picking up this book. Some readers may have years of experience working with Flash Platform technologies, and others may be completely new to creating content that runs in Flash Player. Some readers may have computer science degrees or may have worked in the software industry for years. Yet others may be self-taught. We have done our best to write a book that will cater to this diverse group.
However, be aware that to get the most from this book, it is best that you have a solid understanding of object-oriented principles and that you are comfortable with under-standing concepts such as runtime environments, byte code, and compilers. Further-more, you will get the most from this book if you already know ActionScript, Java, C,C#, or another language that uses similar syntax. Although we did include a chapter dedicated to covering the basics of ActionScript (the programming language that Flex applications utilize), we don't discuss any of the core APIs in detail. Ifyou are interested in learning more about the ActionScript language, we encourage you to find a good ActionScript 3.0 book such as Essential ActionScript 3 and ActionScript 3 Cookbook.
How This Book Is Organized
We spent a lot of time organizing and reorganizing the content of this book. Although there is likely no one way to present the content that will seem perfect to all readers,we've done our best to present it in an order that we feel makes sense:
Chapter 1, Introducing Flex
What is Flex? What are rich Internet applications (RIAs)? This chapter answers these questions, providing a context for the rest of the book.
Chapter 2, Building Applications with the Flex Framework
In this chapter, we discuss the various elements and steps involved in building a Flex application. Topics include using the compilers, building scripts, and more.
Chapter 3, MXML
MXML is the declarative language used by Flex. In this chapter, you'll learn the basics of MXML.
Chapter 4, ActionScript
ActionScript is the object-oriented programming language used by Flex. In this chapter, you'll learn the basics of ActionScript 3.0.
Chapter 5, Framework Fundamentals
序言回到顶部↑
I remember 2004. That was the year the Olympics were held in Greece. Oil rose above $50 per barrel. The Return of the King swept the Oscars. The Red Sox won the World Series. The Serendib Scops Owl was discovered in Sri Lanka... What a year! Okay, that last one I ripped off from Wikipedia. But 2004 was a big year for those owls... and it was also a big year for Internet applications. It was the year Flex was born.
A lot has changed in just a few short years. Flex 1 was very exclusive and its applications were tied to a server. It required expensive licenses and few resources were available to help you out. Flex 1.5 cut the cord between the application and the server. Suddenly, anyone could write and deploy a killer Flex app, but most folks still had not heard of Flex. When Flex 2 came out, it was really making some headway into the mindshare of rich Internet application (RIA) developers, even as the industry struggled to define what a RIA developer was. Flex got more and more press, and the SDK was finally released for free. By the time the 2.0.1 update shipped, Flex had an impressive following of designers, developers, so-called devigners, and that rarest of beasts, the Serendib developer.
And now comes Flex 3, the most complete and usable version of Flex yet. You get a profiler, OLAP, CS3 integration, refactoring, framework RSLs, deep linking, an AJAX bridge, code generation for servers, automation, just about everything you could dream of. And if something isn't in the box, you can bet someone in the community is working on it: frameworks, 3D libraries, maps, mashups, configurators, dashboards, monitors,widgets, you name it.
But with all those new features and functionality, what's the biggest change in Flex 3?..
Well, it's not a new feature, or a refactored APl. It's not the splashy new box cover,and it's not the low, low price. It's not even that snazzy new "Getting Started Experi-ence.'' No, it's none of these things. To see the biggest change in Flex 3, to really see it, you need to stand up, walk down the hall, step into the bathroom (after knocking politely, of course), and look in the mirror. The biggest change in Flex 3 is you. That's right. With Flex 3, you, I, or anyone else can contribute to the open source Flex SDK.You can stick your hand into the belly of the beast, tweak its spleen, sew it up, and reawaken a whole new beast. With just a text editor and an Internet connection, you can become a contributor on this leading RIA technology.
So, where does this book fit in? Looking at the existing Flex 3 product documentation,I see more than 2,300 pages of content and nearly 1,200 example applications. I even wrote a couple of those, although if you comer me with a compiler error, I'll deny it.And that doesn't even include the Language Reference, with thousands more "virtual"pages of developer doc. So, why do we need a book about Flex 3 if so much content is already available?
Well, when they wrote Programming Flex 2, the first edition of this book, Chafic and Joey learned how to use Flex 2 from the outside in. This was before the source code was even available to look at. They managed to figure out how to do such things as work with remote data, navigate the complexities of the Flex layout schemes, and create incredible custom components. They were real developers solving real problems and writing real code. I remember looking at many of the topics in that edition and saying to myself, "I wish I had written that." These guys took incredibly complex topics and distilled them into the information you needed.
For this edition, Chafic and Joey looked at the product from the inside out. They peeled
back the skin and saw the sinewy skeleton of a dynamic framework that will define the next generation of web apps. If you're designing a video player, there's a chapter for you. If you've got a yen for currency formatters, this book has you covered. If you just want to get a handle on the application life cycle, you came to the right place.
So, this book will tell you what Flex 3 is. And after you read it, you might discover something that Flex 3 isn't. But now there's something you can do about it. At some late hour, when everyone else is asleep, if the inspiration strikes you, you might screw up your courage and heap on the moxie, and put your mark on the Flex world by joining the forces at http://opensource.adobe.com/flex. This book is just the beginning.
--Matt Horn
Adobe ...
A lot has changed in just a few short years. Flex 1 was very exclusive and its applications were tied to a server. It required expensive licenses and few resources were available to help you out. Flex 1.5 cut the cord between the application and the server. Suddenly, anyone could write and deploy a killer Flex app, but most folks still had not heard of Flex. When Flex 2 came out, it was really making some headway into the mindshare of rich Internet application (RIA) developers, even as the industry struggled to define what a RIA developer was. Flex got more and more press, and the SDK was finally released for free. By the time the 2.0.1 update shipped, Flex had an impressive following of designers, developers, so-called devigners, and that rarest of beasts, the Serendib developer.
And now comes Flex 3, the most complete and usable version of Flex yet. You get a profiler, OLAP, CS3 integration, refactoring, framework RSLs, deep linking, an AJAX bridge, code generation for servers, automation, just about everything you could dream of. And if something isn't in the box, you can bet someone in the community is working on it: frameworks, 3D libraries, maps, mashups, configurators, dashboards, monitors,widgets, you name it.
But with all those new features and functionality, what's the biggest change in Flex 3?..
Well, it's not a new feature, or a refactored APl. It's not the splashy new box cover,and it's not the low, low price. It's not even that snazzy new "Getting Started Experi-ence.'' No, it's none of these things. To see the biggest change in Flex 3, to really see it, you need to stand up, walk down the hall, step into the bathroom (after knocking politely, of course), and look in the mirror. The biggest change in Flex 3 is you. That's right. With Flex 3, you, I, or anyone else can contribute to the open source Flex SDK.You can stick your hand into the belly of the beast, tweak its spleen, sew it up, and reawaken a whole new beast. With just a text editor and an Internet connection, you can become a contributor on this leading RIA technology.
So, where does this book fit in? Looking at the existing Flex 3 product documentation,I see more than 2,300 pages of content and nearly 1,200 example applications. I even wrote a couple of those, although if you comer me with a compiler error, I'll deny it.And that doesn't even include the Language Reference, with thousands more "virtual"pages of developer doc. So, why do we need a book about Flex 3 if so much content is already available?
Well, when they wrote Programming Flex 2, the first edition of this book, Chafic and Joey learned how to use Flex 2 from the outside in. This was before the source code was even available to look at. They managed to figure out how to do such things as work with remote data, navigate the complexities of the Flex layout schemes, and create incredible custom components. They were real developers solving real problems and writing real code. I remember looking at many of the topics in that edition and saying to myself, "I wish I had written that." These guys took incredibly complex topics and distilled them into the information you needed.
For this edition, Chafic and Joey looked at the product from the inside out. They peeled
back the skin and saw the sinewy skeleton of a dynamic framework that will define the next generation of web apps. If you're designing a video player, there's a chapter for you. If you've got a yen for currency formatters, this book has you covered. If you just want to get a handle on the application life cycle, you came to the right place.
So, this book will tell you what Flex 3 is. And after you read it, you might discover something that Flex 3 isn't. But now there's something you can do about it. At some late hour, when everyone else is asleep, if the inspiration strikes you, you might screw up your courage and heap on the moxie, and put your mark on the Flex world by joining the forces at http://opensource.adobe.com/flex. This book is just the beginning.
--Matt Horn
Adobe ...







点击看大图


加载中...

