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: 5 stars5 stars5 stars5 stars5 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

    - Toggling CSS Properties with the GX JavaScri...
    - Cancel, Queue and Pause Animations with the ...
    - Producing Elastic Effects with the GX JavaSc...
    - Moving Divs Diagonally with the GX JavaScrip...
    - Moving Elements Vertically and Horizontally ...
    - Making Bouncing Effects in Parallel with the...
    - Creating Bouncing Effects with the GX JavaSc...
    - Manipulating Background Colors with the GX J...
    - The GX JS Animation Framework
    - Debug Ajax-Generated Tags in Firefox
    - Building a Page Controller with the jQuery Q...
    - Paginating Database Records with the jQuery ...
    - Paginating Images with the jQuery Quick Pagi...
    - Hiding the Page Counter with the jQuery Quic...
    - Introducing the Quick Pagination jQuery Plug...







    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 12 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek