(the language for getting your job done) Internet Programming Diana Hingst.

Slides:



Advertisements
Similar presentations
1 Copyright © 2002 Pearson Education, Inc.. 2 Chapter 1 Introduction to Perl and CGI.
Advertisements

The Web Wizards Guide to Freeware/Shareware Chapter Four Essential Tools for Web Page Authors.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 11: Advanced Web Technologies.
Introduction to JavaScript
A Guide to Unix Using Linux Fourth Edition
Introduction to PHP MIS 3501, Fall 2014 Jeremy Shafer
The Linux Operating System Lecture 6: Perl for the Systems Administrator Tonga Institute of Higher Education.
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Understand Web Page Development Software Development Fundamentals LESSON 4.1.
What is a Web Page? Web pages are a combination of text and graphics, wrapped in a special “markup” language. The markup language (Hypertext Markup Language.
Technical Tips and Tricks for User Support Mike Gardner
CSE S. Tanimoto Perl Introduction 1 Perl Practical Extraction and Report Language Perl: Developed by Larry Wall in the late 1980s. Builds on...
Server-Side vs. Client-Side Scripting Languages
1 PROJECT Web-based Database Applications Lecture 1: Basic Internet Concepts & Databases - the History.
ASP Tutorial. What is ASP? ASP (Active Server Pages) is a Microsoft technology that enables you to make dynamic and interactive web pages. –ASP usually.
IST 221 Internet Concepts and Applications Introduction to PHP.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
1 Web Wizards Guide To PHP David Lash Chapter 1 Introduction to PHP.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
1 Computing for Todays Lecture 22 Yumei Huo Fall 2006.
1 CS6320 – Why Servlets? L. Grewe 2 What is a Servlet? Servlets are Java programs that can be run dynamically from a Web Server Servlets are Java programs.
Scripting Languages. Originally, a script was a file containing a sequence of commands that needed to be executed Control structures were added to make.
Guide To UNIX Using Linux Third Edition
CSE S. Tanimoto Perl Introduction 1 Perl Practical Extraction and Report Language Shell-level scripting language: Glue that ties together programs.
The Basic Tools Presented by: Robert E., & Jonathan Chase.
FIRST COURSE Creating Web Pages with Microsoft Office 2007.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
The PHP Story. PHP Story PHP is a programming language. Incorporate(join) sophisticated business logic. Widely used general purpose scripting language.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
COMP An Introduction to Computer Programming : University of the West Indies COMP6015 An Introduction to Computer Programming Lecture 03.
ITD 3194 Web Application Development Chapter 4: Web Programming Language.
AIT 616 Fall 2002 PHP. AIT 616 Fall 2002 PHP  Special scripting language used to dynamically generate web documents  Open source – Free!!!  Performs.
Languages in WEB Presented by: Jenisha Kshatriya BCM SS09.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
IST 210: PHP BASICS IST 210: Organization of Data IST210 1.
CSCI 1101 Intro to Computers 7.1 Learning HTML. 2 Introduction Web pages are written using HTML Two key concepts of HTML are:  Hypertext (links Web pages.
1.8History of Java Java –Based on C and C++ –Originally developed in early 1991 for intelligent consumer electronic devices Market did not develop, project.
Topic 1: Welcome CSE2395/CSE3395 Perl Programming.
A very basic overview of Server-Side Scripting Or what is PHP, Perl, Python, Ruby and what can they do for me?
1 © Copyright 2000 Ethel Schuster The Web… in 15 minutes Ethel Schuster
Web Programming for DB Applications Yuen-Hsien Tseng 2006/04/18.
Introduction to Perl Yupu Liang cbio at MSKCC
Introduction to PHP Advanced Database System Lab no.1.
CS 4720 Dynamic Web Applications CS 4720 – Web & Mobile Systems.
Computational Boot Camp HTML Mike Schaffer. 8/23/2002 (MES) HTML What is HTML? HTML stands for HyperText Markup Language HTML is the language for publishing.
CSE S. Tanimoto Java Introduction 1 Java A Programming Language for Web-based Computing with Graphics.
D R A T D R A T ABSTRACT Every semester each department at Iowa State University has to assign its faculty members and teaching assistants (TAs) to the.
CSE S. Tanimoto Perl-Intro - 1 Perl Practical Extraction and Report Language Shell-level scripting language: Glue that ties together programs written.
Chap 2 – Getting Started COMP YL Professor Mattos.
 Before you continue you should have a basic understanding of the following:  HTML  CSS  JavaScript.
PHP Form Processing * referenced from
How CGI and Java Servlets are Run By David Stein 14 November 2006.
HTML HyperText Markup Language Victoria E. Kozlek.
1 An Introduction to Dreamweaver and PHP Part C: Setting Dreamweaver up to handle file transferring FTP.
Dr. Abdullah Almutairi Spring PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used,
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
Perl Ed Finegan. Overview of Pearl Perl is a high-level programming language written by Larry Wall. It derives from the C programming language and to.
IST 210: PHP Basics IST 210: Organization of Data IST2101.
HTML is the language that allows text and graphics to be displayed as Web pages. It is a set of special codes, called tags, that tells a browser application.
PHP stands for …….. “PHP Hypertext Pre-processor” and is a server-side scripting language like ASP. PHP scripts are executed on the server PHP supports.
XP Creating Web Pages with Microsoft Office
PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used, free, and efficient alternative.
PERL.
PHP Introduction.
Chapter 27 WWW and HTTP.
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Types of Software Mrs. S. Palmer Office Administration.
Web Application Development Using PHP
Presentation transcript:

(the language for getting your job done) Internet Programming Diana Hingst

 Dynamic programming language  Intended to be practical (easy to use & efficient)  Widely adopted for its text processing  One of “The Three P’s” (Perl, PHP, Python) for writing web applications

 File system manipulation  Database administration  Client-server programming  Secure programming  Object-oriented programming  GUI development

 Created by Larry Wall in 1987  Designed as a glue for Unix OS  Originally named “PEARL” Figure 1: Larry Wall

 First Edition published in 1991 as a reference guide to Perl.  Previously, documentation was a single (very long) man page.  Perl 4 released. Figure 2: Programming Perl Cover

Answer: Both 1. Compiles into an intermediate format  Optimizes & gives instant feedback 2. Interprets the intermediate format to execute

 #Comment  $number = “4”;  $string = “3 apples”; = (“couch”, “movie”, “drink”);  %hash = (joe => ‘red’, sam => ‘blue’);  $a ** $b#a^b  $a. $b#String Concatenation  $a x $b#Repeat a b times

 $camels = ‘123’;  print $camels + 1;# Prints 124  $a = “8”;  print $a + “1”;# Prints 9  print $a. “1”;# Prints 81

 Open a text editor  Save with file extension.pl (or.cgi)  We’ve located the PERL interpreter and told it we’re going to be working with a web browser or in a web environment

 Upload it to your web server  Run the program in one of three ways  Link to it Click Here  Write it into your HTML file  Action item of a form  Unix command line perl myscript.cgi

 Perl Code  HTML Code

 Data Tracing Mechanism  Automatically determines which data was derived from insecure sources  Specially Protected Compartments  Able to safely execute Perl code that may be dangerous/insecure

 Rotate Banners  Generate Text & HTML on the fly  Set Cookies  Provide Shopping Carts

 Amazon.com  LiveJournal.com  Ticketmaster.com  IMDb.com

 Writing poems that can actually be compiled as legal Perl code. if ((light eq dark) && (dark eq light) && ($blaze_of_night{moon} == black_hole) && ($ravens_wing{bright} == $tin{bright})){ my $love = $you = $sin{darkness} + 1; };

 Programming Perl 2 nd Edition       pj html pj html