Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt .
Ltd
Clientside scripting
and
Serverside scripting
Jaseena A P
jsnp65@gmail.com
www.facebook.com/Jaseena
Muhammed A P
twitter.com/username
in.linkedin.com/in/profilena
me
9539443588
Scripting Languages
 A scripting language is a programming language that
supports the writing of scripts
“A script is a program that automates the execution of tasks
which could alternatively be executed one-by-one by a
human operator”
 Where to use scripts?
Software applications(Python,Perl,Ruby etc)
Web pages (Javascript,VB script,php etc)
FEATURES
Ease of use: scripting languages are intended to be very
fast to pick up
Interpreted from source code: to give the fastest
turnaround between the scripting phase and the
execution phase
EXECUTION
 Scripts are written and executed on-the-fly
Without compiling
Without linking
 Differences with the software environment code
Scripts are created and/or modified by the person who
executes them
Software code is compiled and distributed in machine code
form; the user does not access to it and modify it
 A script is used in order to extend application functionalities,
or to execute simple tasks by using pre-existing components
ADVANTAGES OF SCRIPTING
 Easy to learn and use
 Minimum programming knowledge or
experience required
 Allow complex tasks to be performed in
relatively few steps
 Allow simple creation and editing in a variety
of text editors
 Allow the addition of dynamic and interactive
activities to web pages
 Editing and running code is fast.
SCRIPTING
SCRIPTING
CLIENT-SIDE SEVER-SIDE
SERVER SIDE SCRIPTING
Server side scripting is used to create dynamic pages
based a number of conditions when the users browser
makes a request to the server
The Web Server executes the server side scripting that
produces the page to be sent to the browser.
 Server executes server-side scripts to send out a page
but it does not execute client-side scripts.
SERVER SIDE SCRIPTING
Server side scripting is used to connect to the databases
that reside on the web server.
Server side scripting can access the file system residing
at the web server.
Response from a server-side script is slower as
compared to a client-side script because the scripts are
processed on the remote computer.
SERVER SIDE SCRIPTING-advantages
1. It does not require the user to download plugins like Java or
Flash (client-side scripting).
2. Your scripts are hidden from view. Users only see the HTML
output, even when they view the source.
Disadvantages
The scripts can be used by attackers to gain access to the
server. Because the scripts respond to URL input,
changing the URL to something that exploits a security
hole can give the user server access, sometimes even as
root.
CLIENT-SIDE SCRIPTING
 Client side scripting is used when the users browser
already has all the code and the page is altered on the
basis of the users input.
 The Web Browser executes the client side scripting
that resides at the user’s computer.
CLIENT-SIDE SCRIPTING
 The browser receives the page sent by the server
and executes the client-side scripts.
 Client side scripting cannot be used to connect to
the databases on the web server.
 Client side scripting can’t access the file system
that resides at the web server.
CLIENT-SIDE SCRIPTING
 The files and settings that are local at the user’s
computer can be accessed using Client side scripting.
 Response from a client-side script is faster as
compared to a server-side script because the scripts
are processed on the local computer.
 Examples of Client side scripting languages :
Javascript, VB script, etc.
THANK YOU
If this presentation helped you, please visit our
page facebook.com/baabtra and like it.
Thanks in advance.
www.baabtra.com | www.massbaab.com |www.baabte.com
Contact Us
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com

Client Side scripting and server side scripting

  • 2.
    Disclaimer: This presentationis prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 4.
    Clientside scripting and Serverside scripting JaseenaA P jsnp65@gmail.com www.facebook.com/Jaseena Muhammed A P twitter.com/username in.linkedin.com/in/profilena me 9539443588
  • 5.
    Scripting Languages  Ascripting language is a programming language that supports the writing of scripts “A script is a program that automates the execution of tasks which could alternatively be executed one-by-one by a human operator”  Where to use scripts? Software applications(Python,Perl,Ruby etc) Web pages (Javascript,VB script,php etc)
  • 6.
    FEATURES Ease of use:scripting languages are intended to be very fast to pick up Interpreted from source code: to give the fastest turnaround between the scripting phase and the execution phase
  • 7.
    EXECUTION  Scripts arewritten and executed on-the-fly Without compiling Without linking  Differences with the software environment code Scripts are created and/or modified by the person who executes them Software code is compiled and distributed in machine code form; the user does not access to it and modify it  A script is used in order to extend application functionalities, or to execute simple tasks by using pre-existing components
  • 8.
    ADVANTAGES OF SCRIPTING Easy to learn and use  Minimum programming knowledge or experience required  Allow complex tasks to be performed in relatively few steps  Allow simple creation and editing in a variety of text editors  Allow the addition of dynamic and interactive activities to web pages  Editing and running code is fast.
  • 9.
  • 10.
    SERVER SIDE SCRIPTING Serverside scripting is used to create dynamic pages based a number of conditions when the users browser makes a request to the server The Web Server executes the server side scripting that produces the page to be sent to the browser.  Server executes server-side scripts to send out a page but it does not execute client-side scripts.
  • 11.
    SERVER SIDE SCRIPTING Serverside scripting is used to connect to the databases that reside on the web server. Server side scripting can access the file system residing at the web server. Response from a server-side script is slower as compared to a client-side script because the scripts are processed on the remote computer.
  • 12.
    SERVER SIDE SCRIPTING-advantages 1.It does not require the user to download plugins like Java or Flash (client-side scripting). 2. Your scripts are hidden from view. Users only see the HTML output, even when they view the source.
  • 13.
    Disadvantages The scripts canbe used by attackers to gain access to the server. Because the scripts respond to URL input, changing the URL to something that exploits a security hole can give the user server access, sometimes even as root.
  • 14.
    CLIENT-SIDE SCRIPTING  Clientside scripting is used when the users browser already has all the code and the page is altered on the basis of the users input.  The Web Browser executes the client side scripting that resides at the user’s computer.
  • 15.
    CLIENT-SIDE SCRIPTING  Thebrowser receives the page sent by the server and executes the client-side scripts.  Client side scripting cannot be used to connect to the databases on the web server.  Client side scripting can’t access the file system that resides at the web server.
  • 16.
    CLIENT-SIDE SCRIPTING  Thefiles and settings that are local at the user’s computer can be accessed using Client side scripting.  Response from a client-side script is faster as compared to a server-side script because the scripts are processed on the local computer.  Examples of Client side scripting languages : Javascript, VB script, etc.
  • 17.
  • 18.
    If this presentationhelped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
  • 19.
    Contact Us Emarald Mall(Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com