PART 2Testing andDocumentation

CHAPTER 6Documentation andCoding Conventions

Documentation is a crucial part of software development. It provides information regarding how to use the program, and can also help future maintainers and consumers of your program understand the decisions you made while developing the application. Documentation can also help you to remember design decisions you made when you later revisit your applications.

Documentation's importance is not limited to the communication of ideas. In PHP, documentation is also a key way to include metadata in your applications. Metadata, or data about data, is a key way to create advanced interactions between objects when you do not know the details of the objects beforehand. It's also ...

Get Pro PHP: Patterns, Frameworks, Testing and More now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.