Professional Documents
Culture Documents
Outline
1.1 1.2 1.3 1.4 1.5 Introduction What is a Computer? Computer Organization Evolution of Operating Systems Personal Computing, Distributed Computing and Client/ Server Computing Machine Languages, Assembly Languages and High-level Languages Structured Programming Object-Oriented Programming Hardware Trends History of the Internet History of the World Wide Web History of Perl
1.6
1.7 1.8 1.9 1.10 1.11 1.12
Chapter 1 Introduction to Computers, the Internet and the World Wide Web
Outline
1.13 1.14 Perl Library General Notes About Perl and This Book
1.1 Introduction
We will learn
How to use Perl with the Common Gateway Interface (CGI) for building dynamic, Web-based applications
Hardware
Various devices comprising a computer Keyboard, screen, mouse, disks, memory, CD-ROM, and processing units
Software
Programs that run on a computer
2001 Prentice Hall, Inc. All rights reserved.
Timesharing
Many users sharing a computer at once Development of UNIX
1.5 Personal Computing, Distributed Computing, and Client/Server Computing Personal computers
Economical enough for individual
Distributed computing
Computing distributed over networks
Client/server computing
Sharing of information across computer networks between file servers and clients (personal computers)
1.6 Machine Languages, Assembly Languages and High-level Languages Three types of programming languages
1. Machine languages
Strings of numbers giving machine specific instructions Example: +1300042774 +1400593419 +1200274027
2. Assembly languages
English-like abbreviations representing elementary computer operations (translated via assemblers) Example: LOAD BASEPAY ADD OVERPAY STORE GROSSPAY
COBOL
Used to manipulate large amounts of data
C
Developed for writing systems software and compilers
Ada
Developed to meet the needs of the Department of Defense Multitasking
2001 Prentice Hall, Inc. All rights reserved.
Microprocessor chip
Laid groundwork in late 1970s and 1980s for productivity improvements of the 1990s
2001 Prentice Hall, Inc. All rights reserved.
Packet switching
The transfer of digital data via small packets Allows multiple users to send and receive data simultaneously
No centralized control
If one part of the Internet fails, other parts can still operate
Bandwidth
Information carrying capacity of communications lines
2001 Prentice Hall, Inc. All rights reserved.
Internet today
Mixes computing and communications technologies Makes information constantly and instantly available to anyone with a connection
Perl 4
Adopted Artistic License to attract more users
Perl 5
Major reorganization of Perl language
2001 Prentice Hall, Inc. All rights reserved.
1.13 General Notes About Perl and This Book Perl approach to programming
Qualities of a good programmer
Laziness Reusable code Impatience Functional programs Hubris Easy to understand code