Client and server side scripting
language
Haresh Khachariya
(Lecturer)
Shree M & N Virani Science College ,
Rajkot
What is scripting language
A script
is a set of instructions
A script
can contain variable, any control
statements, looping structure or procedure
function etc
Scripting
language generally interpreted
language
Conventional programs are converted
permanently into executable files before they
are run
2
Types of scripting language
A
Scripting language is classified in two types
Client side scripting language
Serve side scripting language
Client side scripting language
A script
which is interpreted by web client
(web browser) is known as client side scripting.
A client side script
is also an instruction set but
that is not process by the server but that is
processed by the web client
Client side scripts are executed and changed
by the user on his side.
JAVASCRIPT
Advantages of client side
scripting:
The main advantage of client side scripting
over pure HTML is that it allows the developer
to create more functional interactive web
pages
The response time is often faster because the
script is interpreted on the browser machine so
there is no network involve
Executing script
on the web browser means
that there is less script to be executed the
server so reducing the web server traffic
5
Disadvantages of client side
scripting
The client side scripting
is browser specified
because same client script run on different
browser then may be both result is quite
different
The biggest disadvantage
is client side
scripting code is not secure because it is
completely visible to the user.
Server side scripting language
A script
that is interpreted by web server is
known as server side scripting language
A server
side scripting is an instruction set that
is process by the server and which generate
the result in HTML the HTML results send to
the web client
User can create dynamic web page
Php
Asp.net, jsp
7
WEB SERVER
APACHE
IIS
OMANI SERVER
NETSCAPR ENTERPICE SERVER
Questions?