I was wondering if it’s possible to do it, using Javascript on the server, but without using PHP or ASP. Is this a common practice?
I would like to access mysql db, but I prefer not to use PHP or ASP. So using only Javascript server code.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you mean client-side Javascript running in the browser doing operations that change stuff directly on the server, then the answer is no. You need a layer running on server side that authenticates accesses, stores data, etc. If this were possible using client-side JavaScript, everybody and their dog could alter your web site. How would you like that?
There are server-side JavaScript implementations but I don’t think this is what you are asking for. They require a specific server-side setup.