Concept

indigital's picture

All-Inclusive Comparative Analysis of Advanced Theming Techniques

Book element

  • Concept
  • As I have said at Amazon and in the discussion that I unsuccessfully tried to kick-start in the theming chapters discussion board page, I think this book does a great job of explaining the "how" of template overrides, theme functions, theme hook suggestions, pre/process functions, and the render api's alter hooks in building and customizing a site from scratch.

  • Benjamin Melançon's picture

    Using git to re-apply an old over-written change

    Tags

    Book element

  • Concept
  • [Searched words]
    filter a git log
    filter log output command line
    grep git history
    git view commit
    git re-apply commit

    To do a simple search through Git's commit messages (another reason to write useful information when committing!) *and* the accompanying diffs, you can use to search for dgd7.org:

    git log -Sdgd7.org

    Shows us, as one of a few matches:

    commit 89bec60d085839fff22fdd4e387063717282edc6
    Author: Benjamin
    Date: Tue Jun 15 19:47:23 2010 -0400

  • Explanation

  • Maybe this could go in the deployment chapter/appendix.
  • Benjamin Melançon's picture

    Fewer modules is better

    Book element

  • Concept
  • The Drupal community likes to brag about the thousands of contributed modules, but there's a little secret that should be publicly and widely stated: If you install 1,000 modules on your site, your doing it so wrong you'll probably need a complete Drupalectomy.

  • Explanation

  • There's A Module For That introduction.
  • Benjamin Melançon's picture

    Read the Code

    Tags

  • learning
  • Book element

  • Concept
  • Look at the code.

    Read the tests.

    The community wrote the code because they love you. They wrote the documentation to prove it.

    It's all right to google first. It may be a good idea to pick a standard practice, code first or web search first.

  • Explanation

  • This is for the Participation chapter. Or...? Inspired by / adapted from http://railstips.org/blog/archives/2010/10/14/stop-googling/ @TODO incorporate more from http://www.skorks.com/2010/05/why-i-love-reading-other-peoples-code-and-you-should-too/
  • Subscribe to Concept