ajax還是flash_IT 業界

來源:互聯網
上載者:User
在2006年,各種各樣的web2.0應用程式層出不窮,各種標著web2.0的網站更是數不勝數

在web2.0的推動了ajax技術也受到大家廣泛的關注,關於javascript / ajax / css 的書籍也一本本出現在我們面前

顯然2006年是ajax技術得到發展並慢慢成熟的一年,各種各樣的ajax以及web UI的架構讓人眼花繚亂,無從選擇

web2.0的理念已經漸漸的深入人心,號稱web2.0的網站每時每刻都在出現

那麼到底什麼時候web2.0?我的理解是:極好的使用者體驗,很強的使用者互動性

ajax技術就是為了改善使用者體驗而產生的,由此而產生的無重新整理,對話方塊等模式也是為了改善使用者體驗

隨著ajax技術的越來越受到網站,開發人員的關注和實踐,各大巨頭當然不會放過這個機會,微軟/yahoo/google紛紛推出了自己的ajax架構

ajax如日中天,獲得了巨大的追捧,但是ajax也有很多的缺點:


1:基於javascript的開發讓很多人很頭疼,缺少開發/調試工具支援,開發效率不高,代碼難以維護
2:瀏覽器安全色性,javascript/css都要考慮到瀏覽器安全色性,要做到100%的瀏覽器安全色性幾乎不可能,雖然有很多很好的跨瀏覽器架構使用,但是很難找到一個很成熟的使用
3:缺少UI組件支援,單純的幾個表單控制項顯然滿足不了專業的應用
4:沒有繪圖引擎,雖然有vml和svg,但是在ie和ff各自為政
5:運行速度慢,對於大量資料的應用,顯示資料和處理資料線率都比較低,而且在ie下記憶體泄露更是很難避免(ie7記憶體管理應該好多了)
6:要是你使用各種各樣的ajax架構的話,你的網路頻寬也許成為問題,像prototype/dojo/yui/atlas都是身材不菲的


哈哈,說了這麼多的ajax,該說說flash了,想必大家都用過大名鼎鼎的flash/dreamweaver,它們正是adode公司的傑作(收購Macromedia公司的),作為web開發的領導者當然不會放過web2.0這個大好機會,flex的推出正是順應了這個趨勢,appllo也快要出來

flex2官方網站介紹:


Adobe® Flex™ 2 可以在企業內部或在 Web 上建立並交付豐富 Internet 應用程式 (RIA),堪稱最完整、最強大的 RIA 開發解決方案。 它使企業能夠建立個人化的豐富多媒體應用程式,極大地提高使用者的體驗,徹底革新人與 Web 的互動關係。
Adobe Flex Builder™ 是基於 Eclipse™ 的 IDE,用於開發能將傳統型應用程式的豐富性和 Adobe 業務平台的跨平台性相結合的 RIA。 Flex Builder 使開發人員能夠快速構建能與 XML、web 服務或 Flex Data Services 整合的豐富用戶端邏輯。 使用精準的設計和排版工具,使用者介面設計人員能夠建立更豐富多彩、可自訂外觀的應用程式介面。


flex正來勢洶洶,得到很多flash愛好者的關注和實踐,讓人知道了flash不僅可以製作美輪美奐的動畫效果,也可以開發出具有良好使用者體驗的複雜應用

哈哈,簡直是太完美了,聽說actionScript3.0的執行效率是actionScript2.0的10倍,不知道是不是忽悠的

為什麼不試試flash/flex來實現你偉大的web2.0應用呢?莫非是傳說中的SEO?

在轉一點adobe網站中利用Flex開發的好處:


Benefits of using Flex 
Enhanced user experience Flex lets you build applications that provide an engaging user experience. An engaging user experience ensures that customers are drawn into your application, that they understand how to use it, and that they can more quickly complete a task or find the information they are seeking.

A complete environment Flex is a powerful application development solution for creating and delivering RIAs within the enterprise and across the web. It provides a modern, standards-based language and programming model that supports common design patterns and includes a highly productive IDE.

Common deployment environment Flex applications execute on Flash Player 9, which is platform independent, so customers do not need to install custom client software. Also, Flash Player runs consistently in all browsers and platforms, so you do not have to worry about inconsistent behavior in different client environments. 

Enterprise-class features You can use Flex Data Services to transparently synchronize data and support real-time data push. Messaging capabilities enable more robust applications that continue to function after network connectivity is lost and allow multiple people in different locations to browse or chat in the same application. These features, plus the ability to integrate audio and video, open the door to new ways of interacting with customers, partners, and employees.

Eliminate page loads Applications running in Flash Player behave like desktop applications, instead of a series of linked pages. Flash Player manages the client interface as a single, uninterrupted flow and does not require a page load from the server when the client moves from one section of the application to another.

Standards-based architecture Flex, ActionScript, and MXML are designed to existing standards. MXML is XML compliant, implements styles based on the Cascading Style Sheets, level 1(CSS1) specification, and implements an event model based on a subset of the W3C DOM Level 3 Events specification. ActionScript is an ECMAScript-based language that provides support for object-oriented development. The Flex server executes on standard J2EE platforms or servlet containers.

Cross-browser compatibility Web applications should run the same on all browsers and platforms. By standardizing on Flash Player as the client environment, you are guaranteed a consistent user experience on all platforms and browsers. For more information, see Deploying Flex applications on Flash Player.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.