Learning PHP and MySQL: Step-by-Step Guide to Creating Database-Driven Web Sites, 2/e (Paperback)
暫譯: 學習 PHP 與 MySQL:建立資料庫驅動網站的逐步指南,第二版 (平裝本)
Michele E. Davis, Jon A. Phillips
買這商品的人也買了...
-
$520$411 -
$550$435 -
$1,710$1,625 -
$690$538 -
$480$408 -
$1,540$1,463 -
$350$298 -
$350$277 -
$650$507 -
$990$891 -
$600$480 -
$720$569 -
$499MySQL Pocket Reference: SQL Functions and Utilities, 2/e
-
$620$527 -
$2,050$1,948 -
$620$490 -
$1,460$1,153 -
$650$514 -
$1,180$932 -
$1,488C++ GUI Programming with Qt 4, 2/e (Hardcover)
-
$620$527 -
$380$300 -
$750$638 -
$380$300 -
$490$417
商品描述
Description
PHP and MySQL are quickly becoming the de facto standard for rapid development of dynamic, database-driven web sites. This book is perfect for newcomers to programming as well as hobbyists who are intimidated by harder-to-follow books. With concepts explained in plain English, the new edition starts with the basics of the PHP language, and explains how to work with MySQL, the popular open source database. You then learn how to put the two together to generate dynamic content.
If you come from a web design or graphics design background and know your way around HTML, Learning PHP & MySQL is the book you've been looking for. The content includes:Learning PHP & MySQL explains everything from fundamental concepts to the nuts and bolts of performing specific tasks. As part of O'Reilly's bestselling Learning series, the book is an easy-to-use resource designed specifically for beginners. It's a launching pad for future learning, providing you with a solid foundation for more advanced development.
- PHP basics such as strings and arrays, and pattern matching
- A detailed discussion of the variances in different PHP versions
- MySQL data fundamentals like tables and statements
- Information on SQL data access for language
- A new chapter on XHTML
- Error handling, security, HTTP authentication, and more
Table of Contents
Preface
1. Dynamic Content and the Web
HTTP and the Internet
PHP and MySQL's Place in Web Development
The Components of a PHP Application
Integrating Many Sources of Information
Requesting Data from a Web Page
2. Installation
Developing Locally
Working Remotely
3. Exploring PHP
PHP and HTML Text
Coding Building Blocks
4. PHP Decision-Making
Expressions
Operator Concepts
Conditionals
Looping
5. Functions
Calling Functions
Defining Functions
Object-Oriented Programming
6. Arrays
Array Fundamentals
7. Working with MySQL
MySQL Database
Managing the Database
Using phpMyAdmin
Database Concepts
Structured Query Language
8. Database Best Practices
Database Design
Backing Up and Restoring Data
Advanced SQL
9. Getting PHP to Talk to MySQL
The Process
Querying the Database with PHP Functions
Using PEAR
10. Working with Forms
Building a Form
Templates
11. Practical PHP
String Functions
Date and Time Functions
File Manipulation
Calling System Calls
12. XHTML
Why XHTML?
XHTML and XML Namespaces
XHTML Versions
Generating XHTML with PHP
13. Modifying MySQL Objects and PHP Data
Changing Database Objects from PHP
Manipulating Table Data
Displaying Results with Embedded Links
Presenting a Form to Add and Process in One File
Updating Data
Deleting Data
Performing a Subquery
14. Cookies, Sessions, and Access Control
Cookies
PHP and HTTP Authentication
Sessions
Using Auth_HTTP to Authenticate
15. Security
Session Security
16. Validation and Error Handling
Validating User Input with JavaScript
Pattern Matching
Redisplaying a Form After PHP Validation Fails
17. Sample Application
Configuration File
Page Framework
Database
Displaying a Postings Summary
Displaying a Posting and Its Comments
Adding and Changing Posts
Adding and Changing Comments
18. Finishing Your Journey
PHP Coding Standards
PEAR
Frameworks
Ajax
Wikis
Finding Help on the Web
Appendix. Solutions to Chapter Questions
Index
商品描述(中文翻譯)
**描述**
PHP 和 MySQL 正迅速成為動態、資料庫驅動網站快速開發的事實標準。本書非常適合程式設計新手以及對於較難理解的書籍感到畏懼的愛好者。新版本以簡單的英語解釋概念,從 PHP 語言的基礎開始,並解釋如何使用流行的開源資料庫 MySQL。接著,您將學習如何將這兩者結合以生成動態內容。
如果您來自網頁設計或圖形設計背景,並且熟悉 HTML,《Learning PHP & MySQL》就是您一直在尋找的書籍。內容包括:
- PHP 基礎,如字串和陣列,以及模式匹配
- 不同 PHP 版本的差異詳細討論
- MySQL 資料基礎,如資料表和語句
- 語言的 SQL 資料存取資訊
- 新增的 XHTML 章節
- 錯誤處理、安全性、HTTP 認證等
《Learning PHP & MySQL》從基本概念到執行特定任務的細節,無所不包。作為 O'Reilly 暢銷的學習系列之一,本書是專為初學者設計的易用資源。它是未來學習的跳板,為您提供更高級開發的堅實基礎。
**目錄**
**前言**
**1. 動態內容與網路**
- HTTP 與網際網路
- PHP 和 MySQL 在網頁開發中的地位
- PHP 應用程式的組成部分
- 整合多個資訊來源
- 從網頁請求資料
**2. 安裝**
- 本地開發
- 遠端工作
**3. 探索 PHP**
- PHP 與 HTML 文本
- 編碼基礎
**4. PHP 決策**
- 表達式
- 運算子概念
- 條件語句
- 迴圈
**5. 函數**
- 呼叫函數
- 定義函數
- 物件導向程式設計
**6. 陣列**
- 陣列基礎
**7. 與 MySQL 一起工作**
- MySQL 資料庫
- 管理資料庫
- 使用 phpMyAdmin
- 資料庫概念
- 結構化查詢語言
**8. 資料庫最佳實踐**
- 資料庫設計
- 備份與恢復資料
- 進階 SQL
**9. 讓 PHP 與 MySQL 互通**
- 流程
- 使用 PHP 函數查詢資料庫
- 使用 PEAR
**10. 與表單一起工作**
- 建立表單
- 模板
**11. 實用 PHP**
- 字串函數
- 日期和時間函數
- 檔案操作
- 呼叫系統調用
**12. XHTML**
- 為什麼選擇 XHTML?
- XHTML 與 XML 命名空間
- XHTML 版本
- 使用 PHP 生成 XHTML
**13. 修改 MySQL 物件與 PHP 資料**
- 從 PHP 更改資料庫物件
- 操作資料表資料
- 顯示帶有嵌入連結的結果
- 在一個檔案中呈現添加和處理的表單
- 更新資料
- 刪除資料
- 執行子查詢
**14. Cookies、會話與存取控制**
- Cookies
- PHP 與 HTTP 認證
- 會話
- 使用 Auth_HTTP 進行認證
**15. 安全性**
- 會話安全性
**16. 驗證與錯誤處理**
- 使用 JavaScript 驗證用戶輸入
- 模式匹配
- PHP 驗證失敗後重新顯示表單
**17. 範例應用程式**
- 配置檔
- 頁面框架
- 資料庫
- 顯示發文摘要
- 顯示發文及其評論
- 添加和更改發文
- 添加和更改評論
**18. 完成您的旅程**
- PHP 編碼標準
- PEAR
- 框架
- Ajax
- Wiki
- 在網路上尋找幫助
**附錄. 章節問題的解答**
**索引**