client side scripting and server side scripting

19

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Client Side scripting and server side scripting
Page 2: Client Side scripting and server side scripting

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

Page 3: Client Side scripting and server side scripting
Page 4: Client Side scripting and server side scripting

Clientside scriptingand

Serverside scripting

Jaseena A [email protected]/Jaseena

Muhammed A Ptwitter.com/usernamein.linkedin.com/in/profilename9539443588

Page 5: Client Side scripting and server side scripting

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)

Page 6: Client Side scripting and server side scripting

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

Page 7: Client Side scripting and server side scripting

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

Page 8: Client Side scripting and server side scripting

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.

Page 9: Client Side scripting and server side scripting

SCRIPTING

SCRIPTING

CLIENT-SIDE SEVER-SIDE

Page 10: Client Side scripting and server side scripting

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.

Page 11: Client Side scripting and server side scripting

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.

Page 12: Client Side scripting and server side scripting

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.

Page 13: Client Side scripting and server side scripting

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.

Page 14: Client Side scripting and server side scripting

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.

Page 15: Client Side scripting and server side scripting

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.

Page 16: Client Side scripting and server side scripting

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.

Page 17: Client Side scripting and server side scripting

THANK YOU

Page 18: Client Side scripting and server side scripting

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

Page 19: Client Side scripting and server side scripting

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]