買這商品的人也買了...
-
$980$980 -
$990$891 -
$620$527 -
$1,590$1,511 -
$3,750$3,563 -
$590$502 -
$1,590$1,511 -
$1,200$1,140 -
$680$537 -
$1,038Functional Programming in Scala (Paperback)
-
$650$514 -
$780$616 -
$680$537 -
$780$616 -
$800$380 -
$500$395 -
$480$432 -
$450$356 -
$400$316 -
$560$476 -
$720$562 -
$590$502 -
$520$411 -
$500$395 -
$580$458
商品描述
Want to understand a certain PHP programming technique? Or learn how to accomplish a particular task? This cookbook is the first place to look. With more than 350 code-rich recipes revised for PHP 5.4, this third edition provides updated solutions for generating dynamic web content—everything from using basic data types to querying databases, and from calling RESTful APIs to testing and securing your site.
Each recipe includes code solutions that you can freely use, along with a discussion of how and why they work. Whether you’re an experienced PHP programmer or coming to PHP from another language, this book is an ideal on-the-job resource.
You’ll find recipes to help you with:
- Basic data types: strings, numbers, arrays, and dates and times
- Program building blocks: variables, functions, classes, and objects
- Web programming: cookies, forms, sessions, and authentication
- Database access using PDO, SQLite, and other extensions
- RESTFul API clients and servers, including HTTP, XML, and OAuth
- Key concepts: email, regular expressions, and graphics creation
- Designing robust applications: security and encryption error handling, debugging and testing, and performance tuning
- Files, directories, and PHP’s Command Line Interface
- Libraries and package managers such as Composer and PECL
商品描述(中文翻譯)
想了解某種 PHP 程式設計技術嗎?或者學習如何完成特定任務?這本食譜書是首選。這第三版包含超過 350 個針對 PHP 5.4 修訂的程式碼豐富食譜,提供生成動態網頁內容的最新解決方案——從使用基本資料類型到查詢資料庫,從呼叫 RESTful API 到測試和保護您的網站。
每個食譜都包含您可以自由使用的程式碼解決方案,並討論它們如何運作以及為什麼這樣運作。無論您是經驗豐富的 PHP 程式設計師,還是從其他語言轉向 PHP,這本書都是理想的在職資源。
您將找到幫助您解決以下問題的食譜:
- 基本資料類型:字串、數字、陣列,以及日期和時間
- 程式構建塊:變數、函數、類別和物件
- 網頁程式設計:Cookies、表單、會話和身份驗證
- 使用 PDO、SQLite 和其他擴展的資料庫訪問
- RESTFul API 客戶端和伺服器,包括 HTTP、XML 和 OAuth
- 關鍵概念:電子郵件、正則表達式和圖形創建
- 設計穩健的應用程式:安全性和加密錯誤處理、除錯和測試,以及性能調優
- 檔案、目錄和 PHP 的命令行介面
- 像 Composer 和 PECL 這樣的函式庫和套件管理器