background preloader

Ajax

Facebook Twitter

30 Fresh AJAX Tutorials And Techniques. Jan 04 2010 By Paul Andrew Using AJAX on websites and applications is pretty much taken for granted nowadays. Users expect it. They want to be able to edit a page in-place, they want search queries to be auto-suggested, and they want to be able to submit a form without refreshing the page. Why? Because those things make browsing quicker, easier and, more importantly, enjoyable. As great as AJAX is, though, it is not for every website or application. In this round-up, we have collected 30 fresh AJAX tutorials and techniques, covering almost every aspect of AJAX development: forms, applications, polls, editing, parsing, visual effects and much more. AJAX Tutorials And Techniques Creating an AJAX Web App Using the Bit.ly API Using Twitter’s URL shortener, bit.ly, and the jQuery library, you will be taken through the process of building an AJAX Web app. A Simple AJAX Website with jQuery Using jQuery, PHP and CSS, you will go through the process of creating a basic AJAX website.

About the Author. AJAX Tutorial. AJAX Tutorial - Google Code University - Google Code. Ajax Tutorial - Tutorial. Ajax is a catchy name for a type of programming made popular in 2005 by Google and other big web developers. Ajax loosely stands for Asynchronous Javascript And XML, but that just sounds like techno jargon to many people. In plain English, Ajax can be thought of Javascript on steroids. When javascript was released, people loved all the cool things you could do with the web browser to make a more user-friendly experience.

You could do form validation, quirky popup messages, make cool web tools and more. If you wanted to get any information from a database on the server, or send user information to a server-side script like PHP, you had to make an HTML form to GET or POST data to the server. Ajax attempts to remedy this problem by letting your Javascript communicate directly with the server, using a special Javascript object XMLHttpRequest. Pretty much. Ajax can be quite confusing to someone with little web programming experience.

Ajax Tutorial Round-up. A Tutorial On Using AJAX In WordPress. This Ajax tutorial should be considered fairly advanced, and continues on from last time where we learnt how to use custom database tables from within a WordPress template – in my example, a simple existing table of customer data was used. When it comes to inserting things back into the database though, we’re going to be making use of a little AJAX magic within WordPress. All the code in todays tutorial will therefore be referencing what we wrote last time, but if you’re just looking for how to do AJAX in WordPress then it’s equally as relevant. Why Use AJAX? The most common use of AJAX is related to forms – checking if a username is taken, or populating the rest of the form with different questions depending on a particular answer you give.

Basically though, you use AJAX whenever you want an event (like a user clicking something, or typing something) tied to a server-side action that occurs in the background. Overview of How To Use AJAX in WordPress Creating the Form The PHP Receiver.