There are two subprograms, or sets of code, that are common for any web application: client-side code and server-side code. These programs run separately, yet concurrently, with the shared goal of delivering a seamless web experience for users.

  • Client-side code is the code that resides in the browser and responds to user inputs
  • Server-side code is the code that resides in the server and responds to HTTP requests
    When developing a web application, the developer is responsible for deciding which code should go on the server and what they should do in relation to the client-side code. Any code that is capable of responding to HTTP requests can run on a server, and languages like PHP, Java, Python, C#, and Ruby on Rails are widely used for server-side coding.

#web dev #best architecture #web application

How to Choose the Best Architecture for Your Web Application
1.05 GEEK