Information System based on Browser/Server architecture receives more favour by endeavors. Ajax and Flash/Flex engineerings are widely used by developers in recent old ages. With the aid of these engineerings, Enterprises Information System can be optimised by utilizing an asynchronous manner.
Ajax and Flash/Flex can be operated in a more efficient manner i.e. bing hardware resources can be utilized in a more utile ways such as provide more load capacity and function more clients in analogue. This study provides a comparative survey between Ajax and Flash/Flex engineerings. Discusses their advantages and disadvantages and eventually presents a comparing on their characteristics.
Cardinal words:AJAX, Asynchronous, Flash/Flex.
Ajax and Adobe ‘s Flash/Flex are both used to make dynamic and synergistic web applications. Both are platform independent i.e. contents will render the same across different platforms and licenses for interface life. There are many similarities between the two. However, there are considerable differences every bit good. Say for illustration, Animation files in a resizable format can be downloaded quicker over a regular modem connexion because Flash is animation format package. Flash creates better interactivity by encoding information in smaller files.
The study discusses both Ajax and Flash/Flex engineering as they conflict in doing Rich Internet Application ( s ) . Both Ajax and Flex can put to death similar maps. However, there are few advantages and disadvantages to both refer to Table-1 for comparings.
What is Ajax?
Ajax is a set of engineerings which allows a web site to be really antiphonal. Most significantly Ajax supportsasynchronouscommunicating and besidespartial refreshof a web page. Here Partial refresh agencies ; when an interaction event is invoked, for e.g. when a user key-in information into a web page signifier and fires the Submit Button. The waiter processes the keyed information and returns a partial response particular to the informations it receives ( See Figure-2 ) . Notably, the waiter does non convey back an full page, compared to the traditional web application which is “ Click, Wait, and Refresh ” ( See Figure-1 ) , alternatively, merely portion of the page is updated. The web application that uses Ajax is events and informations driven, where as conventional web applications are driven by pages.
Asynchronousagencies after directing informations to the waiter, a client can go on to execute other things whilst the waiter continues to make its processing in the background. Such as, users can travel the mouse over a map in Google web site and notice a smooth, uninterrupted alteration in the show. Whereas, in traditional synchronal, approach the clients have to wait for a waiter response before go oning. Figure 1 and Figure-2 illustrates a Classical V Ajax web application interaction.
An extra important characteristic of Ajax-enabled sites is that when an event is triggered, responses from Ajax are non restricted to subjecting signifier informations or snaping a nexus. An Ajax response can be triggered in assorted Numberss of ways such as traveling a mouse over to a peculiar country on a web page, come ining portion of an entry in a text field, or dragging a map around with a pointer in Google Map etc. With these cool dynamic interactions among the user and the web page excels web applications nearer to what users experience in rich desktop applications.
Ajax Technologies at a glimpse
The engineerings included in Ajax are as follows:
- Cascading Style Sheets ( CSS )– a markup linguistic communication designed for specifying a page presentation manner, such as colourss and founts etc.
- Document Object Model ( DOM )– nowadayss a logical position of a web page in a tree construction.
Like other web applications, in Ajax-enabled web application, HTML, XHTML markup linguistic communications are used to show web pages. Java Server Pages ( JSP ) as server-side engineering can be used to bring forth web pages. Furthermore, server side application systems play an of import function in treating Ajax applications. Server side application system such Java2EE, “ includes support for user individuality direction, informations proof, and continuity, fits really good with the Ajax methodological analysis ” . Figure-3: illustrates how all these engineerings work jointly to manage a user action.
- The XMLHttpRequest object makes an asynchronous HTTP petition to the web waiter.
- The web waiter processes the petition and returns an XML papers that contains the consequence.
- The XMLHttpRequest object calls the recall ( ) map, it receives the informations and processes the consequence.
- The HTML DOM is updated.
Ajax and Server-Side Java Technologies
dobe Flash Professional Multi-Media authoring plan developed in 1996 by Macromedia and was acquired by Adobe in 2006. Flash is used to make content for the Adobe battle Platform. One of the Flash ‘s greatest strength is easiness of development.
They are really well-liked for making HTML applications and are hence really important to net development. Often assist to automatize undertakings, make web scheduling and serviceability quicker. For adding life and interactivity to a web site Flash is one of a well known method. However, it is presently parts toward developing RIAs ( Rich Internet Applications ) . The release of Adobe Flex engineering straight responds to RIA development.
Flex is exactly where Flash meets with Ajax. Both technologies aim towards making RIAs. Flex mechanism is on the presentation degree of an RIA. It is a seller specific merchandise which means it is non free and requires purchase.
Comparison between Ajax and Flex
The cardinal differences on developing Ajax and Flex are as follows:
Free and Proprietary– One of the chief characteristics of Ajax is that there are many freely available utile tools online. There is no demand for extra IDE in Ajax, as the cardinal constituents of this system merely necessitate leveraging. On the other manus Flex is a proprietary tool so it cost a spot to developers in order to utilize this development format. A paid tool assures working tool to developers. Supports for freely available may non be available.
Learning Requirement– Flex is already popular to assorted developers peculiarly those who have already got Flash experience. Unifying this fact with the bing platforms ; developers can look frontward to implement Flex based application faster. As for Ajax on the other manus, would necessitate excess from their developers particularly those who want to make Ajax application manually without the support of models. As making an Ajax based applications is hard and clip devouring when compared to Adobe Flex.
Data vs. Looks– even though each development theoretical account can be used for informations and its expressions. Flex is really utile n making great looking web sites because it traces its root from Flash. Whereas, Ajax is more adept in managing and pull stringsing informations.
As a developer one should take down the development challenges of scheduling. The complexnesss of developing Ajax application can be overcome by utilizing Ajax Frameworks such as qooxdoo, Clean Ajax and Apache XAP, these are unfastened beginning so costs nil.
However, Flash/Flex on the other manus has advantage over simpler scheduling, graphical and programmatic skinning with flash/photoshop/Illustrator/ CSS. Simpler UI ; and supports major browsers, desktops and runing system. Flex has gone unfastened beginning with Flex SDK.
Which engineering to utilize? It is up to the developer to make up one’s mind depends on what job demand to be solved foremost, and so suit in the right engineerings. Below is a list of sentiment on when to utilize these engineerings:
- To do extra serviceability betterment to an bing Web Site.
- Use Ajax if there is a demand to manage and pull stringsing big sum of informations.
Some illustrations of appropriate usage of AJAX could be client-side from proof, instant update of a peculiar field in a web page, navigational elements or simple reckoner etc.
- When there is a demand of sophisticated and synergistic informations visual image.
- When there is a demand for Video and audio playback or web camera and or microphone gaining control.
- When there is a demand of complex life or electronic image use.
- When Graphic design is core critical to a concern. E.g. Media and manner Industry.
- Thomas A. Powell. ( 2008 ) . The Complete Reference. McGraw-Hill Osborne
- AJAXwith.com. Ajax made easy. Ajax vs Flash. hypertext transfer protocol: //www.ajaxwith.com/Ajax-vs-Flash.html.
- Ed Ort, Mark Basler. Ajax Design Strategies. ( 2006 ) . hypertext transfer protocol: //java.sun.com/developer/technicalArticles/J2EE/AJAX/DesignStrategies
- Paz.com. ( 2009 ) . Macromedia and the “ AJAX Movement ” . hypertext transfer protocol: //www.pasz.com/articles/FlashVsAjax.html
- Derek Powazek, Technorati. ( 2005 ) .
- Ajax, Ajax Everywhere. hypertext transfer protocol: //www.powazek.com/2005/05/000520.html.
- Kevin Lynch. ( 2005 ) . hypertext transfer protocol: //klynch.com.