Results 1 to 6 of 6

Thread: jQuery AJAX vs. Adobe AIR AJAX Class

  1. #1
    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 ,

  2. #2
    Join Date
    Apr 2008
    Posts
    4,642

    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?

  3. #3
    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.

  4. #4
    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.

  5. #5
    Join Date
    May 2008
    Posts
    4,570

    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).

  6. #6
    Join Date
    May 2008
    Posts
    2,945

    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.

Similar Threads

  1. Post Multiple Data with Ajax(Jquery)
    By Tyee in forum Software Development
    Replies: 4
    Last Post: 17-06-2011, 10:22 PM
  2. what is ajax?
    By carmelmonteverdeinn in forum Software Development
    Replies: 1
    Last Post: 28-07-2010, 11:34 AM
  3. Replies: 5
    Last Post: 13-01-2010, 09:29 PM
  4. Trouble with jQuery, Ajax, Jsp
    By Kirt in forum Software Development
    Replies: 3
    Last Post: 24-04-2009, 11:02 PM
  5. What is AJAX in Asp.net ?
    By Braze in forum Software Development
    Replies: 5
    Last Post: 14-01-2009, 06:35 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,647,660.12380 seconds with 17 queries