Web Application Design and Implementation: Apache 2, PHP5, MySQL, JavaScript, and Linux/UNIX (Hardcover)

Steven A. Gabarro

  • 出版商: IEEE
  • 出版日期: 2006-12-01
  • 定價: $3,980
  • 售價: 5.0$1,990
  • 語言: 英文
  • 頁數: 295
  • 裝訂: Hardcover
  • ISBN: 0471773913
  • ISBN-13: 9780471773917
  • 相關分類: JavaScriptLinuxMySQLPHPSQL
  • 立即出貨(限量) (庫存=2)

買這商品的人也買了...

商品描述

Description

Web Application Design and Implementation uses a hands-on approach of the major technologies and programming languages to teach readers web development. Providing an understanding of all major aspects of web programming in order to achieve the construction of a database-driven website, the book features state-of-the-art programming languages such as HTML, JavaScript, MySQL, PHP, Apache, Linux/Unix.
 
 

Table of Contents

PREFACE.

About the Author.

Before We Get Started.

Who Should Read this book?

About The Examples.

How to read this book.

Web Application Recipe.

Overview.

Step 1 - Understanding the problem and finding the solution.

Step 2 - Designing the database.

Step 3 - Major functionalities.

Step 4 - Back side.

Step 5 - Improvements on functionality.

Step 6 - Improvements on looks.

Step 7 - Thorough testing, hacking attempts.

Step 8 - Presentation.

Step 9 - Publication.

Step 10 - Celebration (and maintenance).

Chapter 1. Fundamentals.

The origins of the Internet.

The World Wide Web.

The Web Browsers.

The Web Servers.

TCP/IP BASICS.

The Internet Layer.

The Transport Layer.

The Application Layer.

The Toolbox.

Browsers.

FTP.

E-Mail Clients.

Programming Tools.

Other Useful Tools.

Chapter 2. The Different Approaches of Web Programming.

Before We Get Started.

The Basics - HTML.

The Creator - SGML.

Other SGML-based languages - XML / XSL.

The good old Java.

Something different - JavaScript.

The Savior - PHP.

The rival - ASP.NET.

The Myth - CGI.

Another Big Option - Perl.

The Future? - C#.

Client-side versus Server-side - Which side to pick?

My Choices - PHP, MySQL, JavaScript.

Chapter 3. Introduction To HTML.

What do you need to get started?

How does HTML work?

Syntax basics.

File Structure.

Tags Parameters.

Basic Text Formatting.

External References.

Links.

Images.

Organizing Data.

Lists.

Tables.

Frames.

Special Characters.

Chapter 4. Work Environment.

Introduction.

Downloading the Software.

Installing the Apache Server.

Installation Steps.

Checking the Installation.

Possible Errors.

Configuring Apache.

Installing PHP5.

Testing PHP.

Installing MySQL.

Adding a MySQL user.

How do I know if MySQL is running?

Installing phpMyAdmin.

Installing a Bulletin Board: phpBB.

Installation Steps.

Basic Security things to consider!

Conclusion.

Chapter 5. PHP - A server Side Scripting Language (Step 1).

How does it work?

Some “new” words on PHP.

Syntax Generalities.

Instructions.

Operators.

Mathematical Functions.

Data Types.

Constants.

Variables.

Chapter 6. PHP Arrays and Flow of Control.

Arrays.

Basic Arrays.

Associative Arrays.

Multidimensional Arrays.

Arrays Functions.

PHP Program Structure and Flow of control.

Conditions.

Loops.

Functions.

Chapter 7. Using files, folders and Strings in PHP.

Using Files.

Folder Manipulation.

Basic String Manipulation.

Changing a string.

Finding and Comparing.

Formatting Strings.

Manipulating HTML files.

PHP Information Functions.

Closing Remarks.

Writing a basic File Explorer.

Requirements.

HINTS.

Case Study: An Indexer/Searcher STEP 1.

Overview.

The Indexer - Step 1.

Chapter 8. PHP5 and Object Oriented Programming.

Overview.

Classes and Objects.

Classes in PHP.

Constructors and Destructors.

Visibility.

The scope resolution operator.

The Static Keyword.

Class Constants.

Class Abstraction.

Object Interfaces.

Copying and Cloning objects.

Comparing Objects.

Type Hinting.

Exceptions.

Final words.

Chapter 9. Creating Some Interactivity.

Overview.

Forms.

Writing a form in HTML.

GET vs. POST.

Retrieving the form info on a PHP script.

Dynamically creating forms.

Transferring data between PHP scripts.

Cookies.

Sessions.

One last useful function and design techniques.

Assignments.

File explorer step 2.

Case study: Indexer/Searcher - Step 2.

Chapter 10: Making Cleaner Code and Output.

Cleaning up your code.

What you need.

How to use it? - HTML side.

How to use it? - PHP side.

Cleaning up your output.

The CSS file.

Useful tools.

Assignment.

Chapter 11. Using Databases.

Overview.

Database Basics.

The entity-relationship model.

More Practical Example.

Typical sources of Errors.

Simplifying the Diagrams.

Using MySQL.

MySQL Syntax.

Data Types.

MySQL numeric data types.

Date and Time data types.

String Data types.

MySQL Operators.

MySQL Instructions.

Using Functions in MySQL.

Chapter 12. Using Phpmyadmin.

Overview.

Creating a Database.

Creating tables.

Accessing an existing table.

Exporting/Importing a database structure and content.

Assignment - Final Project.

Chapter 13. Creating database-driven websites with PHP/MySQL.

Overview.

Connecting to your MySQL server with PHP.

Submitting SQL queries.

Processing the results of a query.

Example of login procedure.

Other useful functions.

Grouping our Methods in a class.

Indexer/Searcher - Steps 3 and 4.

Chapter 14: JAVASCRIPT - A client side scripting language.

Introduction.

JavaScript syntax.

Types of Data and Variables.

Operations and calculations.

Arrays.

Decisions.

Loops.

Using Functions.

Using Objects.

The String Objects.

The Math class.

The Array objects.

Chapter 15. Programming the browser.

Overview.

The Window Object.

The Location Object.

The History Object.

The Navigator Object.

The Screen Object.

The Document Object.

Using Events.

Timers.

Time to practice!

Chapter 16. Windows and Frames.

Frames and JavaScript.

Windows and JavaScript.

Assignments.

One Last Funny Example.

Chapter 17: String Manipulations Revisited.

Overview.

New Basic String methods.

Regular Expressions in JavaScript.

Regular Expressions in PHP.

The set of PCRE.

Chapter 18. JavaScript and DHTML.

Overview.

Positioning Elements.

Writing dynamic menus in DHTML.

You turn!! .

Chapter 19. Putting it all together!

Overview.

Step 1 - Understanding the problem and finding the solution.

Step 2 - Designing the database.

Step 3 - Main functionalities.

Step 4 - Back side.

Step 5 - Improvements on functionality.

Step 6 - Improvements on looks.

Step 7 - Thorough testing, hacking attempts.

Step 8 - Presentation.

Step 9 - Publication.

Step 10 - Celebration :) (and maintenance).

What language to use?

Appendix A: Special characters.

Appendix B: Installing on UNIX.

Overview.

Installing Apache and PHP.

Installing MySQL.

Appendix C: Advanced phpBB.

Appendix D: class.FastTemplate.PHP.

Appendix E - File Upload Script.

References.

商品描述(中文翻譯)

描述





Web Application Design and
Implementation
使用主要技術和程式語言的實作方式,以實作網頁開發的方式來教讀者。本書提供了對網頁程式設計的所有主要方面的理解,以實現建立一個以資料庫為基礎的網站,並使用了最先進的程式語言,如HTML、JavaScript、MySQL、PHP、Apache、Linux/Unix。

 

 


目錄



前言。


關於作者。


開始之前。


誰應該閱讀這本書?


關於範例。


如何閱讀這本書。


網頁應用程式配方。


概述。


步驟1 - 理解問題並找到解決方案。


步驟2 - 設計資料庫。


步驟3 - 主要功能。


步驟4 - 後端。


步驟5 - 功能改進。


步驟6 - 外觀改進。


步驟7 - 全面測試,防範駭客攻擊。


步驟8 - 呈現。


步驟9 - 發布。


步驟10 - 慶祝(和維護)。


第1章. 基礎知識。


互聯網的起源。


World Wide Web。


網頁瀏覽器。


網頁伺服器。


TCP/IP基礎知識。


網際網路層。


傳輸層。


應用層。


工具箱。


瀏覽器。


FTP。


電子郵件客戶端。


程式設計工具。


其他有用的工具。


第2章. 網頁程式設計的不同方法。


開始之前。


基礎知識 - HTML。


創建者 - SGML。


其他基於SGML的語言 - XML / XSL。


古老的Java。


不同的東西 - JavaScript。


救星 - PHP。


競爭對手 - ASP.NET。


神話 - CGI。


另一個重要選項 - Perl。


未來? - C#。


客戶端與伺服器端 - 選擇哪一邊?


我的選擇 - PHP,MySQL,JavaScript。


第3章. HTML簡介。


開始之前需要什麼?


HTML如何工作?


語法基礎。


文件結構。


標籤參數。


基本文本格式。


外部參考。


連結。


圖片。


組織數據。


列表。


表格。


框架。


特殊字符。


第4章. 工作環境。


介紹。


下載軟體。


安裝Apache伺服器。


安裝步驟。


檢查安裝。


可能的錯誤。


配置Apache。


安裝PHP5。


測試PHP。


安裝MySQL。


添加MySQL使用者。


如何知道MySQL是否運行?


安裝phpMyAdmin。


安裝佈告欄:phpBB。


安裝步驟。


需要考慮的基本安全事項!


結論。


第5章. PHP - 伺服器端腳本語言(第1步)。


它是如何工作的?


關於PHP的一些“新”詞彙。


語法概述。


指令。


運算子。


數學函數。


資料類型。


常數。


變數。


第6章. PHP陣列和流程控制。


陣列。


基本陣列。


關聯陣列。


多維陣列。


陣列函數。


PHP程式結構和流程控制。


```