What is the difference?

Discussion in 'JavaScript' started by extrickster, Jan 7, 2011.

  1. #1
    Hello DP,

    I've seen AJAX, JQuery, and a few other programming languages similar to Javascript and I am beginning to wonder... what is the difference between these languages? :confused:

    I tried Google searching it but nothing ever gives me any useful information.
     
    extrickster, Jan 7, 2011 IP
  2. tvoodoo

    tvoodoo Active Member

    Messages:
    239
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    53
    #2
    First thing's first AJAX and jQuery aren't programming languages , just Javascript.
    AJAX comes from : Asynchronous JavaScript and XML (requests)
    And jQuery is a framework for javascript to easy the work and to bring aditional effects and functions to javascript.
     
    tvoodoo, Jan 7, 2011 IP
  3. extrickster

    extrickster Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    So to get it straight, AJAX & JQuery are extensions for Javascript... correct?
     
    extrickster, Jan 7, 2011 IP
  4. tvoodoo

    tvoodoo Active Member

    Messages:
    239
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    53
    #4
    Ajax is a request type and jQuery is an extension.
     
    tvoodoo, Jan 7, 2011 IP
  5. extrickster

    extrickster Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    This is my last question, what exactly does a request type do?
     
    extrickster, Jan 7, 2011 IP
  6. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #6
    AJAX is used to load/request content without reloading the entire page. Two examples are Google Maps and YouTube messages.

    jQuery is a framework that makes it easier to build web page components. You can make them without jQuery but it takes FAR more coding.
    It is mostly used for those cool menus and galleries that slide all over the page.

    A lot of sites use both AJAX and jQuery to load content on the fly and make it look attractive.
     
    Cash Nebula, Jan 7, 2011 IP
  7. rajvrmxx

    rajvrmxx Banned

    Messages:
    129
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    45
    #7
    Jquery and Java scipts are oftenly use dot give effects in images and texts. And about ajax, i dont have enough knowledge.
     
    rajvrmxx, Jan 20, 2011 IP
  8. buddyborg

    buddyborg Guest

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    extrickstger is opening himself up to some serious stuff. if you go seeking answers fopr your questions you are wandering into complicated territory. we've been there before though. its not too hard once you know where to look for accurate info.

    javascript is a programming language. Javascript is a loosely typed language based off of a much larger machine language called Java. Java must be compiled and deployed. Javascript is just written and processed at runtime. Both work on the web. Java works alot more elsewhere.

    AJAX is (and I could be wrong) - a javascript technique. Ajax is a javascript technique of requesting data from the server, without actually refereshing the page. Normally for data to be sent and retrieved via web, there is a page refresh. A request is made from the user to their browser. the browser sends the request to the server. the server returns data in the format of a webpage or whatever. Ajax is a javascript "script" that requires no page refresh.

    JQuery is a javascript framework. Developers were working with javascript and needed some fancy stuff put on the webpage. each time they needed fancy stuff they had to code it from blank. This became way too time consuming and tedious. So developers starting compiling and distributing pre-written code and calling them libraries. This pre-written code is essentially a folder filled with files. The files are mostly a bunch of javascript. If a developer were to get the framework files, and upload them to a folder in their website, then they have access to all the pre-written code to do a bunch of fancy stuff.

    JQuery and Wordpress are all the standard nowadays. Be unique.
     
    buddyborg, Jan 27, 2011 IP