Tech4Him – Technology with Integrity

A Christian technology chaos wrangler and his thoughts

Refactoring Node Rendering in Drupal 7

Posted by admin On April - 14 - 2008

Some of you may already be on the bandwagon but as usual, I’m late to the party. Thanks to beeradb who showed me today the node for Drupal 7 referring to the refactoring of node rendering in Drupal 7. BTW, this is no small task since most of Drupal is about the node. Now in Drupal 7 we will hopefully see more emphasis on fields which is great for us data folks. ;)

First, a big hurrah to the team. I for one believe this is a great continuation of the work started in Drupal 6 toward this goal. By abstracting and fully creating the node object we allow much more flexibility when it comes to the display / presentation side of the house.

Now there is alot to read through there with the 112 comments already in place. Take the time though and go through it. Moshe illuminated what again to me was a revelation that if this goes forward you’ll replace your node op view pieces with the preprocess function: MODULE_preprocess_page(&$variables)

Drupal goodness!

Popularity: 6% [?]

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • email
  • LinkedIn
  • PDF
  • RSS
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter

Leave a Reply