JavaScript
  Home arrow JavaScript arrow Building the Behavioral Layer for a Networ...
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  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
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

Building the Behavioral Layer for a Network Processor with AJAX
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2006-12-27

    Table of Contents:
  • Building the Behavioral Layer for a Network Processor with AJAX
  • Listing the previous client-side code of the networking application
  • Querying an Internet host in the background
  • Turning query buttons into functional controls
  • Listing the full client-side 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


    Building the Behavioral Layer for a Network Processor with AJAX


    (Page 1 of 5 )

    If you’re one of those web developers who’s searching for new and imaginative ways to use the neat features that come packaged with AJAX, then this material might be what you’re looking for. Welcome to the second article of the series “Creating a network processor with AJAX.” Made up of three understandable tutorials, this series shows you how to build a networking application that uses AJAX to perform several queries in the background, and display the corresponding results on the browser.

    To be frank, building simple networking programs with the assistance of AJAX can be done without minor problems. It’s possible to create a friendly front-end which can interact with the server via JavaScript to run different network utilities.

    Part of this process was profusely explained in the first part of the series, where I went through the development of a basic graphical interface. The interface provided users with a group of buttons and an input box for running several queries against a selected Internet host.

    Also, among the decent variety of network utilities that can be performed by this application, you can find the popular “ipconfig” and “netstat” commands (available on Windows-based systems), scanning TCP ports, searching DNS records, and many more. So the program in question can be used at least to perform basic tasks in real networking environments. That's pretty good, considering that all these processes are executed using only a web browser!

    All right, now that you hopefully recall all the topics that were treated over the course of the preceding article, let me tell you what you’ll learn in this new tutorial. As you’ll probably remember, even when the user interface that corresponds to this application was completely developed, the group of JavaScript functions responsible for sending out queries in the background, along with displaying eventual results, remained undefined.

    That’s precisely the subject of this second article of the series. In the next few lines, I’m going to show you how to define some simple JavaScript functions aimed at querying a given Internet host and returning the potential results to the browser.

    This educational journey is just about to begin. Want to see how this story continues? Okay, let’s do it together!

    More JavaScript Articles
    More By Alejandro Gervasio


       · Over this second article of the series, the complete set of JavaScript functions...
     

    JAVASCRIPT ARTICLES

    - 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
    - Ajax Hack for Entering Information Without R...
    - EXT JS 2.1 Overview
    - Using the Style Object for Zebra Tables with...
    - Binary Searching
    - An Improved Approach to Building Zebra Tables
    - Assigning Background Colors Dynamically to Z...
    - Building Zebra Tables with CSS and JavaScript
    - JavaScript: Array Objects
    - A Closer Look at Smart Markers with Yahoo! M...
    - Using Polylines and Smart Markers with Yahoo...







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