ajax还是flash

软件发布|下载排行|最新软件

当前位置:首页IT学院IT技术

ajax还是flash

  2021-03-17 我要评论
想了解ajax还是flash的相关内容吗,在本文为您仔细讲解的相关知识和一些Code实例,欢迎阅读和指正,我们先划重点:ajax还是flash,下面大家一起来学习吧。
在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.

Copyright 2022 版权所有 软件发布 访问手机版

声明:所有软件和文章来自软件开发商或者作者 如有异议 请与本站联系 联系我们