11 responses to “De-Mystifying AJAX

  1. Well nice tuto­r­ial for begin­ners. I just hope you will rewrite your PHP code to some­thing more secure and move the db con­nec­tion to a sep­a­rate file.

  2. \“This is our func­tion that must go right after the form itself\”

    Maybe I\‘m wrong, but why right after the func­tion? I know this is for begin­ners, but if I were a begin­ner (or more of one, I sup­pose), I might take this to mean all the time (espe­cially with the ital­ics for empha­sis). It\‘s much eas­ier to cre­ate a js file to include with the func­tion in that, and I think would make things sim­pler in the long run for n00bs. Maybe in part two you could start by explain­ing this. Maybe that was the plan all along

    Nice short tutorial.

  3. Hi Chris

    Agreed — it´s a nice tuto­r­ial. But I sug­gest you warn users, that the php script is not safe per se, in case some­one is tempted to use your exam­ple code.

    Thanks!

    Raz

  4. In mootools there is a send func­tion for forms. The send func­tion send the form with Ajax.

    $(‘myForm’).send({update: ‘con­tainer’});

  5. Hi all,

    Thanks for the tuto­r­ial, but the code in func­tion send­Form() actu­ally has errors.. ;) just change “new ajax” to “new Ajax”

  6. My plea­sure ;)

  7. Thanks for your tuto­r­ial.
    It really showed how easy AJAX is with mootools. :-)

  8. Thankyou for this tuto­r­ial. being an expiri­enced PHP / MySQL coder I could see where you were com­ing from in the whole script. Thanks again!

  9. […] Here is a short guide that will teach you the ins and outs of Ajax. View Tutorial […]

Leave a Reply