JavaScript
  Home arrow JavaScript arrow Creating the Front End of a Headlines Syst...
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

Creating the Front End of a Headlines System with AJAX
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 8
    2006-09-19

    Table of Contents:
  • Creating the Front End of a Headlines System with AJAX
  • Defining the application's front end
  • Creating the (X)HTML markup and CSS rules of the headlines application
  • Defining the behavioral layer of the headlines application
  • Listing the full client side source code

  • 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


    Creating the Front End of a Headlines System with AJAX


    (Page 1 of 5 )

    In this first part of a two-part series, I will show you how to develop a small application which uses AJAX as its workhorse. The application will display dynamic headlines, previously fetched from a simple XML file, on a web page.
    A downloadable file for this article is available here.

    Introduction

    These days, the number of websites that use AJAX for the driving technology to build richer Web applications is really remarkable. To see an illustrative example in action, you must take a look at the progressively popular Google's Gmail service, which demonstrates how an excellent implementation of JavaScript-based HTTP requests can be used for creating a full-featured web-based email application.

    However, there's no need to examine only the Gmail service to realize the deep impact that AJAX-driven applications have had in the vast terrain of Web development. As you've probably seen, the Web includes plenty of sites that utilize AJAX  to provide visitors with a richer and more interactive experience. Many of them introduce this technology particularly for creating small applications.

    Speaking more specifically, there are numerous websites (most of them are online newspapers) that use a huge variety of AJAX-based systems to display their breaking news and headlines on the front page. This is very handy since these mechanisms also have additional features, like navigational buttons, cool image pre loaders, sound controls, and so forth.

    To be frank, I don't want to be that ambitious with reference to the subject of this series, but since I found the above mentioned applications interesting, I propose to build a headlines system with AJAX, which can be easily extended with only minor hassles. In addition, one of the best features offered by this news-displaying mechanism is its ability to read all the headlines from a single XML file, something that speaks for itself about the versatility of the system.

    Having introduced the theme of this two-part series, it's time to leap forward and learn how this AJAX-based headlines system can be created in a few simple steps. Let's get started!

    More JavaScript Articles
    More By Alejandro Gervasio


       · If you're a web developer that wants to use AJAx in a creative way, I hope this...
       · I don't understand two style definitions for the paragraph tag. Won't one just...
       · Thanks for pointing out that bug to me. Yeap, the two definitions for the paragraph...
       · Hello,I'm not a web developper but I like to do little things with javascript....
       · Hello jean-marc,Thank you for the kind words on my tutorials. I'm really glad to...
     

    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 4 hosted by Hostway
    Stay green...Green IT