Web Programming: Building Internet Applications, 2/e
暫譯: 網頁程式設計:建立網際網路應用程式(第二版)
Chris Bates
- 出版商: Wiley
- 出版日期: 2002-03-29
- 售價: $2,400
- 貴賓價: 9.5 折 $2,280
- 語言: 英文
- 頁數: 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.
商品描述(中文翻譯)
描述:
「易於閱讀,範例非常出色,材料對所有讀者都很容易理解...」
學習如何:
- 格式化網頁
- 使用 JavaScript 編寫動態介面
- 將資料庫連結到網站
- 追蹤用戶在您的網站上的行為
- 使用 Perl 編寫 CGI 腳本
- 使用 PHP 創建動態網站
- 編寫 Java servlets
- 融入最新的網頁可用性理念
Chris Bates 提供了一個全面的網頁程式設計入門,成功地在一本書中涵蓋了網頁開發的複雜迷宮。這本書專注於立即可用的程式碼,而非理論,適合需要快速解答的程式設計師。從使用 HTML 及其擴展的客戶端開發,到使用 ASP、Java 和 Perl 編寫的更複雜的伺服器端應用程式,完整的網頁系統一覽無遺。
本書涵蓋的網頁技術包括:
- Java
- Java Servlets
- JavaScript
- ASP
- PHP
- 動態 HTML
- XHTML
- XML
- Perl 5
- Perl CGI 腳本
目錄:
第二版前言。
前言。
致謝。
介紹。
HTML、XML 與萬維網。
練習。
HTML。
基本 HTML。
文件主體。
文本。
超連結。
添加更多格式。
列表。
表格。
使用顏色和圖像。
圖像。
練習。
更多 HTML。
多媒體物件。
框架。
表單 - 走向互動性。
HTML 文件頭詳細介紹。
XHTML - 一種演進的標記。
練習。
層疊樣式表。
介紹。
使用樣式:簡單範例。
定義自己的樣式。
樣式中的屬性和值。
樣式表 - 一個實作範例。
格式化資訊區塊。
層。
練習。
JavaScript 入門。
什麼是動態 HTML?
JavaScript。
JavaScript - 基礎。
變數。
字串操作。
數學函數。
語句。
運算符。
陣列。
函數。
練習。
JavaScript 中的物件。
JavaScript 中的數據和物件。
正則表達式。
例外處理。
內建物件。
事件。
練習。
使用 JavaScript 的動態 HTML。
數據驗證。
開啟新視窗。
消息和確認。
狀態列。
寫入不同的框架。
滾動按鈕。
移動圖像。
單次下載中的多個頁面。
純文本菜單系統。
浮動標誌。
練習。
Perl 5 程式設計。
為什麼選擇 Perl?
線上文檔。
基本 Perl 程式。
標量。
陣列。
雜湊。
控制結構。
處理文本。
正則表達式。
使用檔案。
子例程。
零碎知識。
練習。
CGI 腳本。
什麼是 CGI?
開發 CGI 應用程式。
處理 CGI。
返回基本 HTML 頁面。
CGI.pm 介紹。
CGI.pm 方法。
動態創建 HTML 頁面。
使用 CGI.pm - 一個範例。
增加穩健性。
練習。
一些 CGI 範例。
上傳檔案。
使用 Cookies 追蹤用戶。
使用隱藏數據追蹤用戶。
使用數據檔案。
使用會話 ID 限制訪問。
練習。
使用 Perl 構建網頁應用程式。
Carp。
Cookies。
使用關聯式資料庫。
使用 libwww。
使用 HTML::Mason 的模板網站。
創建和操作圖像。
練習。
PHP 入門。
PHP。
使用 PHP。
變數。
程式控制。
內建函數。
練習。
Active Server Pages 和 Java。
Active Server Pages。
Java。
練習。
XML:為網頁應用程式定義數據。
基本 XML。
文檔類型定義。
XML 架構。
文檔物件模型。
呈現 XML。
使用 Perl 處理 XML。
使用 XML::Parser。
使用 Perl 處理 DOM。
練習。
良好的設計。
結構。
表格與框架的比較。
可及性。
國際化。
練習。
有用的軟體。
網頁瀏覽器。
Perl。
網頁伺服器。
mod-perl。
資料庫。
訪問您的 ISP。
練習。
協議。
協議。
IP 和 TCP。
超文本傳輸協議。
通用閘道介面。
文檔物件模型。
介紹文檔物件模型。
練習。
案例研究。
計劃。
數據。
參考文獻。
詞彙表。
附錄 A:HTML 顏色代碼。
附錄 B:JavaScript 關鍵字和方法。
視窗物件。
文檔物件。
表單物件。
導航物件。
字串物件。
日期物件。
數學物件。
陣列物件。
圖像物件。
JavaScript 關鍵字。
附錄 C:HTML 實體。
索引。