Scripting Languages and Programming Languages
- All scripting languages are programming languages, all programming languages are not scripting languages.
- Programming languages use a compiler to convert the high-level programming languages into machine language, on the other hand, scripting languages use an interpreter.
- A compiler compiles a code in a complete chunk, an interpreter compiles a code line by line.
- Programming Language examples : C, C++, C#, Java etc
- Scripting Language examples : JavaScript, PHP, Python, Ruby etc
Scripting Languages
|
|
- Client : On a network, the client computer can be considered as a user computer connected to the server.
- Server : A server is a computer which provides some kind of resource to client computers.
Client Side and Server Side Scripting
- Client-side scripting simply means running scripts, such as JavaScript, on the client device, usually within a browser.
- Server-side scripts run on the server instead of the client, often in order to deliver dynamic content to webpages in response to user actions.