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

Slides:



Advertisements
Similar presentations
IS 6116 Introduction – 10 Jan Lecturer Details Aonghus Sugrue Website: aonghussugrue.wordpress.com
Advertisements

1 Copyright © 2002 Pearson Education, Inc.. 2 Chapter 2 Getting Started.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 The Web Wizards Guide to PHP by David A. Lash.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 15 Introduction to Rails.
Introduction to HTML, XHTML, and CSS
The World Wide Web. 2 The Web is an infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that.
Getting Familiar with Web Pages 1 2 The Internet Worldwide collection of interconnected computer networks that enables businesses, organizations, governments,
Chapter 11 Database Applications Using Internet Technology David M. Kroenke Database Processing © 2000 Prentice Hall.
Internet Research Internet Applications. The Internet is not the Web Because of the great popularity of the World Wide Web, people think the Internet.
Project 1 Introduction to HTML.
Chapter Concepts Review Markup Languages
© Copyright 1997, The University of New Mexico C-1 Internet Service Provider Services What to do once you’re connected.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
1 Web Wizards Guide To PHP David Lash Chapter 1 Introduction to PHP.
1 Introduction to Perl and CGI David Lash Chapter 1 – Introduction.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Active Server Pages Chapter 1. Introduction Understand how browsers and servers interacted when the Web was young Understand what early Internet and intranet.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
Guide To UNIX Using Linux Third Edition
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. by Mary Anne Poatsy, Keith Mulbery, Eric Cameron, Jason Davidson, Rebecca Lawson,
1st Project Introduction to HTML.
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
Chapter 6: Hostile Code Guide to Computer Network Security.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
8/17/2015CS346 PHP1 Module 1 Introduction to PHP.
1 Introduction to Web Development. Web Basics The Web consists of computers on the Internet connected to each other in a specific way Used in all levels.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Chapter 33 CGI Technology for Dynamic Web Documents There are two alternative forms of retrieving web documents. Instead of retrieving static HTML documents,
DATA COMMUNICATION DONE BY: ALVIN SAMPATH CARLVIN SAMPATH.
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
Introduction to Programming the WWW I CMSC Summer 2004 Lecture 6.
10/5/2015CS346 PHP1 Module 1 Introduction to PHP.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
PHP and MySQL by Example COMP YL Professor Mattos.
Web Programming : Building Internet Applications Chris Bates CSE :
Web Design and Development for E-Business By Jensen J. Zhao Copyright 2003 Prentice Hall, Inc. Web Design and Development for E-Business Jensen J. Zhao.
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
Chapter Nine Perl and CGI Programming. 2 Objectives Basic features of Perl language Set up an HTML Web page Use Perl and CGI scripts to make your web.
1 © Copyright 2000 Ethel Schuster The Web… in 15 minutes Ethel Schuster
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
CSU - DEO Introduction to CGI - Fort Collins, CO Copyright © XTR Systems, LLC Introduction to the Common Gateway Interface (CGI) Instructor: Joseph DiVerdi,
Web Page Design Introduction. The ________________ is a large collection of pages stored on computers, or ______________ around the world. Hypertext ________.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
CITA 310 Section 7 Installing and Testing a Programming Environment (Textbook Chapter 7)
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
Form Processing Week Four. Form Processing Concepts The principal tool used to process Web forms stored on UNIX servers is a CGI (Common Gateway Interface)
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
CS 330: Internet Architecture and Programming, Fall 2001 Professor K. Larson Professor C. Shilepsky
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
Introduction to the World Wide Web & Internet CIS 101.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Website Source Code Free Download.
Distributed Control and Measurement via the Internet
Tonga Institute of Higher Education IT 141: Information Systems
Exploring Microsoft Word 2000
Chapter 1 Introduction to HTML.
Project 1 Introduction to HTML.
Introduction to Programming the WWW I
Part 3 Creating basic HTML web pages
Tonga Institute of Higher Education IT 141: Information Systems
Introduction to HTML Simple facts yet crucial to beginning of study in fundamentals of web page design!
Part 3 Creating basic HTML web pages
Tonga Institute of Higher Education IT 141: Information Systems
Web Programming : Building Internet Applications Chris Bates CSE :
The Web Wizard’s Guide to PHP by David A. Lash
Presentation transcript:

1 Copyright © 2002 Pearson Education, Inc.

2 Chapter 1 Introduction to Perl and CGI

3 Copyright © 2002 Pearson Education, Inc. World Wide Web Background l The World Wide Web (WWW) is a collection of millions of documents and files that are accessible via the Internet l Web browsers are special computer programs that know how to retrieve and display files from the World Wide Web. Can work with Play a file in the wav format (a sound file) Interpret and then display a file in a gif format ( a digital picture file) Interpret and then display a file in the HTML format (a text-based Web page)

4 Copyright © 2002 Pearson Education, Inc. Accessing HTML Files Over the Internet

5 Copyright © 2002 Pearson Education, Inc. HTML? l The Hypertext Markup Language (HTML) uses coded commands called HTML tags that provide instructions to Web browsers indicating how to display each page

6 Copyright © 2002 Pearson Education, Inc. Displaying HTML

7 Copyright © 2002 Pearson Education, Inc. Web Application Program l Carries out many dynamic tasks, such as the following: »Input a search term, search the WWW, and return the results »Calculate and display the number of times that a page has been viewed »Verify the input fields on a Web form »Save a Web form into a database »Display a special graph, or return the results of a calculation based on data input from a form

8 Copyright © 2002 Pearson Education, Inc. The Common Gateway Interface l a standard that enables Web browsers to exchange data with computer programs located on a Web server l first appeared in the NCSA HTTPD Web server software built by the National Center for Super- computing Applications (NCSA). »one of the first widely used Web servers »was simple and the program source code was made available for free l It is simple to use and available on a variety of Web servers.

9 Copyright © 2002 Pearson Education, Inc. How Browsers and Web Applications Work with CGI

10 Copyright © 2002 Pearson Education, Inc. An Interface with Different Programming Languages l Web application programs that are developed specifically to work with the CGI standard are known as CGI programs. l Lots of different programming languages can be used. For example, »Perl, »Visual Basic, »Java, »C, » C++, » and UNIX shell scripts.

11 Copyright © 2002 Pearson Education, Inc. The Perl Programming Language l Practical Extension and Reporting Language »invented in 1987 by Larry Wall at NASAs Jet Propulsion Laboratory »developed as a utility programming language for the UNIX operating system »gained popularity because of its ease of use, free availability via the Internet, and its powerful combination of

12 Copyright © 2002 Pearson Education, Inc. Why Perl is Popular l Perl is a free language with lots of free applications l Perl is easier to work with than many other languages l Perl provides a CGI interface module l Perl applications are portable.

13 Copyright © 2002 Pearson Education, Inc. Why Perl is Popular l Perl is a free language with lots of free applications l Perl is easier to work with than many other languages l Perl provides a CGI interface module l Perl applications are portable.

14 Copyright © 2002 Pearson Education, Inc. Internet Service Provider Issues l Some things to determine with your ISP »Allow CGI programs to execute on its Web- server? Does it have Perl? What Version? »Login and initial password on the Web server? »Where do you put your Perl programs on the Web server and what permission settings? »How much disk space for publishing? »Support FTP and/or Telnet access?

15 Copyright © 2002 Pearson Education, Inc. FTP Vs Telnet Access

16 Copyright © 2002 Pearson Education, Inc. Summary l Web pages written in HTML are static and cannot interact with users. l CGI is an interface standard that allows computer programs to communicate with Web servers. Several programming languages can be used with CGI.

17 Copyright © 2002 Pearson Education, Inc. Summary - II l Perl is a popular computer language that can be used for developing CGI programs. l You can install Perl and your own Web server software on your PC or workstation. l If you use an ISPs Web server, find out several things about its services.