出版時間:2009-4 出版社:開明出版社 作者:(美)洛特(Lott,J.),(美)凱周(Kazoun,C.) 著 頁數(shù):636
前言
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. However, 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 Programming Flex 2 then you'll find lots of new or revised content in this book.
內(nèi)容概要
如果你想用Adobe Flex一試身手來創(chuàng)建富因特網(wǎng)應用程序(RIA),這是一本讓你起步的理想書籍。《Flex 3編程》為幫助你理解Flex 3核心概念打下堅實的基礎(chǔ),并對如何、為何以及何時使用Flex的特定功能提供有價值的見解。難以計數(shù)的例子和實例代碼演示了使用免費Flex開發(fā)工具包來構(gòu)建完整實用的網(wǎng)絡(luò)應用程序的方法。本書是Adobe公司的Flex 3參考文檔的絕妙伴侶書。通過本書,你將學到:Flex框架內(nèi)部的細節(jié);使用MXML和ActionScript編程;用戶界面組件的架構(gòu)和布局;運用媒體元素的最佳實踐方法;應用程序和組件的狀態(tài)管理;關(guān)于使用變換和效果的錦囊妙計;調(diào)試Flex應用程序;在網(wǎng)絡(luò)瀏覽器中嵌入Flex應用程序;為桌面構(gòu)建AIR應用程序。 Flex 3使你置身于網(wǎng)絡(luò)和桌面的富因特網(wǎng)應用程序革命的最前沿?!禙lex 3編程》將幫助你從這項復雜強大的技術(shù)中獲得最大的收益。
作者簡介
作者:(美國)Cbafic Kazoun (美國)Joey LottChafic Kazoun是Atellis的創(chuàng)始人之一和首席軟件架構(gòu)師。從1998年開始他就使用Flash技術(shù),并且在Flex面世伊始就開始使用這項技術(shù)。.Joey Lott是Morphic Group的創(chuàng)辦合伙人之一(www.themorphicgroup.com),該公司的專業(yè)領(lǐng)域就是Flex應用程序開發(fā)。Joey也寫了很多其他關(guān)于Flex和Flash相關(guān)技術(shù)的主要書籍,包括O?Reilly的《ActionScript 3.0 Cookbook》。
書籍目錄
ForewordPreface 1 Introducing Flex2 Building Applications with the Flex Framework 3 MXML 4 ActionScript5 Framework Fundamentals6 Managing Layout7 Working with UI Components8 Customizing Application Appearance9 Application Components10 Framework Utilities and Advanced Component Concepts11 Working with Media12 Managing State13 Using Effects and Transitions14 Working with Data15 Validating and Formatting Data16 Client Data Communication17 Remote Data Communication18 Application Debugging19 Building Custom Components20 Ebedding Flex Applications in a Web Browser21 Building AIR Applications22 Building a Flex ApplicationIndex
章節(jié)摘錄
插圖:The Flex framework has a great deal of functionality built into it, making it relatively easy to start building applications. All of the user interface components and layout containers greatly simplify the process of creating a new application because you can utilize all the functionality of the components without having to write all the code to make them work. As great as that is, it would be nearly useless in most cases if you couldn't customize the appearance of the components. Yet, as we'll see in this chapter, customization of the appearance of Flex components is another built-in feature. There are essentially two ways you can customize the appearance of components:Apply styles.Change skins.Styles are settings such as color, font face, border settings, row height, and so on. These are settings that you can customize entirely programmatically both at compile time and at runtime. Styles allow you to customize a great deal of the appearance of components, yet they can go only so far. For example, if you want to change the background color of a button, you can do that using styles, but if you want to completely change the shape of a button (e.g., from a rounded rectangle to a trapezoid), you need to use a different technique in which you change the skins of the component. Skins can be graphical elements (e.g., PNG files) or programmatic elements (classes), and they allow you to not only customize the existing elements of a component, but also completely change which elements are used. Therefore, using custom skins allows you to alter the appearance of a component so completely that it is unrecognizable from its original default appearance. You can use both styles and skins at the same time (although oftentimes applying a skin will cancel out certain style settings).In this chapter, we'll look more closely at all the techniques you can use to customize application appearance through the use of styles and skins. We'll also look at working with fonts, using Cascading Style Sheets (CSS), customizing an application preloader, and creating custom themes for styling.
媒體關(guān)注與評論
“Chafic和Joey是真正的Flex專家,并為開發(fā)人員們,新手或不是新手,提供了一個絕佳的資源?!? ——Matt Chotin,F(xiàn)lex高級產(chǎn)品經(jīng)理,Adobe系統(tǒng)有限公司
編輯推薦
《FLX3編程》:O'Reilly Media,Inc.是世界上在UNIX、X、Internet和其他開放系統(tǒng)圖書領(lǐng)域具有領(lǐng)導地位的出版公司,同時是聯(lián)機出版的先鋒。從最暢銷的《The Whole Internet User's Guide & Catalog》(被紐約公共圖書館評為二十世紀最重要的50本書之一)到GNN(最早的Internet門戶和商業(yè)網(wǎng)站),再到WebSite(第一個桌面PC的Web服務器軟件),O'Reilly Meida,Inc.一直處于Internet發(fā)展的最前沿。O'Reilly已經(jīng)出版了200多種圖書,200多位員工分布在世界各地,O'Reilly是最穩(wěn)定的計算機圖書出版商——每一本書都一版再版。與大多數(shù)計算機圖書出版商相比,我們在計算機專業(yè)方面具有強烈的背景,這使O'Reilly形成了一個非常不同于其他出版商的出版方針。O'Reilly所有的編輯人員以前都是程序員,或者是頂尖級的技術(shù)專家,O'Reilly還有許多固定的作者群體——他們曾是咨詢專家,而現(xiàn)在編寫著作,我們依靠他們準時地推出圖書。因為我們緊密地與計算機業(yè)界聯(lián)系著,所以O(shè)'Reilly知道市場上真正需要什么圖書。 O'Reilly是全世界有名的計算機圖書出版公司,圖書通俗易懂,影印版沒有改動任何原書中的內(nèi)容,將O'Reilly圖書最真實的放在讀者面前,相信對于需要的人來說這是一個至寶。我想推薦這本書,因為它對ASP.NET最常用的知識和技能進行了很棒的講解。讀者通讀全書,將會碰到他們在創(chuàng)建小型動態(tài)網(wǎng)站時可能面臨的所有任務?!? ——Mike Pope,微軟用戶教育
圖書封面
評論、評分、閱讀與下載