PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

15.12. Using custom annotations in PHP

Note: This article was originally published at Planet PHP on 15 December 2011.
Planet PHP
When developing enterprise software one should always keep an eye on writing code that is easily maintainable, testable and extendable. Design patterns already propose a way to implement a loosely coupled architecture. With annotations you can take a step forward to make your code look even more expressive, focusing on the primary problem instead of writing a lot of boilerplate code. A single comment line can save you many more lines of code but as it is written in the project's domain language it will be much more meaningful to the developer.
Continue reading "15.12. Using custom annotations in PHP"