Presentation is loading. Please wait.

Presentation is loading. Please wait.

RIA Introduce Comparison among several technology.

Similar presentations


Presentation on theme: "RIA Introduce Comparison among several technology."— Presentation transcript:

1 RIA Introduce Comparison among several technology

2 What is RIA Rich Internet Application Browser-Server architecture Friendly user experience and operation No deployment cost Refresh part of page

3 About RIA Features Beautiful and exciting outlook Maintain client’s state in client side Reduce server’s burden Use plain text file in communication

4 Main RIA technology Flex Developed by Macromedia, and now Adobe SilverLight Developed by Microsoft Ajax Based on Javascript JavaFX Developed by Sun

5 Flex Macromedia first introduce the RIA concept. Use.mxml and Action Script (.as) The final result of Flex is a Flash displayed by a browser with Flash Player. Object-Oriented

6 Flex Advantage Over 90% of the browser has installed Flash Player Different browser, same result Efficiency and resource usage are acceptable IDE (Flex Builder) is built on Eclipse, support drag and drop component into codes. Disadvantage close source Cost lot of time compiling when running the first time

7 SilverLight Microsoft want to catch up in the RIA world Use.xaml as its UI and Javascript as its script Built on.NET framework and WPF Grammar is similar to JSON, clear and easy to understand.

8 SilverLight Advantage Good at displaying and design image Support stream media (also MP3) Declarating development Developed by Windows (2009/7/10 SilverLight 3) and Based on.NET framework Disadvantage Need to install a plug-in for the browser Based on Windows OS and Mac OS

9 AJAX Asynchronous JavaScript and XML Actually not a technology, but a concept Classical pattern: CSS, Html, JavaScript and XML Core Concept: use XMLHttpRequest to refresh page partly

10 AJAX Advantage Use JavaScript, no need to learn other language Week-type language No need to install anything Open source. (jQuery, Dojo, Ext…) Disadvantage Results depend on browser.(IE6,IE7,FF…) Security issue (Violation of ‘Same Source Policy’) Not a special IDE, difficult to program and debug

11 JavaFX Developed by Sun, include JavaFX script and JavaFX Mobile Not a mature language till now, but is still growing With the support of Java, it has some privileges Running on JRE in browser

12 JavaFX Advantage Declarating development Direct call to Java code and API Support multi-thread (not in Flex) and eval (only in js) Once Developing, Run everywhere Disadvantage Incomplete support in web developing Too late Oracle has purchased Sun

13 Comparison(1) JavaFX and Flex Flex is better than JavaFX now, in tech and in usage But Flex is 3.0 while JavaFX is 1.2 Flash support Flex, which is originally designed for designer, rather than programmer. Java support JavaFX, which owns a lot of faith Java guys. (Also Swing, AWT, SWT, Java3D) Conclusion: Flex is better. But JavaFX is more promising.

14 Comparsion(2) JavaFX and SilverLight Similar to the difference between J2EE and.NET SilverLight will get more support in Windows OS JavaFX gain more in transplantation In terms of Image Support, SilverLight is better. JavaFX need to install JRE, while SilverLight need to install its plug-in and.NET Conclusion: Which to choose depends on different occasions.

15 Comparison(3) JavaFX and AJAX JavaScript is more popular and familiar JavaScript has much frameworks JavaFX gets same results among browsers JavaScript is difficult in debug. (alert?) Conclusion: AJAX is used in more cases. JavaFX is still a baby towards AJAX, but maybe exceed AJAX when Sun (maybe Oracle) pay attention to it.

16 Thanks!


Download ppt "RIA Introduce Comparison among several technology."

Similar presentations


Ads by Google