Chapter 22. Development 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, and 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 code base, 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 code base must have a standardized look and feel to improve readability and make diving in easier for budding developers. Developers of contributed ...
Get Pro Drupal 7 Development, Third 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.