PHP and MySQL Web Development, 5/e (Paperback)

Luke Welling, Laura Thomson

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

商品描述

PHP and MySQL Web Development, Fifth Edition

The definitive guide to building database-driven Web applications with PHP and MySQL

 

PHP and MySQL are popular open-source technologies that are ideal for quickly developing database-driven Web applications. PHP is a powerful scripting language designed to enable developers to create highly featured Web applications quickly, and MySQL is a fast, reliable database that integrates well with PHP and is suited for dynamic Internet-based applications.

 

 

PHP and MySQL Web Development shows how to use these tools together to produce effective, interactive Web applications. It clearly describes the basics of the PHP language, explains how to set up and work with a MySQL database, and then shows how to use PHP to interact with the database and the server.

 

This practical, hands-on book consistently focuses on real-world applications, even in the introductory chapters. The authors cover important aspects of security and authentication as they relate to building a real-world website and show you how to implement these aspects in PHP and MySQL. They also introduce you to the integration of front-end and back-end technologies by using JavaScript in your application development.

 

The final part of this book describes how to approach real-world projects and takes the reader through the design, planning, and building of several projects, including:

 

  • User authentication and personalization
  • Web-based email
  • Social media integration
  • Shopping cart

 

The fifth edition of PHP and MySQL Web Development has been thoroughly updated, revised, and expanded to cover developments in PHP through versions 5.6 and 7, as well as features introduced in recent stable releases of MySQL.

 

Free Access to Web Edition

 

Purchase of this book in any format, electronic or print, includes free access to the corresponding Web Edition, which provides several special features:

 

  • The complete text of the book online
  • Exercises and interactive quizzes to test your understanding of the material
  • Bonus chapters not included in the print or e-book editions
  • Updates and corrections as they become available

The Web Edition can be viewed on all types of computers and mobile devices with any modern web browser that supports HTML5.

 

 

Contents at a Glance

 

Part I: Using PHP

1  PHP Crash Course

2  Storing and Retrieving Data

3  Using Arrays

4  String Manipulation and Regular Expressions

5  Reusing Code and Writing Functions

6  Object-Oriented PHP

7  Error and Exception Handling

 

Part II: Using MySQL

8  Designing Your Web Database

9  Creating Your Web Database

10 Working with Your MySQL Database

11 Accessing Your MySQL Database from the Web with PHP

12 Advanced MySQL Administration

13 Advanced MySQL Programming

 

Part III: Web Application Security

14 Web Application Security Risks

15 Building a Secure Web Application

16 Implementing Authentication Methods with PHP

 

Part IV: Advanced PHP Techniques

17 Interacting with the File System and the Server

18 Using Network and Protocol Functions

19 Managing the Date and Time

20 Internationalization and Localization

21 Generating Images

22 Using Session Control in PHP

23 Integrating JavaScript and PHP

24 Other Useful Features

 

 

Part V: Building Practical PHP and MySQL Projects

 

25 Using PHP and MySQL for Large Projects

26 Debugging and Logging

27 Building User Authentication and Personalization

28 (Web Edition) Building a Web-Based Email Client with Laravel Part I

29 (Web Edition) Building a Web-Based Email Client with Laravel Part II

30 (Web Edition) Social Media Integration Sharing and Authentication

31 (Web Edition) Building a Shopping Cart

 

Part VI: Appendix

A Installing Apache, PHP, and MySQL

 

 

商品描述(中文翻譯)

《PHP和MySQL Web開發,第五版》

《使用PHP和MySQL構建數據庫驅動的Web應用程序的權威指南》

PHP和MySQL是流行的開源技術,非常適合快速開發數據庫驅動的Web應用程序。PHP是一種功能強大的腳本語言,旨在讓開發人員快速創建功能豐富的Web應用程序,而MySQL是一個快速可靠的數據庫,與PHP完美集成,適用於動態的基於互聯網的應用程序。

《PHP和MySQL Web開發》展示了如何將這些工具結合使用,以產生有效的互動式Web應用程序。它清楚地描述了PHP語言的基礎知識,解釋了如何設置和使用MySQL數據庫,然後展示了如何使用PHP與數據庫和服務器進行交互。

這本實用的實踐書籍始終專注於真實世界的應用,即使在入門章節中也是如此。作者們涵蓋了與構建真實網站相關的安全性和身份驗證的重要方面,並向您展示如何在PHP和MySQL中實現這些方面。他們還通過在應用程序開發中使用JavaScript介紹了前端和後端技術的集成。

本書的最後一部分描述了如何處理真實項目,並引導讀者通過設計、規劃和構建多個項目,包括:

- 用戶身份驗證和個性化
- 基於Web的電子郵件
- 社交媒體集成
- 購物車

《PHP和MySQL Web開發》的第五版已經全面更新、修訂和擴展,以涵蓋PHP 5.6和7版本的發展,以及MySQL最近穩定版本中引入的功能。

《免費獲取Web版》

無論是電子版還是印刷版,購買本書都包含免費獲取相應的Web版,該Web版提供了幾個特殊功能:

- 在線閱讀完整的書籍內容
- 練習和互動測驗,以測試您對材料的理解
- 印刷版或電子書版中不包含的額外章節
- 更新和修正,隨時提供

Web版可以在支持HTML5的現代Web瀏覽器上的所有類型的計算機和移動設備上查看。

《內容一覽》

《第一部分:使用PHP》

1. PHP快速入門
2. 存儲和檢索數據
3. 使用數組
4. 字符串操作和正則表達式
5. 代碼重用和函數編寫
6. 面向對象的PHP
7. 錯誤和異常處理

《第二部分:使用MySQL》

8. 設計Web數據庫
9. 創建Web數據庫
10. W...