PHP Object-Oriented Solutions (Paperback)
暫譯: PHP 物件導向解決方案 (平裝本)

David Powers

  • 出版商: Friends of Ed
  • 出版日期: 2008-08-21
  • 售價: $2,500
  • 貴賓價: 9.5$2,375
  • 語言: 英文
  • 頁數: 392
  • 裝訂: Paperback
  • ISBN: 1430210117
  • ISBN-13: 9781430210115
  • 相關分類: PHPObject-oriented
  • 已絕版

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

相關主題

商品描述

With the surge of popularity of PHP 5, and with PHP 6 just around the corner, Object-Oriented Programming is now an important consideration for PHP developers. This version-neutral book is a gentle introduction to Object-Oriented Programming (OOP) that wont overburden you with complex theory. It teaches you the essential basics of OOP that youll need to know before moving onto a more advanced level, and includes a series of pre-packaged scripts that you can incorporate into your existing sites with the minimum of effort. It shows how OOP can be used to create reusable and portable code by walking you through a series of simple projects. The projects feature the sorts of things developers run up against every day, and include a validator for filtering user input, a simple Date class that avoids the need to remember all the esoteric format codes in PHP, and an XML generator.

  • Teaches the fundamentals of OOP
  • Simple projects show how OOP concepts work in the real world
  • Pre-packaged scripts can easily be added to your own projects

What youll learn

  • PHP features, such as the Standard PHP Library (SPL), that are poorly documented or ignored by existing books
  • How to develop classes of their own
  • OOP in easy-to-understand language without getting bogged down in dense theory
  • Solid foundations for developers wishing to delve more deeply into OOP
  • How to leverage the strengths of OOP as a means for creating reusable code that can be used successfully within a procedural context
  • How to code for both PHP 5 and 6

Who is this book for?

This book is aimed at intermediate-level PHP developers who want to take their skills to the next level by exploring object-oriented programming as a way of creating reusable code for a everyday website tasks. A typical reader would be someone who has read one of the authors previous title, such as PHP Solutions, or one of the PHP books for Dreamweaverand feels ready to tackle something a little more challenging.

商品描述(中文翻譯)

隨著 PHP 5 的流行以及 PHP 6 的即將推出,物件導向程式設計(Object-Oriented Programming, OOP)現在成為 PHP 開發者的重要考量。本書不針對特定版本,是一本對物件導向程式設計的溫和介紹,不會讓你負擔複雜的理論。它教你在進入更高級別之前需要了解的 OOP 基本知識,並包含一系列預先包裝的腳本,你可以輕鬆地將其整合到現有網站中。書中展示了如何使用 OOP 創建可重用和可攜帶的程式碼,並通過一系列簡單的專案引導你。這些專案涉及開發者每天會遇到的各種情況,包括用於過濾用戶輸入的驗證器、一個簡單的日期類別,避免了記住 PHP 中所有晦澀格式代碼的需要,以及一個 XML 生成器。

- 教授 OOP 的基本原理
- 簡單的專案展示 OOP 概念在現實世界中的運作
- 預先包裝的腳本可以輕鬆添加到自己的專案中

### 你將學到什麼

- PHP 的特性,例如標準 PHP 函式庫(Standard PHP Library, SPL),這些特性在現有書籍中記載不全或被忽略
- 如何開發自己的類別
- 用易於理解的語言解釋 OOP,而不會陷入繁瑣的理論中
- 為希望深入研究 OOP 的開發者打下堅實的基礎
- 如何利用 OOP 的優勢來創建可重用的程式碼,並能在程序性上下文中成功使用
- 如何為 PHP 5 和 6 編碼

### 本書適合誰?

本書針對中級 PHP 開發者,旨在通過探索物件導向程式設計來提升技能,以創建可重用的程式碼來處理日常網站任務。典型的讀者可能是曾經閱讀過作者之前的著作,例如《PHP Solutions》,或是針對 Dreamweaver 的 PHP 書籍,並感覺準備好挑戰一些更具挑戰性的內容。