SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
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
CHARACTERISTICS OF SCRIPTING LANGUAGE
 Integrated Compile and Run
Scripting Language behave as if they were interpreted. They are often an
interactive, experimental activity that doesn’t fit well with the “edit-compile-
link-run” cycle of conventional programming.
A few Scripting Languages like Unix Shell and TCL(Tool Command
Language) version 7 are indeed implemented as strict interpreters.
However most of the languages in current use opt for hybrid technique
which involve compiling to an intermediate form which is then
interpreted.
 Low Overhead and ease of use
Based on the usage variables can be declared and initialized . Later
focus was on explicit variable declaration, which requires that you declare every
variable before you use it.
Eg: Dim sum As Integer (or) sum=10;
 Enhanced Functionality
Most of the languages provide powerful string manipulation based on
the use of regular expression(A regular expression is a string of characters that
define the pattern or patterns you are viewing. ). Some languages support easy
access to API or Object model exported by application.
6/13/2016 8Introduction to scripts and scripting
CHARACTERISTICS OF SCRIPTING LANGUAGE
 Efficiency is not an issue
Ease of use is achieved at the expense of efficiency
eg: interpretation rather than compiling
Focus is not on high performance but on the speed of development together
with ability to make changes to meet new requirement.
6/13/2016 9Introduction to scripts and scripting

More Related Content

PPTX
PPTX
Presentation on python
PDF
Software Engineering : Requirement Analysis & Specification
PPTX
Architecture of operating system
PPTX
Looping statement in python
PDF
Python Basics
DOCX
Spm unit 2
PDF
Features of Python.pdf
Presentation on python
Software Engineering : Requirement Analysis & Specification
Architecture of operating system
Looping statement in python
Python Basics
Spm unit 2
Features of Python.pdf

What's hot (20)

PPTX
Perl names values and variables
PPT
Intro To Programming Concepts
PDF
Introduction to python programming
PPTX
Python PPT
PPTX
PYTHON PPT.pptx
PPTX
Data Types and Variables In C Programming
PPTX
Unit 1-uses for scripting languages,web scripting
PPTX
Pipes in Windows and Linux.
PPTX
Python Tutorial Part 2
PPTX
source code metrics and other maintenance tools and techniques
PDF
Python final ppt
PPTX
Functions in python
PDF
Spm software effort estimation
PPTX
Variables in python
PPT
Pressman ch-11-component-level-design
PPTX
Specification-of-tokens
PPT
PPTX
Prgramming paradigms
PPTX
Compiler vs interpreter
PPTX
Introduction to python for Beginners
Perl names values and variables
Intro To Programming Concepts
Introduction to python programming
Python PPT
PYTHON PPT.pptx
Data Types and Variables In C Programming
Unit 1-uses for scripting languages,web scripting
Pipes in Windows and Linux.
Python Tutorial Part 2
source code metrics and other maintenance tools and techniques
Python final ppt
Functions in python
Spm software effort estimation
Variables in python
Pressman ch-11-component-level-design
Specification-of-tokens
Prgramming paradigms
Compiler vs interpreter
Introduction to python for Beginners
Ad

Similar to Unit 1-introduction to scripts (20)

PPTX
Introduction to scripts
PDF
Class 17-18 Introduction to Perl.pdf bbbbbb
PPTX
Uses for scripting languages,web scripting in perl
PDF
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
PPT
Chapter14_Scripting_Languages_4e.power point presentation
PPTX
Scripting languages presentation_michel_patrickfrancis
PPTX
Common Gateway Interface ppt
PPT
COMPUTER LANGUAGES AND THERE DIFFERENCE
PPTX
Xml & scripting
PPT
vb script
PPT
11 scripting languages
PDF
SERVER SIDE SCRIPTING
PPTX
Scripting languages
PPTX
programming language interface i.pptx
PPTX
sl slides-unit-1.pptx
PDF
(1) cpp introducing the_cpp_programming_language
PPTX
PPTX
perl lauange
Introduction to scripts
Class 17-18 Introduction to Perl.pdf bbbbbb
Uses for scripting languages,web scripting in perl
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
Chapter14_Scripting_Languages_4e.power point presentation
Scripting languages presentation_michel_patrickfrancis
Common Gateway Interface ppt
COMPUTER LANGUAGES AND THERE DIFFERENCE
Xml & scripting
vb script
11 scripting languages
SERVER SIDE SCRIPTING
Scripting languages
programming language interface i.pptx
sl slides-unit-1.pptx
(1) cpp introducing the_cpp_programming_language
perl lauange
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)

PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
web development for engineering and engineering
PPTX
Current and future trends in Computer Vision.pptx
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPT
Project quality management in manufacturing
PPTX
additive manufacturing of ss316l using mig welding
PDF
737-MAX_SRG.pdf student reference guides
PPTX
Sustainable Sites - Green Building Construction
PPTX
Artificial Intelligence
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
web development for engineering and engineering
Current and future trends in Computer Vision.pptx
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Operating System & Kernel Study Guide-1 - converted.pdf
Foundation to blockchain - A guide to Blockchain Tech
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
UNIT 4 Total Quality Management .pptx
Fundamentals of safety and accident prevention -final (1).pptx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Project quality management in manufacturing
additive manufacturing of ss316l using mig welding
737-MAX_SRG.pdf student reference guides
Sustainable Sites - Green Building Construction
Artificial Intelligence
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT

Unit 1-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
  • 8. CHARACTERISTICS OF SCRIPTING LANGUAGE  Integrated Compile and Run Scripting Language behave as if they were interpreted. They are often an interactive, experimental activity that doesn’t fit well with the “edit-compile- link-run” cycle of conventional programming. A few Scripting Languages like Unix Shell and TCL(Tool Command Language) version 7 are indeed implemented as strict interpreters. However most of the languages in current use opt for hybrid technique which involve compiling to an intermediate form which is then interpreted.  Low Overhead and ease of use Based on the usage variables can be declared and initialized . Later focus was on explicit variable declaration, which requires that you declare every variable before you use it. Eg: Dim sum As Integer (or) sum=10;  Enhanced Functionality Most of the languages provide powerful string manipulation based on the use of regular expression(A regular expression is a string of characters that define the pattern or patterns you are viewing. ). Some languages support easy access to API or Object model exported by application. 6/13/2016 8Introduction to scripts and scripting
  • 9. CHARACTERISTICS OF SCRIPTING LANGUAGE  Efficiency is not an issue Ease of use is achieved at the expense of efficiency eg: interpretation rather than compiling Focus is not on high performance but on the speed of development together with ability to make changes to meet new requirement. 6/13/2016 9Introduction to scripts and scripting