Client-side scripting | Server-side scripting |
Client -side script execution done by client application i.e. browser. | Server-side scripting code is executed by server application i.e. server side language. |
Visitor on website can view the source code of script. | Visitor only allow seeing result of scripting code. |
Client- side scripting code execution is fast, because each user has individually run the script on their browser. Also known as less overhead | Server -side scripting code takes some time to execute, because it processes the each user request and gives corresponding output. Also known as more overhead |
It should be enable by client on their browser. | This is working same for all users. |
Client can change the code. | Client can’t change the source code. |
Client- side code can’t deal with database operations like insert, delete, search update etc. | Server-side code can deal with database server and execute database operations like insert, delete. Update etc. |
Client-side code generally use for client data validation, making slideshow and provide dynamic effects to the content of web page. | Server side code is used to server-side validation, database connectivity ,handling web events and web services |
Example : JavaScript jquery, Ajax, action script etc. | Example Perl ,python, php vb etc |
Senin, 12 Agustus 2013
Difference between Client-side scripting v/s Server-side scripting
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar