Learning PHP with Brother Lian cover

Learning PHP with Brother Lian

No rating yet
Word count
1.6M words
Chapters
38
ISBN
9787121278013

Tags

Summary

Learning PHP with Brother Lian is an upgraded edition of the bestselling Detailed PHP (2nd Edition), written by Gao Luofeng, teaching director of Brother Lian IT Education, and others. The book is divided into 6 parts and 32 chapters, each chapter built around a relatively independent PHP knowledge point and accompanied by a wealth of ready-to-use sample code and self-test questions. Part 1, Introduction to Web Development, covers LAMP website construction, HTML and CSS, standardized DIV+CSS layout, and the application of HTML5 and CSS3, helping complete beginners first understand the relationship between front end and server side. Part 2, PHP Fundamentals, covers setting up a development environment, basic syntax, flow control, functions, arrays and data structures, string processing, regular expressions, and object-oriented programming concepts. Part 3 focuses on common PHP functional modules, including error and exception handling, date and time, file system processing, and dynamic image processing (the GD library). Part 4, Database Development, explains MySQL database and data table design, SQL statement design, PHP's extension functions for accessing MySQL, and the database abstraction layer PDO. Part 5, Advanced PHP Development, covers MemCache, session control, the CURL extension, the Smarty template engine, the MVC pattern, and the ultra-lightweight framework BroPHP 2.0. Part 6, Project Development, uses an e-commerce mall system as an example to walk through the full process of writing a requirements analysis specification, a database design specification, and a program design specification. The book comes with extensive companion teaching videos for learning by doing.

Editor's review

这是一本从PHP语法讲到项目交付的流程,内容相当完整。它不满足于只教“echo 怎么用”,而是先从LAMP架构、HTTP协议、HTML/CSS讲起,让读者明白一行PHP代码在浏览器与服务器之间到底走过了哪一段路。 对零基础读者最友好的是它的组织方式:6大部分、32章基本按“入门—语法—常用模块—数据库—高级—项目”的顺序推进,每章相对独立,可以照着自己的薄弱环节回查补漏;每章后面配有自测试题,适合检验自己是否真的会写,而不是“看着都会、合上书就废”。 书中后半部分的价值更明显:PDO、Smarty、MVC与BroPHP 2.0这一串内容,基本对应2010年代中期国内中小型Web项目的主流技术栈;最后的BroShop电商项目以需求分析、数据库设计、程序设计三份说明书串起来,能让初学者第一次看到真实的开发流程长什么样。 需要提醒的是,本书主体基于PHP 5.4,许多写法与今天主流的PHP 8.x 已有差距(例如PDO之外的mysql_*扩展已废弃、框架思想也有所演进),更适合当作打基础的教材,而不是查最新API的手册。配套光盘与教学视频是它的加分项,但对只拿到PDF的读者来说,重点仍应放在动手复现代码上。

Who it's for

A good fit for

  • 零基础、想系统入门PHP与Web开发的自学者
  • 正在参加IT培训或计算机相关专业、需要配套教材的学生
  • 已会HTML/CSS,想补齐服务器端与数据库能力的初级前端
  • 需要从语法一路练到小项目完整流程的转行学习者

Not a good fit for

  • 只想查PHP 8.x最新语法与API速查的资深开发者
  • 希望学习Laravel、Symfony等现代框架的读者
  • 只做前端、不打算接触数据库与服务端的人

Reading tips

  1. 按书的结构顺序推进,先跑通环境再学语法,不要跳着看第11章面向对象
  2. 每章示例代码亲手敲一遍并故意改错报错,比只看PDF效果好得多
  3. 学完PDO与MVC部分后,把BroShop项目里的表结构和流程在自己的小项目里复现
  4. 遇到PHP 5.4写法与新版PHP不兼容时,以官方手册为准做对照笔记,不必死守书中写法

About the publisher

Publishing House of Electronics Industry China · Founded in 1982

The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.

Contents

  1. Part 1 Introduction to Web Development
  2. Chapter 1 LAMP Website Construction
  3. Chapter 2 HTML Design and Application
  4. Chapter 3 Cascading Style Sheets
  5. Chapter 4 Standardized DIV+CSS Web Layout
  6. Chapter 5 Application of HTML5 and CSS3
  7. Part 2 PHP Fundamentals
  8. Chapter 6 Starting with Setting Up Your PHP Development Environment
  9. Chapter 7 Basic PHP Syntax
  10. Chapter 8 PHP Flow Control Structures
  11. Chapter 9 PHP Function Application
  12. Chapter 10 Arrays and Data Structures in PHP
  13. Chapter 11 Object-Oriented Programming in PHP
  14. Chapter 12 String Processing
  15. Chapter 13 Regular Expressions
  16. Part 3 Common PHP Functional Modules
  17. Chapter 14 PHP Error and Exception Handling
  18. Chapter 15 PHP Date and Time
  19. Chapter 16 File System Processing
  20. Chapter 17 PHP Dynamic Image Processing
  21. Part 4 Database Development
  22. Chapter 18 Overview of MySQL Databases
  23. Chapter 19 MySQL Data Table Design
  24. Chapter 20 SQL Statement Design
  25. Chapter 21 PHP Extension Functions for Accessing MySQL
  26. Chapter 22 The Database Abstraction Layer PDO
  27. Part 5 Advanced PHP Development
  28. Chapter 23 MemCache Management and Application
  29. Chapter 24 Session Control
  30. Chapter 25 PHP CURL Extension Module
  31. Chapter 26 The PHP Template Engine Smarty
  32. Chapter 27 The MVC Pattern and PHP Frameworks
  33. Chapter 28 The Ultra-Lightweight PHP Framework BroPHP 2.0
  34. Part 6 Project Development
  35. Chapter 29 B/S Software Development Process
  36. Chapter 30 E-Commerce Mall System Requirements Analysis Specification
  37. Chapter 31 Database Design Specification
  38. Chapter 32 Program Design Specification

FAQ

这本书和《细说PHP》是什么关系?
《跟兄弟连学PHP》是《细说PHP(第2版)》的全新升级版,也被视为《细说PHP》的第三版,主体内容框架沿用,但重新录制了覆盖面较广的配套教学视频,并更新了部分示例与项目。
零基础可以直接读这本吗?
可以。第一部分从Web概念、HTML/CSS和LAMP架构讲起,门槛较低;但全书篇幅近900页、约159万字,需要预留持续数月的学习时间,建议边读边动手。
书里的PHP版本比较老,还有用吗?
书中主体基于PHP 5.4,部分写法(如旧的MySQL扩展、老式框架用法)在PHP 8.x下已不推荐使用。语法基础、数组与函数、面向对象、PDO、MVC思想仍然成立,可作为地基,细节以官方手册为准。
没有配套光盘还能学吗?
可以。书中示例代码与自测试题是核心,视频只是辅助;没有光盘时建议自己搭建环境复现代码,遇到关键概念再补充搜索讲解视频。

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.

About the author

Xiongdi Lian Education is an educational team that writes computer programming books under a collective name. Public personal information about the team is limited, and the available details come mainly from its signed works. Its books concentrate on foundational front-end and web development technologies. It has published two titles, Explaining Web Page Production in Detail and Explaining DOM Programming in Detail, both classified under programming and design. Judging from these topics, the team tends to break introductory knowledge such as web page structure and the Document Object Model into units that are easy to study step by step, with writing that emphasizes the connection between concept explanations and operational steps. The books suit beginners who want to understand the basic principles of page construction and script interaction in an orderly way. These two works reflect the team's approach of drawing on teaching practice and organizing technical threads for entry-level readers, offering a plain and accessible entry point among similar introductory tutorials.

More by the same author

Top rated in the same category