Use

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
s2009
Forum Newbie
Posts: 20
Joined: Thu Apr 30, 2009 1:20 am

Use

Post by s2009 »

Hi all,

Can anyone tell me what is the use of Scripting Language?

What is client-side scripting?

what is server-side scripting?
Defiline
Forum Commoner
Posts: 59
Joined: Tue May 05, 2009 5:34 pm

Re: Use

Post by Defiline »

What is client-side scripting?
It is that script which will be executed in client browser (Exmpl. JavaScript, VBS, JScript).
You can see it in HTML source.
what is server-side scripting?
Thas means you can see only result of executing.
The script which was executed you will never see.
s2009
Forum Newbie
Posts: 20
Joined: Thu Apr 30, 2009 1:20 am

Re: Use

Post by s2009 »

Defiline wrote:
What is client-side scripting?
It is that script which will be executed in client browser (Exmpl. JavaScript, VBS, JScript).
You can see it in HTML source.
what is server-side scripting?
Thas means you can see only result of executing.
The script which was executed you will never see.
Is it similar to something like a Back-end and Front-end?

Which scripting language is very popular now?

How to identify whether a Scripting language is Server side Scripting Language or Client Side Scripting Language?

In What circumstances do we need to use both?

Is php a server side scripting language?
Defiline
Forum Commoner
Posts: 59
Joined: Tue May 05, 2009 5:34 pm

Re: Use

Post by Defiline »

Is it similar to something like a Back-end and Front-end?
Like ...
Which scripting language is very popular now?
to each according to his needs
How to identify whether a Scripting language is Server side Scripting Language or Client Side Scripting Language?
If it is executing in your browser - client-side.
Exception is AJAX.
Is php a server side scripting language?
Sure.
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

Re: Use

Post by kaszu »

AJAX is not a language, but a technique.
Which scripting language is very popular now?
Client-side: javascript is most popular, since all modern browsers support it (unless user has turned it off) and it doesn't need a plugin to run; flash - most of the users has it installed
Server-side: PHP, ASP, JAVA, ... (order doesn't represent popularity)
How to identify whether a Scripting language is Server side Scripting Language or Client Side Scripting Language?
If it is executing in your browser - client-side.
Javascript, JAVA, Flash can execute on client side and on server side.
If it is executing in your browser - client-side.
Instead of "your browser" I would say "your computer", that's more accurate because of widgets, gadgets, AIR, etc.

Client side scripting language (for websites) should be used to improve user experience, good example would be lightbox.
Server side scripting language is needed when you want dynamic content (probably this isn't accurate, but couldn't think of anything better).
Post Reply