In: Computer Science
Can you explain why we need server-side programming? (cite at least 3 reasons)
We need server side programming bcoz of the following reasons:-
1.) A dynamic website is where part of the response is created dynamically, when required. In a dynamic website a pages are normally loaded by using the data from the database stored at server side. This data is feeded to the placeholder in HTML Templates to dynamically change the page as per the demand. This is much more efficient way to store pages information and accessing it only when required then to store all the information in a static website
Most of the code to make a dynamic website functional must be deployed onto the server. Creating this code is known as "server-side programming".
2.) Server-side website programming mostly involves picking which data is passed to the browser in response to requests made by the user on the site using browser. The server-side code contains buisness logic to manipulate tasks like validating submitted information and requests, using databases to store and retrieve data and sending the correct response to the client side as required.
3.) Server-side code can be coded in many of the programming languages — some of the most-used server-side web languages are : PHP, Python, Ruby, C#, and NodeJS(JavaScript). The server-side code has access to the server operating system and the programmer can decide which programming language they wish to code on.
4.) Server-side programming is very useful as it helps to deliver data as per the user-demand and customisation, therefore enhancing the user experience.