Web Programming: Building Internet Applications, 2/e

Chris Bates

  • 出版商: Wiley
  • 出版日期: 2002-03-29
  • 售價: $2,030
  • 貴賓價: 9.5$1,929
  • 語言: 英文
  • 頁數: 624
  • 裝訂: Paperback
  • ISBN: 0470843713
  • ISBN-13: 9780470843710

已過版

商品描述

Description:

"easy to read, the examples are excellent and the material is accessible to all readers..."

Learn how to:

  • format Web pages

  • write dynamic interfaces using JavaScript

  • link databases to Web sites

  • track users through your site

  • write CGI scripts in Perl

  • create dynamic Web sites using PHP

  • write Java servlets

  • incorporate the latest ideas in Web usability

Chris Bates has provided a comprehensive introduction to web progamming managing to cover the complex labyrinth of web development in a single volume. Concentrating on immediately useful code, rather than theory, this is a how-to book for programmers who need quick answers. From client-side development using HTML and its extensions, to more complex server-side applications written in ASP, Java and Perl, the complete web system is shown.

Web technologies that are covered in this volume are:

    Java

    Java Servlets

    JavaScript

    ASP

    PHP

    Dynamic HTML

    XHTML

    XML

    Perl 5

    Perl CGI Scripting

Table of Contents:

Preface to the Second Edition.

Preface.

Acknowledgement.

Introduction.

HTML, XML, and the World Wide Web.

Exercises.

HTML.

Basic HTML.

The Document Body.

Text.

Hyperlinks.

Adding More Formatting.

Lists.

Tables.

Using Color and Images.

Images.

Exercises.

More HTML.

Multimedia Objects.

Frames.

Forms - Towards Interactivity.

The HTML Document Head in Detail.

XHTML - An Evolutinary Markup.

Exercises.

Cascading Stylesheets.

Introduction.

Using Styles: Simple Examples.

Defining Your Own Styles.

Properties and Values in Styles.

Stylesheets - a Worked Example.

Formatting Blocks of Information.

Layers.

Exercises.

An Introduction to JavaScript.

What is Dynamic HTML?

JavaScript.

JavaScript - The Basics.

Variables.

String Manipulation.

Mathematical Functions.

Statements.

Operators.

Arrays.

Functions.

Exercises.

Objects in JavaScript.

Data and Objects in JavaScript.

Regular Expressions.

Exception Handling.

Builtin Objects.

Events.

Exercises.

Dynamic HTML with JavaScript.

Data Validation.

Opening a New Window.

Messages and Confirmations.

The Status Bar.

Writing to a Different Frame.

Rollover Buttons.

Moving Images.

Multiple Pages in a Single Download.

A Text-only Menu System.

Floating Logos.

Exercises.

Programming in Perl 5.

Why Perl?.

On-line Documentation.

The Basic Perl Program.

Scalars.

Arrays.

Hashes.

Control Structures.

Processing Text.

Regular Expresssions.

Using Files.

Subroutines.

Bits and Pieces.

Exercises.

CGI Scripting.

What is CGI?

Developing CGI Applications.

Processing CGI.

Returning a Basic HTML Page.

Introduction to CGI.pm.

CGI.pm Methods.

Creating HTML Pages Dynamically.

Using CGI.pm - An Example.

Adding Robustness.

Exercises.

Some CGI Examples.

Uploading Files.

Tracking Users with Cookies.

Tracking Users with Hidden Data.

Using Data Files.

Restricting Access With Session IDs.

Exercises.

Building Web Applications With Perl.

Carp.

Cookies.

Using Relational Databases.

Using libwww.

Template-based Sites With HTML::Mason.

Creating And Manipulating Images.

Exercises.

An Introduction to PHP.

PHP.

Using PHP.

Variables.

Program Control.

Builtin Functions.

Exercises.

Active Server Pages and Java.

Active Server Pages.

Java.

Exercises.

XML: Defining Data for Web Applications.

Basic XML.

Document Type Definition.

XML Schema.

Document Object Model.

Presenting XML.

Handling XML with Perl.

Using XML::Parser.

Handling the DOM with Perl.

Exercises.

Good Design.

Structure.

Tables versus Frames versus....

Accessibility.

Internationalization.

Exercises.

Useful Software.

Web Browsers.

Perl.

Web Servers.

mod-perl.

Databases.

Accessing your ISP.

Exercises.

Protocols.

Protocols.

IP and TCP.

Hypertext Transfer Protocol.

Common Gateway Interface.

The Document Object Model.

Introducing the Document Object Model.

Exercises.

Case Study.

The Plan.

The Data.

References.

Glossary.

Appendix A: HTML Color Codes.

Appendix B: JavaScript Keywords and Methods.

The Window Object.

The Document Object.

The Form Object.

The Navigator Object.

The String Object.

The Date Object.

The Math Object.

The Array Object.

The Image Object.

Javascript Keywords.

Appendix C: HTML Entities.

Index.