JavaScript
  Home arrow JavaScript arrow Communicating with the Server of a MySQL C...
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 
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

Communicating with the Server of a MySQL Client with AJAX
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 8
    2006-09-12

    Table of Contents:
  • Communicating with the Server of a MySQL Client with AJAX
  • Refresher course: the MySQL client's login module
  • A final review: the MySQL application’s client module
  • Running queries on the server: a simple PHP script

  • 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


    Communicating with the Server of a MySQL Client with AJAX


    (Page 1 of 4 )

    Looking for a comprehensive tutorial that shows you how to create a MySQL client application with the help of AJAX? Then this is the article you’ve been waiting for! Welcome to the concluding part of the series "Creating a MySQL Client with AJAX." In three parts, this series walks you through the process of building a simple application that allows you to run select, insert, update and delete SQL commands against a given MySQL database table, all from your own browser.

    Introduction

    Now, with reference to the second article, you’ll surely recall that I concentrated all my efforts on defining the group of JavaScript functions dedicated to sending out, via AJAX, all the queries entered by the user, as well as to displaying the corresponding responses received from the server.

    Also, I covered the creation of a simple front end. This came in handy for performing a number of tasks, such as typing in the mentioned queries and sending them straight to the server, along with showing the data returned by SELECT statements.

    Of course, all the processes that I described above were quite simple to implement, since AJAX comes equipped with a set of methods and properties that makes it really easy to send HTTP requests in the background.

    After walking through a brief recapitulation of all the topics that were covered in detail during the previous tutorial, it’s time to pay attention to the current one. More specifically, this last article of the series will be dedicated to creating a fairly understandable PHP script, which will be capable of running on the MySQL server all the queries entered by the user. It will also be able to send back to the client the corresponding results in a format suitable for display to the browser.

    With the preliminaries out of our way, let’s get started.

    More JavaScript Articles
    More By Alejandro Gervasio


       · In this final article of the series, the MySQL client application is expanded, in...
     

    JAVASCRIPT ARTICLES

    - Validating Digits and Dates with jQuery`s Va...
    - Validating Ranges, Emails, and URLs with jQu...
    - More Uses for the jQuery Tooltip Plug-in`s b...
    - Building Image-Based Tooltips with the jQuer...
    - Using the jQuery Tooltip Plug-in`s bodyHandl...
    - Using Rangelength, Min and Max with the Vali...
    - Using Minlength and Maxlength with the Valid...
    - Modifying Tooltip Coordinates with the jQuer...
    - Applying a Fade Out Effect with the jQuery T...
    - Tracking Mouse Movements with the jQuery Too...
    - Checking Online Forms with the Validator jQu...
    - Nested JavaScript Functions as Objects
    - The jQuery Tooltip Plug-in
    - Active Client Pages at the Server
    - ACP Tab Web Page







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    Stay green...Green IT