Are there JavaScript bindings for MySQL?

后端 未结 9 1937
礼貌的吻别
礼貌的吻别 2020-12-17 00:56

I want to access a MySQL database directly from JavaScript code in an HTML page in Firefox.

Does such a library exist?

To be very clear, CGI+Ajax wil

9条回答
  •  自闭症患者
    2020-12-17 01:36

    I know this is an old thread, but I think it's still a relevant.

    I've used backbone.js as a client lib in the browser. This simplifies (almost trivialises) data access from within the browser.

    It depends on RESTful services on the server, and these can easily be provided. By way of example you could use node.js, phpwebsockets or socket.io

    HTH

提交回复
热议问题