JavaScript
  Home arrow JavaScript arrow Fetching XML Data from the Server for an A...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Fetching XML Data from the Server for an AJAX Headlines System
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 5
    2006-09-26

    Table of Contents:
  • Fetching XML Data from the Server for an AJAX Headlines System
  • A brief look back at the client-side code
  • Listing the complete client-side code of the application
  • Creating an XML file for storing data

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Fetching XML Data from the Server for an AJAX Headlines System


    (Page 1 of 4 )

    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.

    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!

    More JavaScript Articles
    More By Alejandro Gervasio


       · In this concluding part of the series, you'll learn how to code a simple XML file...
     

    JAVASCRIPT ARTICLES

    - Using Click Interceptions with a Database-Dr...
    - Using JavaScript Click Interceptions in an I...
    - Using Click Interceptions with JavaScript
    - QuickSort in Action
    - Quicksort
    - Using Mod_Security to Protect Your Server
    - Detecting and Countering Server Intrusions
    - Securing Your Web Server
    - Building a Secure Web Server
    - Protecting the Server
    - Book Review: Learning the Yahoo! User Interf...
    - Dynamically Generate a Selection List in a R...
    - Intergrate DWR into Your Java Web Application
    - Detect Browser Compatibility with the Reques...
    - Using the EXT JS Date Picker Widget






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
    Stay green...Green IT