|
PHP In Action: Objects, Design, Agility
To keep programming productive and enjoyable, state-of-the-art practices and principles are essential. Object-oriented programming and design help manage complexity by keeping components cleanly separated. Unit testing helps prevent endless, exhausting debugging sessions. Refactoring keeps code supple and readable. PHP offers all this-and more. This
book shows you how to apply PHP techniques and principles to all the most common challenges of web programming, including: Web presentation and templates User interaction including the Model-View-Contoller architecture Input validation and form handling Database connection and querying and abstraction Object persistence
Part 1: Tools and Concepts
1 PHP and modern software development
2 Objects in PHP
3 Using PHP classes effectively
4 Understanding objects and classes
5 Understanding class relationships
6 Object-orientated principles
7 Design Patterns
8 Design how-to: date and time handling
Part 2: Testing and refactoring
9 Test-driven Development
10 Advanced testing techniques
11 Refactoring web application
12 Taking control with web tests
Part 3: Building the web interface
13 Using templates to manage web presentation
14 Constructing complex web pages
15 User interaction
16 Controllers
17 Input validation
18 Form Handling
19 Database connection, abstraction, and configuration
Part 4: Databases and infrastructure
20 Objects and SQL
21 Data class design
|