0

how to link database to html code using Java script

17th Jul 2016, 4:33 AM
Balaji Nageswara Rao
Balaji Nageswara Rao - avatar
5 odpowiedzi
+ 5
actually it is possible to use JavaScript on the server side: using Node.js. It's a useful JavaScript framework that is getting more and more popular . There is a Node.js tutorial available on Codecademy to get you started.
17th Jul 2016, 1:44 PM
Jasper Ro
Jasper Ro - avatar
0
there's no way to do it. database connection is done by the server.
17th Jul 2016, 5:30 AM
Viran Malaka
Viran Malaka - avatar
0
You must use PHP programming language because the connection of database is occur on server side.
17th Jul 2016, 6:43 AM
Azwan Abdullah
Azwan Abdullah - avatar
0
Correction of my post: I see that codecademy does not have a node.js tutorial, so apparently I was wrong. However, there are plenty of learning materials available on the web. Here are some good suggestions: www.quora.com/What-is-the-best-Node-js-course-online
18th Jul 2016, 2:17 PM
Jasper Ro
Jasper Ro - avatar
0
you cannot do it in client side. but you can use nodeJs on your server and then contact mysql or mongoDB server to it. nodejs Syntax is much similar to JavaScript.
30th Dec 2016, 1:01 PM
Viran Malaka
Viran Malaka - avatar