買這商品的人也買了...
-
$420$328 -
$2,280$2,166 -
$880$695 -
$1,270$1,207 -
$880$695 -
$780$663 -
$520$411 -
$650$507 -
$680$537 -
$550$435 -
$980$774 -
$750$593 -
$450$356 -
$720$569 -
$350$277 -
$880$695 -
$1,900$1,805 -
$380$300 -
$480$408 -
$199Using Joomla: Building Powerful and Efficient Web Sites (Paperback)
-
$299Joomla! Bible (Paperback)
-
$950$808 -
$2,430$2,309 -
$550$468 -
$1,986$1,881
商品描述
Description
As the industry standard book on PHP, all of the essentials are covered in a clear and concise manner. Language syntax and programming techniques are coupled with numerous examples that illustrate both correct usage and common idioms. With style tips and practical programming advice, this book will help you become not just a PHP programmer, but a good PHP programmer. Programming PHP, Second Edition covers everything you need to know to create effective web applications with PHP.
Programming PHP, Second Edition is the authoritative guide to PHP 5 and is filled with the unique knowledge of the creator of PHP (Rasmus Lerdorf) and other PHP experts. When it comes to creating websites, the PHP scripting language is truly a red-hot property. In fact, PHP is currently used on more than 19 million websites, surpassing Microsoft's ASP .NET technology in popularity. Programmers love its flexibility and speed; designers love its accessibility and convenience.
As the industry standard book on PHP, all of the essentials are covered in a clear and concise manner. Language syntax and programming techniques are coupled with numerous examples that illustrate both correct usage and common idioms. With style tips and practical programming advice, this book will help you become not just a PHP programmer, but a good PHP programmer. Programming PHP, Second Edition covers everything you need to know to create effective web applications with PHP. Contents include:
- Detailed information on the basics of the PHP language, including data types, variables, operators, and flow control statements
- Chapters outlining the basics of functions, strings, arrays, and objects
- Coverage of common PHP web application techniques, such as form processing and validation, session tracking, and cookies
- Material on interacting with relational databases, such as MySQL and Oracle, using the database-independent PEAR DB library and the new PDO Library
- Chapters that show you how to generate dynamic images, create PDF files, and parse XML files with PHP
- Advanced topics, such as creating secure scripts, error handling, performance tuning, and writing your own C language extensions to PHP
- A handy quick reference to all the core functions in PHP and all the standard extensions that ship with PHP
Table of Contents
Foreword
Preface
1. Introduction to PHP
What Does PHP Do?
A Brief History of PHP
Installing PHP
A Walk Through PHP
2. Language Basics
Lexical Structure
Data Types
Variables
Expressions and Operators
Flow-Control Statements
Including Code
Embedding PHP in Web Pages3. Functions
Calling a Function
Defining a Function
Variable Scope
Function Parameters
Return Values
Variable Functions
Anonymous Functions
4. Strings
Quoting String Constants
Printing Strings
Accessing Individual Characters
Cleaning Strings
Encoding and Escaping
Comparing Strings
Manipulating and Searching Strings
Regular Expressions
POSIX-Style Regular Expressions
Perl-Compatible Regular Expressions5. Arrays
Indexed Versus Associative Arrays
Identifying Elements of an Array
Storing Data in Arrays
Multidimensional Arrays
Extracting Multiple Values
Converting Between Arrays and Variables
Traversing Arrays
Sorting
Acting on Entire Arrays
Using Arrays
6. Objects
Terminology
Creating an Object
Accessing Properties and Methods
Declaring a Class
Introspection
Serialization
7. Web Techniques
HTTP Basics
Variables
Server Information
Processing Forms
Setting Response Headers
Maintaining State
SSL
8. Databases
Using PHP to Access a Database
Relational Databases and SQL
PEAR DB Basics
Advanced Database Techniques
Sample Application
9. Graphics
Embedding an Image in a Page
The GD Extension
Basic Graphics Concepts
Creating and Drawing Images
Images with Text
Dynamically Generated Buttons
Scaling Images
Color Handling
10. PDF
PDF Extensions
Documents and Pages
Text
11. XML
Lightning Guide to XML
Generating XML
Parsing XML
Parsing XML with DOM
Parsing XML with SimpleXML
Transforming XML with XSLT
Web Services
12. Security
Filter Input
Escape Output
Cross-Site Scripting
Session Fixation
File Uploads
File Access
PHP Code
Shell Commands
More Information
Security Recap
13. Application Techniques
Code Libraries
Templating Systems
Handling Output
Error Handling
Performance Tuning
14. Extending PHP
Architectural Overview
What You'll Need
Building Your First Extensions
The config.m4 File
Memory Management
The pval/zval Data Type
Parameter Handling
Returning Values
References
Global Variables
Creating Variables
Extension INI Entries
Resources
Where to Go from Here
15. PHP on Windows
Installing and Configuring PHP on Windows
Writing Portable Code for Windows and Unix
Interfacing with COM
Interacting with ODBC Data Sources
A. Function Reference
B. Extension Overview
Index
商品描述(中文翻譯)
描述
作為業界標準的 PHP 書籍,本書以清晰簡潔的方式涵蓋了所有基本要素。語言語法和程式設計技術結合了大量範例,說明了正確的用法和常見的慣用語。透過風格提示和實用的程式設計建議,本書將幫助您不僅成為一名 PHP 程式設計師,而是一名「優秀」的 PHP 程式設計師。《Programming PHP, Second Edition》涵蓋了您需要知道的所有內容,以使用 PHP 創建有效的網頁應用程式。
《Programming PHP, Second Edition》是 PHP 5 的權威指南,充滿了 PHP 創建者 Rasmus Lerdorf 和其他 PHP 專家的獨特知識。在創建網站方面,PHP 腳本語言確實是一個炙手可熱的技術。事實上,PHP 目前在超過 1900 萬個網站上使用,其受歡迎程度超過了微軟的 ASP .NET 技術。程式設計師喜愛其靈活性和速度;設計師則喜愛其可及性和便利性。
作為業界標準的 PHP 書籍,本書以清晰簡潔的方式涵蓋了所有基本要素。語言語法和程式設計技術結合了大量範例,說明了正確的用法和常見的慣用語。透過風格提示和實用的程式設計建議,本書將幫助您不僅成為一名 PHP 程式設計師,而是一名「優秀」的 PHP 程式設計師。《Programming PHP, Second Edition》涵蓋了您需要知道的所有內容,以使用 PHP 創建有效的網頁應用程式。內容包括:
- 有關 PHP 語言基礎的詳細資訊,包括資料類型、變數、運算子和流程控制語句
- 概述函數、字串、陣列和物件基礎的章節
- 涵蓋常見的 PHP 網頁應用程式技術,如表單處理和驗證、會話追蹤和 Cookies
- 有關使用資料庫獨立的 PEAR DB 函式庫和新的 PDO 函式庫與關聯資料庫(如 MySQL 和 Oracle)互動的材料
- 章節展示如何使用 PHP 生成動態圖像、創建 PDF 檔案和解析 XML 檔案
- 進階主題,如創建安全腳本、錯誤處理、性能調優,以及為 PHP 編寫自己的 C 語言擴展
- 一個方便的快速參考,涵蓋 PHP 中所有核心函數和隨 PHP 附帶的所有標準擴展
目錄
前言
序言
1. PHP 介紹
- PHP 的功能是什麼?
- PHP 的簡要歷史
- 安裝 PHP
- PHP 簡介
2. 語言基礎
- 詞法結構
- 資料類型
- 變數
- 表達式和運算子
- 流程控制語句
- 包含程式碼
- 在網頁中嵌入 PHP
3. 函數
- 呼叫函數
- 定義函數
- 變數範圍
- 函數參數
- 返回值
- 變數函數
- 匿名函數
4. 字串
- 字串常數的引用
- 列印字串
- 訪問單個字符
- 清理字串
- 編碼和轉義
- 比較字串
- 操作和搜尋字串
- 正規表達式
- POSIX 風格的正規表達式
- Perl 相容的正規表達式
5. 陣列
- 索引陣列與關聯陣列
- 識別陣列的元素
- 在陣列中儲存資料
- 多維陣列
- 提取多個值
- 在陣列和變數之間轉換
- 遍歷陣列
- 排序
- 對整個陣列進行操作
- 使用陣列
6. 物件
- 術語
- 創建物件
- 訪問屬性和方法
- 宣告類別
- 內省
- 序列化
7. 網頁技術
- HTTP 基礎
- 變數
- 伺服器資訊
- 處理表單
- 設定回應標頭
- 維持狀態
- SSL
8. 資料庫
- 使用 PHP 存取資料庫
- 關聯資料庫和 SQL
- PEAR DB 基礎
- 進階資料庫技術
- 範例應用程式
9. 圖形
- 在頁面中嵌入圖像
- GD 擴展
- 基本圖形概念
- 創建和繪製圖像
- 帶有文字的圖像
- 動態生成的按鈕
- 縮放圖像
- 顏色處理
10. PDF
- PDF 擴展
- 文件和頁面
- 文字
11. XML
- XML 快速指南
- 生成 XML
- 解析 XML
- 使用 DOM 解析 XML
- 使用 SimpleXML 解析 XML
- 使用 XSLT 轉換 XML
- 網路服務
12. 安全性
- 過濾輸入
- 轉義輸出
- 跨站腳本攻擊
- 會話固定
- 檔案上傳
- 檔案存取
- PHP 代碼
- Shell 命令
- 更多資訊
- 安全性回顧
13. 應用技術
- 代碼庫
- 模板系統
- 處理輸出
- 錯誤處理
- 性能調優
14. 擴展 PHP
- 架構概述
- 您需要的內容
- 建立您的第一個擴展
- config.m4 檔案
- 記憶體管理
- pval/zval 資料類型
- 參數處理
- 返回值
- 引用
- 全域變數
- 創建變數
- 擴展 INI 條目
- 資源
- 從這裡開始的方向
15. Windows 上的 PHP
- 在 Windows 上安裝和配置 PHP
- 為 Windows 和 Unix 編寫可攜式代碼
- 與 COM 介面
- 與 ODBC 資料來源互動
A. 函數參考
B. 擴展概述
索引