SlideShare a Scribd company logo
BY
SANA MATEEN
6/13/2016 1Introduction to scripts and scripting
INTRODUCTION TO SCRIPTS AND SCRIPTING
 Script is a program written for special runtime environment that automate the
execution of tasks.
 Scripting is the action of writing scripts using scripting language.
 Scripting Language are used to extend the functionality of software . For
example enhancing web pages by providing dynamic content.
 They are designed to automate frequently used task that usually involve calling
or passing commands to external program.
Examples:
1. PERL- PRACTICAL EXTRACTION AND REPORT LANGUAGE
2. PHP-Hypertext Preprocessor(Personal Home Page)
3. TCL-Tool Command Language and PYTHON
TCL
6/13/2016 2Introduction to scripts and scripting
SCRIPTING VS. PROGRAMMING: IS THERE A
DIFFERENCE?
Scripting Programming
 Scripts are interpreted . It means
they are processed from scratch
every time you run them.
 Programs are executed.
Problems addressed by Scripting language
 Building applications from off-the-shelf components.
 Example:
Use of Visual Basic to develop GUI using prebuilt Visual Controls.
 Controlling applications that have a programmable interface(protocols
to be followed while building a software).
 Speed of development is more important than runtime efficiency.
6/13/2016 3Introduction to scripts and scripting
ORIGIN OF SCRIPTING
 The UNIX O.S developers coined the term shellscript for sequence of commands that
were read from a file and followed in sequence.
 Script is a file that is intended to be executed directly rather than being compiled.
 Examples of scripts with respect to unix system are:
 AWK: This utility reads the standard input line by line and takes an action on part of
entire line.
 These actions are specified in awk script that consist of list of instructions.
 Perl: is a scripting language developed by Larry Wall, especially designed for text
processing.
 Though Perl is not officially an acronym but many times it is used as it stands
for Practical Extraction and Report Language.
 It runs on a variety of platforms, such as Windows, Mac OS, and the various versions
of UNIX.
6/13/2016 4Introduction to scripts and scripting
ORIGIN OF SCRIPTING
 In DOS(Disk Operating System), use of dial up connection to remote system
require scripts that automate the sequence of operation required to establish a
connection to remote system.
 Use rasphone( Remote Access Phonebook) command.
 Another occurrence of script was in Apple Macintosh HyperCard Application,
which is one of the Hypertext system.
6/13/2016 5Introduction to scripts and scripting
SCRIPTING TODAY
 Scripting allows application to be developed much faster than traditional
methods allow.
 We can use it to manipulate,customize,automate the facilities of existing
system.
 Eg: Use of client side scripting and Dynamic HTML to create interactive and
feature rich enhanced web pages.
 Using Scripting Language with its rich functionality .These are used by UNIX
admin for System maintenance work, like managing user permissions.
 Windows system admin adopt Perl for their work.
 Apache web server has an embedded Perl interpreter for CGI scripts
6/13/2016 6Introduction to scripts and scripting
CGI SCRIPT ISAPI TECHNOLOGY
 CGI stands for Common Gateway
Interface.
 It defines a standard way in which
information may be passed to and
from the browser and server.
 CGI scripts can be written using
PERL.
 ISAPI stands for Internet Server
Application Program Interface
technology . It is set of window program
calls that let you write a web server
application that will run faster than CGI.
 We can create Dynamic Link Library
application file using this technology.
 We can write an ISAPI script in any
language that will create an executable
object on your system. For example, C++,
Visual Basic, or Perl script on Windows.
6/13/2016 7Introduction to scripts and scripting

More Related Content

PPTX
Event driventheory
PDF
Java Programming Basics
PPTX
system software and application software
PDF
Operating System-Introduction
ODS
Appinventor android app assessment rubric
PPTX
Introduction to programming
PPTX
Windows Phone 7 Architecture Overview
PPT
Introduction To Computer Systems
Event driventheory
Java Programming Basics
system software and application software
Operating System-Introduction
Appinventor android app assessment rubric
Introduction to programming
Windows Phone 7 Architecture Overview
Introduction To Computer Systems

What's hot (11)

PDF
Sample_report_for_MINI_PROJECT.docx (1).pdf
PPTX
Android OS & SDK - Getting Started
PDF
ICDL Module 1 - Concepts of ICT (Information and Communication Technology) - ...
PPTX
Introduction To Computing presentation
PDF
Programming fundamentals using c++ question paper 2014 tutorialsduniya
PPT
Software quality
PPTX
Software and its types
DOCX
Office 365 Project Online - Comprehensive Guide
PPTX
Android OS 2019
PPTX
Multimedia
PPTX
Programming Fundamentals lecture 2
Sample_report_for_MINI_PROJECT.docx (1).pdf
Android OS & SDK - Getting Started
ICDL Module 1 - Concepts of ICT (Information and Communication Technology) - ...
Introduction To Computing presentation
Programming fundamentals using c++ question paper 2014 tutorialsduniya
Software quality
Software and its types
Office 365 Project Online - Comprehensive Guide
Android OS 2019
Multimedia
Programming Fundamentals lecture 2
Ad

Similar to Introduction to scripts (20)

PPTX
Unit 1-introduction to scripts
PDF
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
PDF
Class 17-18 Introduction to Perl.pdf bbbbbb
PPTX
Unit 1-uses for scripting languages,web scripting
PPTX
Uses for scripting languages,web scripting in perl
PPT
Chapter14_Scripting_Languages_4e.power point presentation
PPTX
Common Gateway Interface ppt
PPTX
Scripting languages presentation_michel_patrickfrancis
PPTX
Xml & scripting
PDF
SERVER SIDE SCRIPTING
PPT
COMPUTER LANGUAGES AND THERE DIFFERENCE
PPTX
programming language interface i.pptx
PPTX
Scripting languages
PDF
Slides serverside main
PPTX
Bioinformatics v2014 wim_vancriekinge
PPT
System administration with automation
PPT
vb script
PPTX
Client Side scripting and server side scripting
Unit 1-introduction to scripts
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
Class 17-18 Introduction to Perl.pdf bbbbbb
Unit 1-uses for scripting languages,web scripting
Uses for scripting languages,web scripting in perl
Chapter14_Scripting_Languages_4e.power point presentation
Common Gateway Interface ppt
Scripting languages presentation_michel_patrickfrancis
Xml & scripting
SERVER SIDE SCRIPTING
COMPUTER LANGUAGES AND THERE DIFFERENCE
programming language interface i.pptx
Scripting languages
Slides serverside main
Bioinformatics v2014 wim_vancriekinge
System administration with automation
vb script
Client Side scripting and server side scripting
Ad

More from sana mateen (20)

PPTX
PPTX
PHP Variables and scopes
PPTX
Php intro
PPTX
Php and web forms
PPTX
PPTX
Files in php
PPTX
File upload php
PPTX
Regex posix
PPTX
Encryption in php
PPTX
Authentication methods
PPTX
Xml schema
PPTX
Xml dtd
PPTX
Xml dom
PPTX
PPTX
Intro xml
PPTX
Dom parser
PPTX
Unit 1-subroutines in perl
PPTX
Unit 1-strings,patterns and regular expressions
PPTX
Unit 1-scalar expressions and control structures
PPTX
Unit 1-perl names values and variables
PHP Variables and scopes
Php intro
Php and web forms
Files in php
File upload php
Regex posix
Encryption in php
Authentication methods
Xml schema
Xml dtd
Xml dom
Intro xml
Dom parser
Unit 1-subroutines in perl
Unit 1-strings,patterns and regular expressions
Unit 1-scalar expressions and control structures
Unit 1-perl names values and variables

Recently uploaded (20)

PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Artificial Intelligence
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
Safety Seminar civil to be ensured for safe working.
PPTX
Geodesy 1.pptx...............................................
PPTX
OOP with Java - Java Introduction (Basics)
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Construction Project Organization Group 2.pptx
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Sustainable Sites - Green Building Construction
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
CH1 Production IntroductoryConcepts.pptx
CYBER-CRIMES AND SECURITY A guide to understanding
Artificial Intelligence
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Internet of Things (IOT) - A guide to understanding
Safety Seminar civil to be ensured for safe working.
Geodesy 1.pptx...............................................
OOP with Java - Java Introduction (Basics)
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Construction Project Organization Group 2.pptx
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Foundation to blockchain - A guide to Blockchain Tech
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Sustainable Sites - Green Building Construction

Introduction to scripts

  • 1. BY SANA MATEEN 6/13/2016 1Introduction to scripts and scripting
  • 2. INTRODUCTION TO SCRIPTS AND SCRIPTING  Script is a program written for special runtime environment that automate the execution of tasks.  Scripting is the action of writing scripts using scripting language.  Scripting Language are used to extend the functionality of software . For example enhancing web pages by providing dynamic content.  They are designed to automate frequently used task that usually involve calling or passing commands to external program. Examples: 1. PERL- PRACTICAL EXTRACTION AND REPORT LANGUAGE 2. PHP-Hypertext Preprocessor(Personal Home Page) 3. TCL-Tool Command Language and PYTHON TCL 6/13/2016 2Introduction to scripts and scripting
  • 3. SCRIPTING VS. PROGRAMMING: IS THERE A DIFFERENCE? Scripting Programming  Scripts are interpreted . It means they are processed from scratch every time you run them.  Programs are executed. Problems addressed by Scripting language  Building applications from off-the-shelf components.  Example: Use of Visual Basic to develop GUI using prebuilt Visual Controls.  Controlling applications that have a programmable interface(protocols to be followed while building a software).  Speed of development is more important than runtime efficiency. 6/13/2016 3Introduction to scripts and scripting
  • 4. ORIGIN OF SCRIPTING  The UNIX O.S developers coined the term shellscript for sequence of commands that were read from a file and followed in sequence.  Script is a file that is intended to be executed directly rather than being compiled.  Examples of scripts with respect to unix system are:  AWK: This utility reads the standard input line by line and takes an action on part of entire line.  These actions are specified in awk script that consist of list of instructions.  Perl: is a scripting language developed by Larry Wall, especially designed for text processing.  Though Perl is not officially an acronym but many times it is used as it stands for Practical Extraction and Report Language.  It runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. 6/13/2016 4Introduction to scripts and scripting
  • 5. ORIGIN OF SCRIPTING  In DOS(Disk Operating System), use of dial up connection to remote system require scripts that automate the sequence of operation required to establish a connection to remote system.  Use rasphone( Remote Access Phonebook) command.  Another occurrence of script was in Apple Macintosh HyperCard Application, which is one of the Hypertext system. 6/13/2016 5Introduction to scripts and scripting
  • 6. SCRIPTING TODAY  Scripting allows application to be developed much faster than traditional methods allow.  We can use it to manipulate,customize,automate the facilities of existing system.  Eg: Use of client side scripting and Dynamic HTML to create interactive and feature rich enhanced web pages.  Using Scripting Language with its rich functionality .These are used by UNIX admin for System maintenance work, like managing user permissions.  Windows system admin adopt Perl for their work.  Apache web server has an embedded Perl interpreter for CGI scripts 6/13/2016 6Introduction to scripts and scripting
  • 7. CGI SCRIPT ISAPI TECHNOLOGY  CGI stands for Common Gateway Interface.  It defines a standard way in which information may be passed to and from the browser and server.  CGI scripts can be written using PERL.  ISAPI stands for Internet Server Application Program Interface technology . It is set of window program calls that let you write a web server application that will run faster than CGI.  We can create Dynamic Link Library application file using this technology.  We can write an ISAPI script in any language that will create an executable object on your system. For example, C++, Visual Basic, or Perl script on Windows. 6/13/2016 7Introduction to scripts and scripting