Can I know what is the difference between client-side scripting language and server-side scripting language?
client/server side scripting language
Started by
Guest_R3.RyozKidz_*
, Aug 18 2011 03:37 AM
3 replies to this topic
#1
Guest_R3.RyozKidz_*
Posted 18 August 2011 - 03:37 AM
Guest_R3.RyozKidz_*
|
|
|
#2
Posted 18 August 2011 - 04:13 AM
The main difference is where the code is executed.
Client side scripting is downloaded to the client (the browser most of the time), and executed in the computer client. Since most of the time the user can modify the client side script, you should never send secure info to the client side scripting.
Client side scripting include javascrit, flash, and java (not always java, depends on what type of java)
We can save data on the client side with cookies or variable. In this way, everything that is calculated can only be store on the same computer.
Server side is executed on the server (like php, asp, asp.net, coldfusion...) the client have no idea what is hapenning on the server.
We can save data on the server (sql, file, xml...) and this way a modification on the server can affect everyone who see the site.
So a forum like this one absolutly need server side, or any post that you write could only be see by you.
Client side scripting is downloaded to the client (the browser most of the time), and executed in the computer client. Since most of the time the user can modify the client side script, you should never send secure info to the client side scripting.
Client side scripting include javascrit, flash, and java (not always java, depends on what type of java)
We can save data on the client side with cookies or variable. In this way, everything that is calculated can only be store on the same computer.
Server side is executed on the server (like php, asp, asp.net, coldfusion...) the client have no idea what is hapenning on the server.
We can save data on the server (sql, file, xml...) and this way a modification on the server can affect everyone who see the site.
So a forum like this one absolutly need server side, or any post that you write could only be see by you.
#4
Posted 18 August 2011 - 07:36 AM
Most website use both
Google use server side for your search, and when you change page.
But When you type something in the search box and it automatically search it, it's client side that is calling server side
Google use server side for your search, and when you change page.
But When you type something in the search box and it automatically search it, it's client side that is calling server side
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top










