Server Side JavaScript

ยท

1 min read

Server Side JavaScript (SSJS) is an extended version of JavaScript that enables back-end access to databases, file systems, and servers. Server-side javascript, is javascript code running over a server local resources, it's just like C# or Java, but the syntax is based on JavaScript. A good example of this is Node.JS, with Node.JS you write javascript to program on the server side, and that code can be seen as normal C#, C, or any other server-side language code. Moreover, with server-side code, you can still send javascript to the client-side, but there is a great difference between both because the client-side code is restricted to the client's machine resources, in terms of computing power and permissions. For example, client-side javascript can't access the client's hard disk, while with server-side you can access your server hard disk without any problem. The primary advantage of server-side scripting is the ability to highly customize the response based on the user's requirements, access rights, or queries in data stores.

ย