Book description
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.
PHP in Action 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
This book takes on the most important challenges of web programming in PHP 5 using state-of-the art programming and software design techniques including unit testing, refactoring and design patterns. It provides the essential skills you need for developing or maintaining complex to moderately complex PHP web applications.
About the Technology
About the Book
What's Inside
- Explanation of software engineering principles of design and architecture of web programming
- How to refactor / redesign / restructure legacy applications
- Improve existing code incrementally and under time constraints
- How to use automated testing
- How to keep web applications secure
- Many interesting and useful examples
About the Reader
About the Authors
Dagfinn Reiersøl has been designing and developing web applications, web content mining software, web programming tools, and text analysis programs, mostly in PHP, since 1997. He also has a long history as a technical writer of software manuals. He lives in Oslo, Norway.
Marcus Baker has been a software consultant for many years specializing in OO design and development as well as web application development and testing. He is also a columnist for PHP Architecture Magazine and lives in London, England.
Chris Shiflett is a PHP consultant and security expert as well as a leader in the PHP community. He is the founder of the PHP Security Consortium and the author of the HTTP Developer¹s Handbook and Essential PHP Security. He lives in Brooklyn, NY.
Quotes
Well written and focused - these authors are experts.
- Kiernan Mathieson, Associate Professor of Management Information Systems, Oakland University
A textbook for beginners and the quintessential reference for the rest of us. They have outdone themselves with this masterpiece.
- Andrew Grothe, COO, Eliptic Webwise
Table of contents
- Copyright
- Brief Table of Contents
- Table of Contents
- Preface
- Acknowledgments
- About this Book
- About the Title
- About the Cover Illustration
- Part 1. Tools and concepts
- Chapter 1. PHP and modern software development
- Chapter 2. Objects in PHP
- Chapter 3. Using PHP classes effectively
- Chapter 4. Understanding objects and classes
- Chapter 5. Understanding class relationships
- Chapter 6. Object-oriented principles
- Chapter 7. Design patterns
- Chapter 8. Design how-to: date and time handling
- Part 2. Testing and refactoring
- Chapter 9. Test-driven development
- Chapter 10. Advanced testing techniques
- Chapter 11. Refactoring web applications
- Chapter 12. Taking control with web tests
- Part 3. Building the web interface
- Chapter 13. Using templates to manage web presentation
- Chapter 14. Constructing complex web pages
- Chapter 15. User interaction
- Chapter 16. Controllers
- Chapter 17. Input validation
- Chapter 18. Form handling
- Chapter 19. Database connection, abstraction, and configuration
- Part 4. Databases and infrastructure
- Chapter 20. Objects and SQL
- Chapter 21. Data class design
- Appendix A. Tools and tips for testing
- Appendix B. Security
- Resources
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: PHP in Action
- Author(s):
- Release date: July 2007
- Publisher(s): Manning Publications
- ISBN: 9781932394757
You might also like
book
Clean Code in PHP
Practical lessons, examples, and practices from PHP experts on how to take your PHP skills to …
book
Domain-Driven Design in PHP
Real examples written in PHP showcasing DDD Architectural Styles, Tactical Design, and Bounded Context Integration About …
book
PHP Cookbook
PHP is a simple yet powerful open source scripting language that has become a big player …
book
PHP Cookbook
If you're a PHP developer looking for proven solutions to common problems, this cookbook provides code …