SlideShare a Scribd company logo
Michel Schwandner, Patrick Havel, Francis Oloo
Fundamentals and Concepts of Software Engineering-Winter 2012/13
 1. Scripting languages
 2. PHP
 3. Python
 4. Perl
 5. Comparison
 Definition:
Scripting languages, which can be embedded within
HTML, commonly are used to add functionality to a Web page, such
as different menu styles or graphic displays or to serve dynamic
advertisements. These types of languages are client-side scripting
languages, affecting the data that the end user sees in a browser
window. Other scripting languages are server-side scripting
languages that manipulate the data, usually in a database, on the
server.
(from: http://www.webopedia.com/TERM/S/scripting_language.html)
 Characteristics:
 implicit declared variables
▪ dynamic typecast
▪ valid for functions too
 automatic memory management
 Interpreted code
 fields of application:
 command-line interpreters
▪ sh
▪ cmd
 Scripting languages in internet applications
▪ PHP
▪ Perl
▪ Python
 fields of application:
 Scripting languages in program library
▪ VBScript
▪ JScript
 Scripting languages in programs
▪ QuakeC
▪ UnrealScript
 comparison with programming languages
Scripting languages Programming languages
Interpreter Compiler
mostly imperative programming
paradigm
mostly object orientated programming
paradigm
slowly -> code interpretation during
runtime
very fast runtime
automatic memory management memory management (pointer
technique (C, C++))
typeless strict type handling
Scripting languages presentation_michel_patrickfrancis
 introductory and historical aspects
 development began in 1994
 started with a set of Perl scripts calling "Personal
Home PageTools“
 free software released under the PHP License
 almost 80% of the web pages using PHP
 final version 6 will publish soon
 Characteristics:
 own scripting language with its own interpreter
 close to C or Java syntax
 support of object orientated approach
 extensive function library
 Characteristics:
 server-side
scripting language
 embedded into an
HTML source document or
in a proper PHP file
 Fields of application:
 originally designed forWeb development
 Database connection
 HTML forms
 Dynamic generation of graphs and file upload
 most famous application is the LAMP
Pros Cons
easy to learn -> close to C, java and
human languages
no byte code cache
a lot of fields of applications procedural programming in object
orientated library
separation of code and layout weak typecast
feature rich security problem
Free interpreted language -> slow runtime
browser independency automatic memory management
useable on each OS
young language
 Examples:
 embedded in HTML Code
▪ <script language="php"> ... </script>
▪ file extension .html
 own PHP document
▪ <?PHP .... ?>
▪ <? .... ?>
▪ file extension .php
 Code examples:
Scripting languages presentation_michel_patrickfrancis
 Introduction and History
 Python from Monty Python Python fun to use
 1989: implementation by Guido van Rossum
(Netherlands)
 1991: appearance
 2000: version 2.0
 2008: version 3.0 (backwards incompatible)
 2007/2010:TIOBE Programming Language of theYear Award
 actual versions:
▪ 3.3.0 (sept. 2012)
▪ 2.7.3 (april 2012)
 Characteristics
 language integration: C, C++, Java
 full modularising
 standard libraries for GIS, databases, important
internet protocols, mathematics, statistics, …
 Block structures
 everything is an object
 Multi-paradigm language: object-oriented style,
the traditional procedural style or a mix of those
Pro Cons
easy to learn no special syntax to distinguish methods
and functions (methods -> self)
clean and elegant design not as fast as C or C++
include high-level data types script length
easily build GUI (Tkinter) Slow run-time
exception handling Version 3.0: downward incompatibility
well-established development
community and a central Web site
(Python tools and extension modules)
large standard library
open source
for many platforms
(Unix,Windows, Mac OS X,…)
 Applications
 Web applications (Apache web server)
 Scientific: NumPy, SciPy, Matplotlib,ArcPy
 3D animation packages (Blender, Cinema 4D…)
 GIS-Software:ArcGIS , Quantum GIS,Grass GIS,
etc.
 Others:Youtube, BitTorrent, Google, NASA,
CERN,…
Example 1:
Example 2:
Scripting languages presentation_michel_patrickfrancis
Scripting languages presentation_michel_patrickfrancis
 Perl : Practical Extraction and Reporting Language
 Originally developed by LarryWall in 1987
 An interpreted language: does not need to be
compiled as separate step
 Perl programs are text files run through an
interpreter
 Current version 5.16.2
 Characteristics
 Can run both onWindows and UNIX/Linux
 InWindows can be run through the Command line
editor
 You need to define the location of Perl Script
 The version can be stated within the script
 Typical applications
 Text processing
 System administration: tying smaller scripts, working with file
systems and networking
 Web programming: Used to process and generate HTML
 Database interaction
 Mail processing: automated processing of internet emails including
filtering by address and content
 Automating file retrieval via FTP
 Applications in geoinformatics
 A number of modules exist at CPAN for handling
geographic data, GPS
http://www.cpan.org/modules/01modules.index.html
 Can be used for constructing GIS tools for
handling and editing geocoded data on a map
http://www.isprs.org/proceedings/xxxv/congress/yf/papers/934.pdf
Pros Cons
Portable Poor documentation/ Informal support,
mainly through volunteers
Very dense code thus saving on coding
time
Is an interpreted language, therefore not
as fast
Good with text handling Protecting proprietary code; not
compiled thus can only distributed as
codes
Backward compatibility Maintainability of scripts
Very flexible
Massive library of reusable codes
•The program should be saved as a .pl format
 Hash:Two dimensional arrays with keys and
values e.g
criteria Python PHP Perl
object oriented
programing
simple but
effective approach
 downright easy
weak -> most of the of
approaches aren’t
implemented
providesOOP features
of data encapsulation
and inheritance using
modules and packages
runtime Worst of these
three
relatively fast in procedural
approach
Very good speeds
especially for test
processing
modularity Full modularising store repeated code in
separated functions
Full modularising
through modules and
packages
code length Depending on
application, but
over all worse
different possibilities how
to write the code
Highly optimized
security modules and
“community” for
security
not that safe (include, user
interactions)
User input vulnerability
Many thanks
-
Comments??

More Related Content

PPTX
Scripting languages
PDF
SERVER SIDE SCRIPTING
PPTX
Client Side scripting and server side scripting
PPTX
Client & server side scripting
PPTX
Uses for scripting languages,web scripting in perl
PPT
Web forms and server side scripting
KEY
Server Side Programming
PDF
Difference between vbscript and javascript
Scripting languages
SERVER SIDE SCRIPTING
Client Side scripting and server side scripting
Client & server side scripting
Uses for scripting languages,web scripting in perl
Web forms and server side scripting
Server Side Programming
Difference between vbscript and javascript

What's hot (19)

PPTX
Client and server side scripting
PPTX
Unit 1-introduction to scripts
PPTX
Server and Client side comparision
PPTX
Client side scripting and server side scripting
PPTX
Client side and server side scripting
PPTX
Client side &amp; Server side Scripting
PDF
Web programming by kiran and team
PPTX
Client side scripting and server side scripting
ODP
The Importance Things of Full Stack Development
PPT
Introduction to Java Scripting
PPTX
Introduction to PHP Part-I
PPT
Concepts of Asp.Net
PDF
REPORT ON ASP.NET
PPTX
Backend Programming
PPTX
Chapter1
PDF
Nagarjuna Reddy_Java (1+ Experience)
DOCX
What is asp
PPTX
Web Development Today
Client and server side scripting
Unit 1-introduction to scripts
Server and Client side comparision
Client side scripting and server side scripting
Client side and server side scripting
Client side &amp; Server side Scripting
Web programming by kiran and team
Client side scripting and server side scripting
The Importance Things of Full Stack Development
Introduction to Java Scripting
Introduction to PHP Part-I
Concepts of Asp.Net
REPORT ON ASP.NET
Backend Programming
Chapter1
Nagarjuna Reddy_Java (1+ Experience)
What is asp
Web Development Today
Ad

Viewers also liked (9)

PPTX
Cartography student project_oloobasirhaufe
PPTX
Gi science discipline_foloo
PDF
Project Ideas
PPTX
Gis project final_presentation
PDF
D Solar Energy Review Pranay 1
PPT
Sam Baldwin | CSP, PV and a Renewable Future
PPTX
Application of water evaluation and planning (WEAP)
PDF
A Business Model for Solar Energy - SunEdison
PPTX
Project Proposal on 10 MW Solar PV Power Plant
Cartography student project_oloobasirhaufe
Gi science discipline_foloo
Project Ideas
Gis project final_presentation
D Solar Energy Review Pranay 1
Sam Baldwin | CSP, PV and a Renewable Future
Application of water evaluation and planning (WEAP)
A Business Model for Solar Energy - SunEdison
Project Proposal on 10 MW Solar PV Power Plant
Ad

Similar to Scripting languages presentation_michel_patrickfrancis (20)

PPT
COMPUTER LANGUAGES AND THERE DIFFERENCE
PPTX
Python | What is Python | History of Python | Python Tutorial
PDF
Class 17-18 Introduction to Perl.pdf bbbbbb
PDF
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
PPT
Chapter14_Scripting_Languages_4e.power point presentation
PPTX
2015 bioinformatics python_introduction_wim_vancriekinge_vfinal
PPTX
introduction to Perl _ the programming language.pptx
PPT
Python Intro For Managers
PPTX
PPTX
perl lauange
PPTX
Apples and Oranges-- Introductory Comparison between PHP and Python
PDF
1504.00693
PPTX
PHP programmimg
PPTX
Group1_PERL.pptx
PDF
(1) cpp introducing the_cpp_programming_language
PPT
11 scripting languages
PPTX
Programming language
PPTX
P1 2018 python
PPTX
sl slides-unit-1.pptx
COMPUTER LANGUAGES AND THERE DIFFERENCE
Python | What is Python | History of Python | Python Tutorial
Class 17-18 Introduction to Perl.pdf bbbbbb
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
Chapter14_Scripting_Languages_4e.power point presentation
2015 bioinformatics python_introduction_wim_vancriekinge_vfinal
introduction to Perl _ the programming language.pptx
Python Intro For Managers
perl lauange
Apples and Oranges-- Introductory Comparison between PHP and Python
1504.00693
PHP programmimg
Group1_PERL.pptx
(1) cpp introducing the_cpp_programming_language
11 scripting languages
Programming language
P1 2018 python
sl slides-unit-1.pptx

Recently uploaded (20)

PPTX
Cloud computing and distributed systems.
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Encapsulation theory and applications.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
Teaching material agriculture food technology
PDF
Machine learning based COVID-19 study performance prediction
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
sap open course for s4hana steps from ECC to s4
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Cloud computing and distributed systems.
Dropbox Q2 2025 Financial Results & Investor Presentation
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Encapsulation theory and applications.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Unlocking AI with Model Context Protocol (MCP)
Digital-Transformation-Roadmap-for-Companies.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Teaching material agriculture food technology
Machine learning based COVID-19 study performance prediction
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Spectral efficient network and resource selection model in 5G networks
Encapsulation_ Review paper, used for researhc scholars
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
sap open course for s4hana steps from ECC to s4
The AUB Centre for AI in Media Proposal.docx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

Scripting languages presentation_michel_patrickfrancis

  • 1. Michel Schwandner, Patrick Havel, Francis Oloo Fundamentals and Concepts of Software Engineering-Winter 2012/13
  • 2.  1. Scripting languages  2. PHP  3. Python  4. Perl  5. Comparison
  • 3.  Definition: Scripting languages, which can be embedded within HTML, commonly are used to add functionality to a Web page, such as different menu styles or graphic displays or to serve dynamic advertisements. These types of languages are client-side scripting languages, affecting the data that the end user sees in a browser window. Other scripting languages are server-side scripting languages that manipulate the data, usually in a database, on the server. (from: http://www.webopedia.com/TERM/S/scripting_language.html)
  • 4.  Characteristics:  implicit declared variables ▪ dynamic typecast ▪ valid for functions too  automatic memory management  Interpreted code
  • 5.  fields of application:  command-line interpreters ▪ sh ▪ cmd  Scripting languages in internet applications ▪ PHP ▪ Perl ▪ Python
  • 6.  fields of application:  Scripting languages in program library ▪ VBScript ▪ JScript  Scripting languages in programs ▪ QuakeC ▪ UnrealScript
  • 7.  comparison with programming languages Scripting languages Programming languages Interpreter Compiler mostly imperative programming paradigm mostly object orientated programming paradigm slowly -> code interpretation during runtime very fast runtime automatic memory management memory management (pointer technique (C, C++)) typeless strict type handling
  • 9.  introductory and historical aspects  development began in 1994  started with a set of Perl scripts calling "Personal Home PageTools“  free software released under the PHP License  almost 80% of the web pages using PHP  final version 6 will publish soon
  • 10.  Characteristics:  own scripting language with its own interpreter  close to C or Java syntax  support of object orientated approach  extensive function library
  • 11.  Characteristics:  server-side scripting language  embedded into an HTML source document or in a proper PHP file
  • 12.  Fields of application:  originally designed forWeb development  Database connection  HTML forms  Dynamic generation of graphs and file upload  most famous application is the LAMP
  • 13. Pros Cons easy to learn -> close to C, java and human languages no byte code cache a lot of fields of applications procedural programming in object orientated library separation of code and layout weak typecast feature rich security problem Free interpreted language -> slow runtime browser independency automatic memory management useable on each OS young language
  • 14.  Examples:  embedded in HTML Code ▪ <script language="php"> ... </script> ▪ file extension .html  own PHP document ▪ <?PHP .... ?> ▪ <? .... ?> ▪ file extension .php
  • 17.  Introduction and History  Python from Monty Python Python fun to use  1989: implementation by Guido van Rossum (Netherlands)  1991: appearance  2000: version 2.0  2008: version 3.0 (backwards incompatible)  2007/2010:TIOBE Programming Language of theYear Award  actual versions: ▪ 3.3.0 (sept. 2012) ▪ 2.7.3 (april 2012)
  • 18.  Characteristics  language integration: C, C++, Java  full modularising  standard libraries for GIS, databases, important internet protocols, mathematics, statistics, …  Block structures  everything is an object  Multi-paradigm language: object-oriented style, the traditional procedural style or a mix of those
  • 19. Pro Cons easy to learn no special syntax to distinguish methods and functions (methods -> self) clean and elegant design not as fast as C or C++ include high-level data types script length easily build GUI (Tkinter) Slow run-time exception handling Version 3.0: downward incompatibility well-established development community and a central Web site (Python tools and extension modules) large standard library open source for many platforms (Unix,Windows, Mac OS X,…)
  • 20.  Applications  Web applications (Apache web server)  Scientific: NumPy, SciPy, Matplotlib,ArcPy  3D animation packages (Blender, Cinema 4D…)  GIS-Software:ArcGIS , Quantum GIS,Grass GIS, etc.  Others:Youtube, BitTorrent, Google, NASA, CERN,…
  • 24.  Perl : Practical Extraction and Reporting Language  Originally developed by LarryWall in 1987  An interpreted language: does not need to be compiled as separate step  Perl programs are text files run through an interpreter  Current version 5.16.2
  • 25.  Characteristics  Can run both onWindows and UNIX/Linux  InWindows can be run through the Command line editor  You need to define the location of Perl Script  The version can be stated within the script
  • 26.  Typical applications  Text processing  System administration: tying smaller scripts, working with file systems and networking  Web programming: Used to process and generate HTML  Database interaction  Mail processing: automated processing of internet emails including filtering by address and content  Automating file retrieval via FTP
  • 27.  Applications in geoinformatics  A number of modules exist at CPAN for handling geographic data, GPS http://www.cpan.org/modules/01modules.index.html  Can be used for constructing GIS tools for handling and editing geocoded data on a map http://www.isprs.org/proceedings/xxxv/congress/yf/papers/934.pdf
  • 28. Pros Cons Portable Poor documentation/ Informal support, mainly through volunteers Very dense code thus saving on coding time Is an interpreted language, therefore not as fast Good with text handling Protecting proprietary code; not compiled thus can only distributed as codes Backward compatibility Maintainability of scripts Very flexible Massive library of reusable codes
  • 29. •The program should be saved as a .pl format
  • 30.  Hash:Two dimensional arrays with keys and values e.g
  • 31. criteria Python PHP Perl object oriented programing simple but effective approach  downright easy weak -> most of the of approaches aren’t implemented providesOOP features of data encapsulation and inheritance using modules and packages runtime Worst of these three relatively fast in procedural approach Very good speeds especially for test processing modularity Full modularising store repeated code in separated functions Full modularising through modules and packages code length Depending on application, but over all worse different possibilities how to write the code Highly optimized security modules and “community” for security not that safe (include, user interactions) User input vulnerability