Learning PHP: A Pain-Free Introduction to Building Interactive Websites (Paperback)

David Sklar

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

商品描述

If you've wanted to try your hand at PHP but haven't known where to start, then Learning PHP is the book you need. With attention to both PHP 5.x and the new PHP version 7, it provides everything from an explanation of how PHP works with your web server and web browser to the ins and outs of working with databases and HTML forms. It's also packed with new material to reflect more modern features of PHP, and exciting enhancements with recent releases and the upcoming PHP 7.

Written by the co-author of the popular PHP Cookbook, this book is for intelligent (but not necessarily highly-technical) readers. Learning PHP guides you through every aspect of the language you'll need to master for professional web programming results. This book provides a hands-on learning experience complete with exercises to make sure the lessons stick.

Topics include:

  • How PHP works with your web browser and web server
  • PHP language basics, including data, variables, logic and looping
  • Working with arrays and functions
  • Working with databases like MySQL, Redis, or MongoDB
  • Accessing APIs over HTTP
  • Writing tests for your code
  • Composer, command-line PHP, PHP frameworks, and features of modern PHP

This book offers the ideal classroom learning experience whether you're in a classroom or on your own. From learning how to install PHP to designing database-backed web applications, Learning PHP will guide you through every aspect of the language you'll need to master to achieve professional web programming results.

商品描述(中文翻譯)

如果你一直想嘗試 PHP,但不知道從何開始,那麼《學習 PHP》就是你需要的書籍。本書涵蓋了 PHP 5.x 和新版本 PHP 7 的內容,從解釋 PHP 如何與網頁伺服器和瀏覽器互動,到使用資料庫和 HTML 表單的細節,應有盡有。此外,本書還包含了反映 PHP 更現代特性和最新版本以及即將推出的 PHP 7 的新內容。

本書由知名《PHP Cookbook》的合著者撰寫,適合具有智慧但不一定高度技術的讀者。《學習 PHP》將引導你掌握專業網頁程式設計所需的語言的每個方面。本書提供了實踐學習的經驗,並附有練習,以確保所學內容牢固掌握。

本書涵蓋的主題包括:
- PHP 如何與網頁瀏覽器和伺服器互動
- PHP 語言基礎,包括資料、變數、邏輯和迴圈
- 使用陣列和函式
- 使用像 MySQL、Redis 或 MongoDB 這樣的資料庫
- 通過 HTTP 存取 API
- 為你的程式撰寫測試
- Composer、命令列 PHP、PHP 框架和現代 PHP 的特性

無論你是在教室還是自學,本書都提供了理想的教室學習體驗。從學習如何安裝 PHP 到設計資料庫支援的網頁應用程式,《學習 PHP》將引導你掌握專業網頁程式設計所需的語言的每個方面,實現專業的網頁程式設計成果。