PHP and MySQL Web Development (Fourth Edition, Chinese Translation) cover

PHP and MySQL Web Development (Fourth Edition, Chinese Translation)

Rating 4.2
Chapters
40
Series
Developer's Library
ISBN
9787111262817

Tags

Summary

This book is the Chinese translation of the fourth edition of PHP and MySQL Web Development, co-authored by Luke Welling and Laura Thomson and translated by Wu Xin. It combines the PHP scripting language with the MySQL database, aiming to help readers build database-driven, interactive web applications from scratch using these two open-source technologies. The content is organized into five parts. Part I covers the PHP language itself, from a quick start, storing and retrieving data, arrays, strings, and regular expressions, to code reuse, object-oriented programming, and error and exception handling. Part II turns to MySQL, introducing web database design, creating databases and tables, SQL operations, accessing databases from the web with PHP, and advanced MySQL administration and programming. Part III discusses e-commerce and security, including running an e-commerce site, security issues, web application security, authentication, and secure transactions. Part IV covers advanced PHP techniques, including interacting with the file system and the server, network and protocol functions, date and time management, image generation, session control, and a number of other useful features. Part V is the hands-on section, tying the preceding knowledge together through complete projects: organizing and debugging a large project, user authentication and personalization, a shopping cart, a web-based mail service, mailing list management, a web forum, personalized PDF document generation, connecting to web services with XML and SOAP, and an Ajax-based Web 2.0 application. The appendices provide installation instructions for PHP and MySQL and web resources. This edition has been fully updated and expanded, covering features from PHP 5 through 5.3 (such as namespaces and closures) and the stored procedures and storage engines introduced in MySQL 5.1, making it suitable as both a tutorial and a reference for systematically learning PHP and MySQL.

Editor's review

这是一本在中文技术图书市场上流传很久的经典教材:从第1版起就以「PHP + MySQL 一起学」著称,本第4版把PHP 5.3的命名空间、闭包,以及MySQL 5.1的存储过程和存储引擎都纳入进来,体系比单纯讲语法的入门书完整得多。它最大的好处是「讲完就练」——先讲语言基础,再讲数据库,然后是一整套真实项目:用户认证、购物车、邮件服务、论坛、PDF生成、Web服务和Ajax应用,读完之后读者手里会有几个能跑、能改的完整系统,而不是只记住一堆语法点。 另外,它对安全和电子商务的重视在同类书中比较突出:有一整篇讨论站点运行、安全交易以及Web应用安全,这对实际做业务站点的人很有价值。需要提醒的是,本书代码基于较旧的PHP 5.x与MySQL 5.1环境,用今天的PHP 8.x环境直接运行会遇到不少兼容问题,更多是学思路、学结构而非照抄代码。豆瓣8.4分的评价,也基本反映了它在读者心中的位置:扎实、厚重、稍显过时。

Who it's for

A good fit for

  • 有HTML基础、准备系统学习PHP与MySQL的初学者
  • 需要为遗留PHP 5.x项目做维护和改造的开发者
  • 想通过完整项目案例理解Web开发流程的学生和自学者
  • 需要用PHP快速搭建小型数据库驱动网站的全栈入门者

Not a good fit for

  • 希望直接学习PHP 8.x、MySQL 8.x最新语法与框架的读者
  • 只想查阅速查手册、不想跟做项目的读者
  • 完全零编程基础、尚未接触HTML与基本编程概念的读者

Reading tips

  1. 建议按第一篇到第五篇的顺序读,语言基础过后再进数据库和项目篇。
  2. 第一次读可跳过MySQL高级管理和部分附录,先跑通购物车或论坛项目建立信心。
  3. 动手时用PHP 5.6或容器化的旧版环境,能减少语法不兼容带来的挫败感。
  4. 项目代码不要照抄,先改需求再重写,把书中结构迁移到自己的小项目上。

About the publisher

China Machine Press China · Founded in 1950

In addition to science and technology and professional publishing, the books in our catalog from China Machine Press also reflect a sustained focus on psychology, computing, management, finance and economics, and social sciences. In psychology, the catalog includes works by C. G. Jung and introductions to analytical psychology, as well as applied topics such as stress and health, and addiction and healing. In computing, it features Structure and Interpretation of Computer Programs (JavaScript Edition). Management and finance titles include Administrative Behavior (4th Edition), The Price of Inequality (Collector's Edition), and This Time Is Different: Eight Centuries of Financial Folly (Commemorative Edition). In the philosophy and history of science, there is The Worldview: The Third Edition. Relevant authors include C. G. Jung, William McGuire, Sonu Shamdasani, and Gabor Maté. Public information is limited; the above summarizes the publisher's profile based solely on the books in our catalog.

Contents

  1. Reader Feedback
  2. Translator's Preface
  3. Preface
  4. About the Authors
  5. Part I: Using PHP
  6. Chapter 1: PHP Quick Start Tutorial
  7. Chapter 2: Storing and Retrieving Data
  8. Chapter 3: Using Arrays
  9. Chapter 4: String Manipulation and Regular Expressions
  10. Chapter 5: Reusing Code and Writing Functions
  11. Chapter 6: Object-Oriented PHP
  12. Chapter 7: Error and Exception Handling
  13. Part II: Using MySQL
  14. Chapter 8: Designing Your Web Database
  15. Chapter 9: Creating Your Web Database
  16. Chapter 10: Working with Your MySQL Database
  17. Chapter 11: Accessing Your MySQL Database from the Web with PHP
  18. Chapter 12: Advanced MySQL Administration
  19. Chapter 13: Advanced MySQL Programming
  20. Part III: E-Commerce and Security
  21. Chapter 14: Running an E-Commerce Site
  22. Chapter 15: E-Commerce Security Issues
  23. Chapter 16: Web Application Security
  24. Chapter 17: Implementing Authentication with PHP and MySQL
  25. Chapter 18: Implementing Secure Transactions with PHP and MySQL
  26. Part IV: Advanced PHP Techniques
  27. Chapter 19: Interacting with the File System and the Server
  28. Chapter 20: Using Network and Protocol Functions
  29. Chapter 21: Managing the Date and Time
  30. Chapter 22: Generating Images
  31. Chapter 23: Using Session Control in PHP
  32. Chapter 24: Other Useful Features
  33. Part V: Building Practical PHP and MySQL Projects
  34. Chapter 25: Using PHP and MySQL for Large Projects
  35. Chapter 26: Debugging
  36. Chapter 27: Building User Authentication and Personalization
  37. Chapter 28: Building a Shopping Cart
  38. Chapter 29: Building a Web-Based Email Service
  39. Chapter 30: Building a Mailing List Manager
  40. Chapter 31: Building Web Forums

FAQ

这本书对应原书哪一版,内容新吗?
对应原书第4版(PHP and MySQL Web Development, Fourth Edition),中文版2009年出版,依赖PHP 5.3及MySQL 5.1环境,属于经典但偏旧的技术书,适合学思路而非追新语法。
零基础可以直接读吗?
最好先具备HTML和基本编程概念。书中第1章是PHP快速入门,但节奏较快,完全零基础者可先补HTML表单、变量与流程控制基础再读。
书里的项目代码能直接跑吗?
原书代码基于PHP 5.x,在现代PHP 8.x环境下需要修改才能运行,建议用旧版本环境或容器,重点是理解代码结构与设计思路。
这本书和网上免费教程相比优势在哪?
它把语言、数据库、安全、项目实战串成完整体系,并给出购物车、论坛、邮件服务等成规模的案例,结构性和完整性优于零散教程。
第4版和第5版怎么选?
第4版中文版流传最广、评价较多;若追求较新内容可考虑后续英文版本,第5版主要更新了PHP新版本与Web开发相关内容。

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

Top rated in the same category