CHAPTER 21Development Best Practices
In this chapter, you'll find all the little coding tips and best practices that'll make you an upstanding Drupal citizen and help keep your forehead separated from the keyboard. I'll begin by introducing Drupal's coding standards, then show you how to create documentation that will help other developers understand your code. I will help you find things quickly in Drupal's codebase, introduce version control, walk you through module maintenance, and wrap up by discussing debugging and profiling your code.
Coding Standards
The Drupal community has agreed that its codebase must have a standardized look and feel to improve readability and make diving in easier for budding developers. Developers of contributed ...
Get Pro Drupal Development, Second Edition 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.