Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

Is there a connection to database on server by javascribt?

user-image
Question ajoutée par احمد محمد سعد بيومي عبدالدايم , technical support , Telecom Egypt
Date de publication: 2016/07/02
Akmal Nasir
par Akmal Nasir , Project manager , Khadijha technology Pvt.Ltd

no its used for interface just..

Soumen Biswas
par Soumen Biswas , Trainer and Quality , IBM

A better way to connect to a sql server would be to use some server side language like PHP, Java, .NET, among others. Client javascript should be used only for the interfaces.

Nevin Thomas
par Nevin Thomas , Software Engineer , UST Global

No. JavaScript is aclient side script

Jonathan de Flaugergues
par Jonathan de Flaugergues , software engineer , Abbeal

JavaScript isn't only a front side language in years.

You can use Javascript with NodeJS on server Side to connect to your database and you'll have better performance than with Java, php or .net languages.

Some npm modules exists for connect to database. (ex: mssql for MS SQL Server database) (https://www.npmjs.com/package/mssql). mongodb & mongoose for a connection to a nosql mongoDB database.

 

 

More Questions Like This