1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Is AJAX is easy to learn

Discussion in 'Programming' started by gr8webseller, Jul 14, 2009.

  1. #1
    i am going to learn AJAX for designing my website, i like to know weather AJAX is easy to learn or not
    SEMrush
     
    gr8webseller, Jul 14, 2009 IP
    SEMrush
  2. garrettheel

    garrettheel Peon

    Messages:
    341
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    that's a subjective question and the answer varies entirely depending on your background. before you even look at ajax you'll need to have a good understanding of javascript.
     
    garrettheel, Jul 14, 2009 IP
  3. gr8webseller

    gr8webseller Peon

    Messages:
    1,097
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks for the nice info
     
    gr8webseller, Jul 14, 2009 IP
  4. credobyte

    credobyte Peon

    Messages:
    40
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    It's not an easy task to understand AJAX, however, if you are good at JavaScript, it'll not be that hard ( only a few new elements/conceptions ).
     
    credobyte, Jul 14, 2009 IP
  5. Bohra

    Bohra Prominent Member

    Messages:
    12,579
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #5
    if u are good in javascript then yea if not no..
     
    Bohra, Jul 14, 2009 IP
  6. mrdo

    mrdo Well-Known Member

    Messages:
    1,542
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    138
    #6
    It's not too hard to learn if you know javascript.
     
    mrdo, Jul 14, 2009 IP
  7. mandoy

    mandoy Peon

    Messages:
    27
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Learning anything is simply always a matter of putting in the hours,
     
    mandoy, Jul 18, 2009 IP
  8. 3zzy

    3zzy Member

    Messages:
    34
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #8
    I tend to disagree. I can do pretty much anything in jQuery although my JS skills aren't so sharp. jQuery is really easily to pickup if you're good at HTML/CSS and have a working knowledge of JS.
     
    3zzy, Jul 18, 2009 IP
  9. Phynder

    Phynder Well-Known Member

    Messages:
    2,606
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    178
    #9
    Almost as easy as SAJAX, but you need skills with VANNA RPC to be successful.
     
    Phynder, Jul 18, 2009 IP
  10. porntorch

    porntorch Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I agree with this person.

    I had a good working knowledge of JS before I got into jQuery, but I do all my JS work through jQuery now.

    If you're going to get into AJAX properly, I'd advise learning jQuery first, and then getting into AJAX through it.

    Try this site: www.visualjquery.com

    It has a visual representation of all the jQuery functions, as well as in-depth descriptions of all of them, examples, usage etc. Brilliant site.
     
    porntorch, Jul 19, 2009 IP
  11. Arionix

    Arionix Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    AJAX isn't a language. It's just an application of Javascript with XmlHttpObject. What makes AJAX cool is how you want to use it. Just bare that in mind.
     
    Arionix, Jul 20, 2009 IP
  12. arunmaniaswin

    arunmaniaswin Active Member

    Messages:
    129
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    75
    #12
    ajax is easy to learn, refer World wide web and internet programming(author :Dietel)4th edition,
     
    arunmaniaswin, Jul 21, 2009 IP
  13. jbrooksuk

    jbrooksuk Active Member

    Messages:
    127
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    81
    #13
    You all say you have to have experience with JavaScript, bullshit. You need to understand the basics and if you don't use a library such as jQuery or Prototype.

    On top of that you do need to understand a server side language such as PHP or ASP...

    AJAX is very simple if you know a server side language. POST or GET and away you go.
     
    jbrooksuk, Jul 21, 2009 IP
  14. stOK

    stOK Active Member

    Messages:
    114
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #14
    +1.
    Ajax is just async extension to JS machine. You have to complete two steps:
    1) learn javascript
    2) understand async mechanics behind few functions.
     
    stOK, Jul 22, 2009 IP
  15. jbrooksuk

    jbrooksuk Active Member

    Messages:
    127
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    81
    #15
    Following on from my post....

    If you decide to use jQuery (which I recommend), take a look at a tutorial I just wrote on jTutorials.co.cc

    www.jtutorials.co.cc/tutorials/simple-ajax/
     
    jbrooksuk, Jul 22, 2009 IP
  16. garrettheel

    garrettheel Peon

    Messages:
    341
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Well, IMO, jumping into jQuery or another JS library isn't a great idea before at least making yourself familiar with the concepts of JavaScript.

    Also saying that you don't need to know anything about JavaScript before using AJAX is stupid/misinformed. Even if you can query a server side script for data after following some quick tutorial, it's doubtful that you'll be able to do something useful and genuinely beneficial to usability with that data without having a general understanding of how everything works.
     
    garrettheel, Jul 23, 2009 IP
  17. jbrooksuk

    jbrooksuk Active Member

    Messages:
    127
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    81
    #17
    Not really. Did you read the tutorial link I posted? It was all jQuery there...
     
    jbrooksuk, Jul 23, 2009 IP
  18. garrettheel

    garrettheel Peon

    Messages:
    341
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #18
    I did have a quick look at your tutorial and it was exactly what I thought it would be. Sure, you can use a couple of lines of jQuery to get a simple string back from a server. But let me ask you this.. just try and do something useful without having proper knowledge of how JS works (for example the data types and common functions).

    You got one result back with the tutorial? Great. Now what happens when I want to get two, or three, or 100? Now what happens when I want to sort them alphabetically and cycle through them to only show certain ones depending on the user interaction?

    The point I'm making is that you're going to have to know how to use JS properly if you want to use AJAX successfully. Your tutorial is great for a beginner, but from a realistic standpoint - it wont lead to anything useful without the JS knowledge. And you seem to forget that jQuery is simply a library for JS, and that you're still writing JS regardless.
     
    garrettheel, Jul 23, 2009 IP
  19. jbrooksuk

    jbrooksuk Active Member

    Messages:
    127
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    81
    #19
    Wow, aren't you the clever one..

    If you read the article name, you'd understand the principle behind why I posted it here too. To show how easy it is.

    Sending more strings is just as easy, requires a bit of modification, but it's nothing like rocket science.

    PHP handles query strings like so:
    ?one=1&two=2&three=3
    Code (markup):
    You just split each one of those queries like so:
    $one = $_POST['one'];
    $two = $_POST['two'];
    $three = $_POST['three'];
    
    Code (markup):
    Still not hard is it...
     
    jbrooksuk, Jul 23, 2009 IP
  20. garrettheel

    garrettheel Peon

    Messages:
    341
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #20
    Not trying to be clever, trying to show you that useful AJAX requires some knowledge. And if you'd read what I had said, you would have realized I said multiple strings in the result, not in the query. That's when you'd need to use JavaScript to format these results into something usable.
     
    garrettheel, Jul 23, 2009 IP