Home arrow JavaScript arrow Fetching XML Data from the Server for an AJAX Headlines System
JAVASCRIPT

Fetching XML Data from the Server for an AJAX Headlines System


Have you been trying lately to add a touch of interactivity to your existing website with AJAX? Then hopefully this series will catch your attention quickly! Welcome to the final installment of the series “Building a headlines system with AJAX.” In two parts, this series teaches you how to create a highly expansible application that displays dynamic headlines on a web page by using the powerful features of AJAX.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 5
September 26, 2006
TABLE OF CONTENTS:
  1. · Fetching XML Data from the Server for an AJAX Headlines System
  2. · A brief look back at the client-side code
  3. · Listing the complete client-side code of the application
  4. · Creating an XML file for storing data

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Fetching XML Data from the Server for an AJAX Headlines System
(Page 1 of 4 )

Introduction

Undoubtedly, when it comes to finding new ways to apply the great capacities of AJAX-based technology, possibilities are not only numerous, but exciting. True to form, the conditions offered by this new development scenario provide web developers with a huge range of applications that were unimaginable a few years ago. These days, it’s commonplace to see how web-based email systems or even many front ends implemented by some search engines behave like true desktop applications, all inside the context of a web browser.

However, in this case I’ll be a little more moderate and keep the usage of AJAX limited to building the headlines system that I mentioned earlier, which consists of an application worthwhile to include on any website that wants to empower its visitors’ experience.

Returning to the first part of the series, hopefully you’ll remember all the steps that I followed to construct not only the presentation layer of the application, that is the CSS styles and structural (X)HTML markup respectively, but the bunch of JavaScript functions aimed at fetching headlines in the background with no page reloads.

In addition, you should recall the fact that all the data to be displayed on the browser was initially retrieved from an XML file, which until now remains undefined. Over the course of this last article, I’ll show you how to create this file, in this way completing the AJAX-driven headlines system.

This experience will reaffirm your background on how to work with HTTP requester objects, as well as possibly fill some gaps concerned with fetching XML data with JavaScript. So, that’s what we’ll learn in this article. Let’s get going!


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- More Top jQuery Tutorials for Beginners
- More Top jQuery Plugins for Menus
- Top jQuery Tutorials for Beginners
- New UI Framework and SDK for JavaScript Rele...
- JavaScript OpenPGP Tool, Node.js 0.6.3 Avail...
- Yahoo Releases Cocktails Language and Develo...
- Customizing jQuery Slideshows: Dynamic Contr...
- Customizing jQuery Slideshows: the animate()...
- Customizing jQuery Slideshows: slideUp() and...
- Customizing jQuery Slideshows: hide() and sh...
- Web Workers: Performing Calculations in Para...
- More Top JavaScript Frameworks and Libraries
- More Dynamic jQuery Styling Techniques
- The Top JavaScript Libraries
- The Top JavaScript Frameworks

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 5 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials