G'Day,
Is it possible to query mySQL directly from within jQuery w开发者_如何学JAVAithout having to use PHP/Python/Ruby etc.?
You can't do it with MySQL because it uses a binary protocol that the browser doesn't speak. You can do it with CouchDB, though, which uses HTTP and JSON so it's perfect for this kind of thing.
no, jQuery is on client side and it isn't able to access directly to the database
No you can not do it. Because all jquery code runs on client. You can use jquery ajax methods to call php or another webservices. Simply jquery or another javascript library can not do it.
精彩评论