One of the most recent buzz words going around the Internet is "AJAX". What is AJAX? Is it a new and extremely powerful programming language? Is it an all-purpose cleaner? In plain-simple English, what exactly is AJAX?
Welcome to Bucaro TecHelp!

Welcome to Bucaro TecHelp!
Maintain Your Computer and Use it More Effectively
to Design a Web Site and Make Money on the Web

About Bucaro TecHelp About BTH User Agreement User Agreement Privacy Policy Privacy Site Map Site Map Contact Bucaro TecHelp Contact Advertise on Bucaro TecHelp Advertise Here RSS News Feeds News Feeds

HTML5 Solutions: Essential Techniques for HTML5 Developers

Essential Techniques for HTML5 Developers

HTML5 brings the biggest changes to HTML in years. Web designers now have new techniques, from displaying video and audio natively in HTML, to creating realtime graphics on a web page without a plugin.

This book provides a collection of solutions to all of the most common HTML5 problems. Every solution contains sample code that is production-ready and can be applied to any project.

Click Here

What is AJAX?

What is AJAX?

One of the most recent buzz words going around the Internet is "AJAX". What is AJAX? Is it a new and extremely powerful programming language? Is it an all-purpose cleaner? In plain-simple English, what exactly is AJAX? Well it's neither a new programming Language nor an all-purpose cleaner, it's mainly a new way of using the programming languages we already know.

In the early days of the Web, the only way to make a webpage interactive was for the user to enter data into the webpage and submit it back to the server. The server would respond by creating a new webpage, which it would send back to the user, the user's browser would load the new webpage.

DHTML (Dynamic HTML), introduced in 1997, made it possible to create interactivity on the client machine. Data and Java Script programming is sent in or along with the webpage. Java Script is used to detect events on the webpage, such as user clicks, and in response, use the XML data to modify HTML elements on the webpage. The user could interact with the webpage without having to submit it back to the server, and without having to load a new webpage. This gave the user quicker response and saved a lot of Internet bandwidth and server processing time.

The problem with DHTML is that you can send only a limited amount of data along with the initial webpage. For example, you can't send an entire database with millions of records. That would take too long. So if the scope of the user's interactivity went outside of the data sent with the initial webpage, you still needed to make a request to the server and load the new webpage returned by the server.

AJAX (Asynchronous Java Script and XML) uses Java Script in a webpage to submit requests to the server, receive XML data from the server, and modify HTML elements on the webpage, without having to load a new webpage. This greatly expands the functionality of the users webpage without the overhead of loading a new webpage after each request to the server.

AJAX functionality became available in 1999 when Microsoft implemented the XMLHttpRequest ActiveX Object in Internet Explorer 5. The Mozilla project followed by implementing the XMLHttpRequest functionality natively in the Mozilla 1.0 browser.

Creating an instance of the XMLHttpRequest object for Internet Explorer:

var req = new ActiveXObject("Microsoft.XMLHTTP");

Creating an instance of the XMLHttpRequest object for Mozilla:

var req = new XMLHttpRequest();

- Creating an XMLHttpRequest object requires a branch structure (not shown) to acomodate for browser differences in the way the objects are created.

Web Design Sections

RSS Feed RSS Feed

Google Reader or Homepage
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online

Add to My AOL
Add to Technorati Favorites!

Coding Issues
Six Ways to Center an Element on a Webpage
Don't Let doors.txt Take Control of Your Email Server
RSS Basics
Create a Favicon for Your Web Site
Create a Simple, Effective PHP Form for Your Web Site
Advantages and Disadvantages of Frames
Web Design Blunders That Can Cost You Lost Profits
How to Hide From Robots
Syndicate your own content Using aspSyndicator
Playing QuickTime Movies on Your Webpage
How To Effortlessly Use Streaming Audio
Video - Optimizing the Order of Scripts and Styles
Web Designer's Reference
Video - HTTP caching
What is a Web Service?
What is AJAX?
Updates are a SNAP With Server Side Includes
Seven Effective Ways to Build Your Own Web Site
Web Design Troubleshooting Guide
Increase Your Traffic by Recovering Your Lost Visitors
Why a CSS Website Layout Will Make You Money
Why Aren't You Using CGI?
How to Redirect a Web Page Using a 301 Redirect
Update Your Entire Website Instantly


[Site User Agreement] [Advertise on This site] [Search This Site] [Contact Form]
Copyright©2001-2011 Bucaro TecHelp 13771 N Fountain Hills Blvd Suite 114-248 Fountain Hills, AZ 85268