Download presentation
Presentation is loading. Please wait.
Published byAmi McDowell Modified over 9 years ago
1
Ajax VS Flex A comparison based on shopping cart implementation PoHsu Yeh py2157
2
Agenda Goal of this project Flex introduction Ajax introduction System architecture Demo Conclusion
3
Goal implement a web shopping cart improve user experience o drag and drop o real time feedback search comparison o performance o complexity o learning curve
4
What is Flex? a standards-based programming methodology for building presentation tier of rich internet application must run in Flash Player,and is able to interact with server- side functionality, such as web services, java objects, and other services benefits o standards-based architecture, MXML, Actionscript o reduction in server load and bandwidth, no page refresh o common deployment environment, Flash player which is platform-independent, runs consistently in all browsers
5
What is Ajax? Acronym: Asynchronous JavaScript and XML JavaScript + XML + XMLHTTPRequest use JavaScript to make asynchronous calls to web-based services that return XML Benefits o allows users to continue interact with web page while waiting for data returned o partially update web page without refreshing o result in better user experience o some Ajax library, is used to reduce amount of code, Ex:Prototype, Dojo,Rico, Yahoo UI library, Microsoft Ajax Library
6
System Architecture
7
Demo
8
Conclusion Development complexity 1. Drag and Drop in Flex, enable 3 properties of datagrid control in Microsoft Ajax library, implement 2 interface, roughly 6 methods for each interface 2. Real time feed back search in Flex, make web service call and data binding in Ajax, make web service call, callback function will be called and update corresponding DOM element learning curve Flex, non-technical developer Ajax, OO concept, DOM, HTML/DHTML, JavaScript, XML Performance analysis 1. Initial load time 2. Response time
9
Thank you
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.