Question

Asked on 2011-05-10 at 08:36:57ID: 27360753

Understanding AJAX Database Calls

by: uzzidesign500

Rating7.6Very Good

I'm trying to teach myself Javascript. I've used jQuery and understand it, but I'm trying to learn how things actually work under the hood. I've been teaching myself some AJAX techniques and I'm wondering, purely out of curiosity/theory (in spite of the obvious security risk) if it is possible to make a database connection from the client-side in pure Javascript?

I understand GET/POST requests and I kind of understand XHR and JSON protocols, but I'm just wondering if that's the same or different than a direct database connection from the client-side with JS, without any server-side scripting like PHP. Or, are async calls always constrained to GET/POST and/or server-side scripting? If not, are there other methods?

Related Solutions

Solution

Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.

About this Solution

View This Solution - Start Your 30 Day Free Trial
Zone
general
Tags
ajax javascript mysql
Participating Experts
3
Solution Grade
A

Replies

 by: leakim971

Posted on 2011-05-10 at 08:55:13ID: 36812606

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: cmalakar

Posted on 2011-05-10 at 09:00:27ID: 36812607

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: hielo

Posted on 2011-05-10 at 09:11:36ID: 36812608

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: uzzidesign

Posted on 2011-05-10 at 11:40:40ID: 36812609

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

Log In

Forgot your password?Sign up

Top Experts

  1. mplungjan

    1,840

    0 points yesterday

    Profile

BrowseAre you an Expert?