Tuesday 21 June 2016

Comparing both

Comparing between client side and server side scripting.

Client side scripting.

This involves the writing of scripts which are usually executed on the client's side on the client's computer.

Uses of client side scripting.

·         They make interactive webpages

·         They create dynamic web pages.

Server side scripting.

This involves the writing of scripts that are usually executed on the web server rather than on the client's computer. 

Differences between server side and client side scripting.


Server side
Client side
They are executed on the web server
They are executed on the client’s computer
Server side scripts cannot be copied by the clients because it cannot be accessed by the clients.
Client’s side scripts can be copied by users.
They make use of the server resources
They make use of the client’s computer resources.
It is usually affected by the processing speed of the server.
It is usually affected by the processing speed of the client’s computer.
It does not require plugins
It requires plugin (Wilson, 2015)

Advantages and Disadvantages of Client side scripting.
Advantages
Disadvantages
They make our webpages more interactive.
It takes time for the web developer to develop the scripts.
They are executed quickly because the execution is done on the client’s computer.
Scripts can be copied by other web users and used for personal work.
They are alternatives for substitution if a user’s browser does not support scripts.
Different browsers have different syntax that they use in presenting this script.
They give web developers control over the layout and content of their webpages.
Client side scripting will not function if it has been disabled in the browser. (Bollaert, 20014)


Advantages and Disadvantages of server side scripting.

Advantages
Disadvantages
It reduces the work load that the client’s computer does because no scripting technology is carried out on the client’s computer.
It most times require the server operating system to be installed on the server.
It does not require the user to download plugins unlike in the client’s side.
It is usually affected by the processor speed of the web server.
It allow users to create dynamic web pages using content management system without necessarily editing codes.
Exploited by hackers
Extra security as the clients cannot view its source codes
Complex debugging as there are lots of scripts on the server.
There are often security consideration when sending when sending important details or information. (Wilson, 2015)


In conclusion, there are two ways a web developer can customize his webpages. It could either be on the client side or rather on the server side. In client side scripting, the execution of the scripts is done on the client’s computer and server side scripting involves the execution of the scripts on the web server.

Web server scripting is simply technology whereby a client’s sends a request from his or her computer that is then processed in the webserver and sent back as HTML files to the browser that then translate this files to the graphics and text on the website. It also has a lot of features such as; its execution on the client’s side and the inaccessibility of the scripts by the clients. It helps in the download and upload of files as well as in the analyzing of websites. 

It makes use of already set standards like adjustable fonts to meet the accessibility standards of websites. Web server scripting is highly recommended because of its security advantage over the client side scripting.         

References:

Bollaert, J., 20014. Advantages and Disadvantages of client side scripts. [Online]
Available at: http://www.opensourcetutorials.com/tutorials/Design-And-Layout/Usability/web-widgets-part-2/page2.htm
[Accessed 4 December 2015].

Wilson, M., 2015. Server side scripting- Pros and Cons. [Online]
Available at: http://www.eukhost.com/blog/webhosting/server-side-scripting-pros-and-cons/
[Accessed 4 December 2015].

No comments:

Post a Comment