What are the differences between client-side and server-side scripting?
The shopper is a personal WHO is related to the server to request knowledge or services to the server, whereas the server is a personal WHO provides knowledge or services requested by the shopper.
Client-Server is that the division of labor between the server and therefore the shopper that has access to the server in an exceedingly network. therefore the client-server design is that the style of associate application consisting of shoppers and servers that communicate with one another once accessing a server in an exceedingly network.
Client aspect design
Client design refers to the implementation or storage of knowledge on the browser (or client) aspect of the hypertext transfer protocol association. JavaScript is associate example of shopper aspect execution, and cookies ar samples of shopper aspect storage.
Client characteristics
- Start the request initial to the server.
- Wait and receive a reply.
- Connect to atiny low range of servers at sure times.
- Interact directly with finish users, exploitation the interface.
Server aspect design
A server-side execution is associate execution-specific net server that exceeds the quality hypertext transfer protocol technique that has to support. as an example, the utilization of special CGI server-side script tags embedded in HTML pages; This tag triggers associate action to occur or the program to execute.
Server Characteristics:
- Always watching for requests from one among the shoppers.
- Serve shopper requests then answer with requested knowledge to the shopper.
- A server will communicate with alternative servers to service shopper requests.
The types are: net server, FTP server, info server, E-mail server, digital computer, print server. Most net services are server sorts.