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!
Next: Creating the application's main panel >>
More JavaScript Articles
More By Alejandro Gervasio