Client Side scripting and server side scripting


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Client Side scripting and server side scripting

  1. 1. 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
  2. 2. Clientside scripting and Serverside scripting Jaseena A P Muhammed A P me 9539443588
  3. 3. 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)
  4. 4. 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
  5. 5. 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
  6. 6. 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.
  8. 8. 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.
  9. 9. 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.
  10. 10. 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.
  11. 11. 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.
  12. 12. 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.
  13. 13. 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.
  14. 14. 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.
  15. 15. THANK YOU
  16. 16. If this presentation helped you, please visit our page and like it. Thanks in advance. | |
  17. 17. 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: