Jump to content

client/server side scripting language

- - - - -

  • Please log in to reply
3 replies to this topic

#1
Guest_R3.RyozKidz_*

Guest_R3.RyozKidz_*
  • Guests
Can I know what is the difference between client-side scripting language and server-side scripting language?

#2
Vaielab

Vaielab

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 547 posts
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.

#3
Guest_R3.RyozKidz_*

Guest_R3.RyozKidz_*
  • Guests
o...~ thanks for the example..
I have searched for the explanation, but i can't really get to understand.
Thanks for your example.
Then is Google was coded by server-side scripting language? :thumbup:

#4
Vaielab

Vaielab

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 547 posts
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




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users