JavaScript
  Home arrow JavaScript arrow Completing a Network Processor with AJAX
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

Completing a Network Processor with AJAX
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2007-01-03

    Table of Contents:
  • Completing a Network Processor with AJAX
  • Refreshing a previous topic: listing the application's full client-side code
  • Performing real networking tasks on the server: defining the QueryProcessor PHP class
  • Completing the definition for the QueryProcessor class: coding some additional methods
  • Completing the networking application: listing the full 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


    Completing a Network Processor with AJAX


    (Page 1 of 5 )

    Looking for a comprehensive introduction to creating networking applications with AJAX? Then look no further, because you’ve come to the right place! Welcome to the concluding installment of the series “Creating a Network Processor with AJAX.” As you may have guessed, this series leads you through the development of a highly expansible networking application which uses the capacity of AJAX for sending queries in the background.

    Provided that you already went through the first two articles of the series, I'm sure that you'll recall the different steps that I took to create the front-end of the application, and later the entire set of JavaScript functions for executing several queries on the web server. Of course, the type of networking operation to be performed remotely conformed to the button clicked by the user, something that closely resembles the functionality offered by any desktop application.

    You should also remember that this AJAX-driven networking application was capable (at least theoretically) of performing all sort of useful tasks, like finding the IP address of a selected Internet host, searching for DNS records and scanning specific TCP ports, executing the popular "ipconfig" and "netstat" utilities that come bundled with Windows-based systems, and many more things.

    However, in this case I purposely used the term "theoretically," since until now, the application wasn't capable of actually interacting with the server. The question is... why? Well, to speak frankly, the two previous articles of the series were focused on developing all the routines that run on the browser, and left untouched the corresponding server-side layer.

    Therefore, in order to get this networking application completed, it's necessary to develop a PHP class that can perform all the tasks that are commanded from the client via AJAX. So, considering the situation that I just described, in this final tutorial I'm going to create the mentioned PHP class, which will have the appropriate methods for performing all the networking operations that I detailed before.

    Ready to learn how this application will be finished? Okay, let's get going!

    More JavaScript Articles
    More By Alejandro Gervasio


       · In this final article of the series, the AJAX-based networking processor is...
     

    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