client side scripting and server side scripting
Upload: baabtracom-mentoring-partner-first-programming-school-in-india
Post on 16-Dec-2014
325 views
DESCRIPTION
TRANSCRIPT
Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring PartnerBaabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
Clientside scriptingand
Serverside scripting
Jaseena A [email protected]/Jaseena
Muhammed A Ptwitter.com/usernamein.linkedin.com/in/profilename9539443588
Scripting Languages
A scripting language is a programming language thatsupports 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 veryfast to pick up
Interpreted from source code: to give the fastestturnaround between the scripting phase and theexecution 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 SCRIPTINGServer 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 SCRIPTINGServer 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-advantages1. 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 StandMukkam, Kozhikode,Kerala, India.Ph: + 91 – 495 40 25 550
Start up VillageEranakulam,Kerala, India.
Email: [email protected]