Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 03-07-2010
Member
 
Join Date: Apr 2010
Posts: 88
jQuery AJAX vs. Adobe AIR AJAX Class

I wanted to use jQuery for my upcoming project and as you are aware that the jquery comes with an included AJAX module, but I could also work with the AJAX class provided with adobe air. Which one should be fine to use in this situation ? I have done before with jQuery and so I am familiar with this library. Do you have any idea about this and is there any difference between Adobe AIR AJAX Class and jQuery's AJAX ? Thank you for any help ,
Reply With Quote
  #2  
Old 03-07-2010
Member
 
Join Date: Apr 2008
Posts: 4,641
Re: jQuery AJAX vs. Adobe AIR AJAX Class

Would you tell me something about your implementation of the code and what are the components that you are going to use. There are so many classes are provided in the Adobe AIR application and contains the complete hierarchy of the classes and you have to be care about this but first of all ,you just tell me that What Adobe AIR AJAX class are you are referring to?
Reply With Quote
  #3  
Old 03-07-2010
Member
 
Join Date: Apr 2010
Posts: 88
Re: jQuery AJAX vs. Adobe AIR AJAX Class

I got another tutorial which looks like this, please take a look at the following posted code :

Code:
$("#logbutton ").click(function(){ 
params = 'uname='+$("#uname").val()+'&password='+$("#password").val(); 
request = new air.URLRequest(server + 'loginService.php'); 
request.data = params; 
request.method = air.URLRequestMethod.POST; 
loader = new air.URLLoader(); 
loader.addEventListener(air.Event.COMPLETE, loginComplete); 
try { 
   loader.load(request); 
} catch (error) { 
   alert("Error connecting to login server.");
And, I am just telling that you could go for the same technique in the jQuery. Are you sure about the advantage of this to implement in my use within the AIR's AJAX Class ? Thanks for your help and support.
Reply With Quote
  #4  
Old 03-07-2010
Member
 
Join Date: Apr 2010
Posts: 83
Re: jQuery AJAX vs. Adobe AIR AJAX Class

The Adobe Air introduction document suggest something sample and it seems to different in Air development within three different categories:
1- HTML/Ajax
2- Flash
3- Flex
I have gone the online tutorials and figured out about some code but I am not completely sure about the differences between them and more necessary thing is that why you would select one approach over the another.
Reply With Quote
  #5  
Old 03-07-2010
Member
 
Join Date: May 2008
Posts: 4,565
Re: jQuery AJAX vs. Adobe AIR AJAX Class

I have some idea and wanted to share with you all and I got after some research. This is the proper summary of that operation :

1- HTML/Ajax, Flash, and Flex are different techniques for creating web applications. These methodologies can be combined in a single web application.
2- Adobe AIR is a runtime that facilitates you to take those web based methods and execute them as a desktop application instead of running in the browser. You can combine them in the similar application.
3- Flash is a runtime which was mainly generated to provide a rich UI to browser dependent applications. AIR brings the Flash runtime to desktop application.
4- Flash runs compiled SWF files and is scripted through the ActionScript. Flex is one of the utility such as (SDK, MXML schema for defining UI, etc), that makes it simpler to generate the application that run on the Flash runtime (it generates SWF files).
Reply With Quote
  #6  
Old 06-07-2010
Member
 
Join Date: May 2008
Posts: 2,944
Re: jQuery AJAX vs. Adobe AIR AJAX Class

According to the made decision regarding which method(s) should be applied when developing for AIR, According to me, that should be dependent on the experience and preferences of the application programmer working on this . I don't consider that Adobe provide any suggestion here because their purpose is easily to facilitate the same options for desktop developers that web developers already running with.
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags: , , , , , , , , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "jQuery AJAX vs. Adobe AIR AJAX Class"
Thread Thread Starter Forum Replies Last Post
Post Multiple Data with Ajax(Jquery) Tyee Software Development 4 17-06-2011 10:22 PM
what is ajax? carmelmonteverdeinn Software Development 1 28-07-2010 11:34 AM
Give information regarding jQuery CSS, AJAX and Call back Functions Jorgea Software Development 5 13-01-2010 09:29 PM
Trouble with jQuery, Ajax, Jsp Kirt Software Development 3 24-04-2009 11:02 PM
What is AJAX in Asp.net ? Braze Software Development 5 14-01-2009 06:35 PM


All times are GMT +5.5. The time now is 07:41 PM.