PHP Object-Oriented Solutions

David Powers

  • 出版商: Friends of Ed
  • 出版日期: 2008-08-21
  • 定價: $1,150
  • 售價: 5.0$575
  • 語言: 英文
  • 頁數: 392
  • 裝訂: Paperback
  • ISBN: 1430210117
  • ISBN-13: 9781430210115
  • 相關分類: PHPObject-oriented
  • 立即出貨(限量) (庫存=1)

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

商品描述

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 即將到來,物件導向程式設計(OOP)現在已成為 PHP 開發人員的重要考量。這本與版本無關的書籍是對物件導向程式設計的初步介紹,不會讓您負擔過多複雜的理論。它教導您在進入更高級水平之前需要了解的 OOP 基礎知識,並包含一系列預先打包的腳本,您可以輕鬆地將其整合到現有網站中。

它展示了如何使用 OOP 創建可重複使用和可移植的程式碼,通過一系列簡單的專案引導您。這些專案涵蓋了開發人員每天都會遇到的問題,包括用於過濾使用者輸入的驗證器、避免記住 PHP 中所有奇特格式代碼的簡單日期類別以及 XML 生成器。


  • 教授 OOP 的基礎知識

  • 通過簡單的專案展示 OOP 概念在現實世界中的應用

  • 預先打包的腳本可以輕鬆添加到您自己的專案中

您將學到什麼



  • PHP 功能,例如標準 PHP 函式庫(SPL),這些功能在現有書籍中文檔不全或被忽略

  • 如何開發自己的類別

  • 以易於理解的語言介紹 OOP,避免陷入密集的理論中

  • 為希望深入研究 OOP 的開發人員打下堅實基礎

  • 如何利用 OOP 的優勢,以在程序化環境中成功創建可重複使用的程式碼

  • 如何為 PHP 5 和 6 編寫程式碼

適合閱讀本書的讀者


本書適合中級 PHP 開發人員,他們希望通過探索物件導向程式設計來創建可重複使用的程式碼,以應對日常網站任務。典型的讀者可能是已經閱讀過作者之前的作品,例如《PHP 解決方案》或 Dreamweaver 的 PHP 書籍,並且感覺已經準備好迎接一些更具挑戰性的內容的人。