Forum Moderators: open
I have a simple question which popped up in my mind after reading a (reply-)post by mep00 on which he said:
The best way to go is to use both client and server side scripting. Even if it seems that client side is a more logical approach, never rely on client side verification of any data; it's very easy to bypass, if it works at all (which it may not).
As a rule of thumb: client site scripting is for the client's benifit, server side is for yours.
Like I said in my reply, I quite like the way he put this :) . I would like to know, though, if: Server-sided Javascript can be fully implemented; apart from the language type and structure, what are the main differences between ASP & server-sided javascript; can I (as a developer) and the user fully trust this form of implementing?
Lots of Thanks in anticipation,
d#Nimrod
Like I said in my reply, I quite like the way he put thisThank you very much.
ASP isn't a language; it's an API for IIS. ASP supports both VBScript and JavaScript. The main difference between client and server side js is the object model with which it interfaces. That, and the degre of control of the enviroment--limited, if any, client side, versus almost absolute server side.
Personally though, I prefer php for scripting server side, but that's a seperate issue.
You're still not understanding it.
ASP is not a language, it's a technology.To implement the ASP technology you choose a language: VBscript or JavaScript.
Right! I understand your point now. I thought you could actually use server-side javascript and achieve the same results as you would using ASP, but I didn't know that when you refer to server-side javascript you are actually referring to ASP, as you need that technology to run server-side scripts.
My ignorance! I thought ASP was a programming language and that is why I was missing the point.
Sorry for that and thank you for clarifying it to me. :)
d#Nimrod