JavaScript
  Home arrow JavaScript arrow Running Queries in the Background with a M...
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

Running Queries in the Background with a MySQL Client with AJAX
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 3
    2006-09-05

    Table of Contents:
  • Running Queries in the Background with a MySQL Client with AJAX
  • Creating the application's main panel
  • Working with HTTP requester objects
  • Initializing the user panel and displaying result sets
  • Putting all the pieces together

  • 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


    Running Queries in the Background with a MySQL Client with AJAX


    (Page 1 of 5 )

    Are you interested in learning how to query different MySQL databases by using only a web browser as the execution environment? If your answer is yes, then look no further, because you’re in the right place. This is the second part of the series "Creating a MySQL client with AJAX." In three comprehensive tutorials, this series gives you some useful pointers on how to build quickly a MySQL client application that uses AJAX for sending queries in the background.
    A downloadable file for this article is available here.

    Introduction

    If you read the first article, then you’ll know what this series is about. Essentially, due to the wide versatility that AJAX brings to web developers, my basic plan consists of constructing a simple front end, comprised of a couple of web pages. Based on this structure, I will create an AJAX-driven application, capable of running queries against a specific database, obviously without having to reload any page.

    While the development process itself seems rather straightforward and simple to perform, definitely there are certain details related to building this application that require special attention. In this case, I’m speaking not only of writing down both client and server-side application layers that will allow a proper interaction with MySQL, but also putting emphasis on minor things, like the look and feel of the program.

    As you’ll possibly recall, the application’s visual appearance and the development of a simple login system were properly covered during the first tutorial. Therefore,  in this article you'll learn how to create a basic user interface, handy for entering SQL statements, in conjunction with the definition of all the JavaScript functions, aimed at sending HTTP requests in the background.

    The proposal sounds really interesting and also educational, so let’s jump together into the subject and see how this story continues. Let’s get going!

    More JavaScript Articles
    More By Alejandro Gervasio


       · In this second article of the series, the front end of the MySQL client application...
       · HI, I'm obviously a newbie here, the tutorial looks great, but could some one please...
       · Hello there,Thank you for the kind words on my AJAX article. Concerning your...
     

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