Tech Teasers from our Energy.gov Press Release

It's been an exciting week for us here at Treehouse Agency.  We've been hopping up and down for weeks wanting to tell everyone about our work with Energy.gov, and now that it's finally launched, the response has been exhilarating.

acham
#Drupal | Posted

It's been an exciting week for us here at Treehouse Agency.  We've been hopping up and down for weeks wanting to tell everyone about our work with Energy.gov, and now that it's finally launched, the response has been exhilarating.

Yesterday, our CEO Michael Caccavano posted his thoughts on the launch and noted some of the site's features.  Today I've put out our official press release, sharing the news from our perspective as a company, including some more hints at the Drupal coolness our team used. 

I'd love it if you read the whole release :), but in case you've actually got code to write today, here's the fun part:

Development highlights of the relaunched Energy.gov include:

  • Data Visualization API. Historically, data rendering libraries have required specialized data handling to work with disparate data structures. Treehouse developed the Data Visualization API to define a standardized data structure for visualizations, creating an abstraction layer that allows data to be rendered in any library for which an adapter has been written. This API is further combined with the Drupal 7 Entity API to create a very flexible system that converts these visualizations to Drupal entities.

  • Sophisticated workflow. Using the State Machine module, the Treehouse team created a sophisticated content workflow pattern customized to the Department of Energy's editorial review process. (State Machine provides a flexible system for building rules and reaction associated with changes to the status of an entity.) With the implemented workflow content can be written, edited, and reviewed by multiple staff members prior to being publicly visible. Writers can draft new articles or prepare revisions for existing articles, then send the article to an editor for review and a decision to approve for publication or return for revisions.

  • Drupal Bean module. Bean provides a means of producing block types with custom fields (much like custom content types). Using code-based configuration, it bypasses the user interface and feature management issues that accompany UI-based configurations. The module has been contributed back to the Drupal community and is presently available as an alpha release; the project page for Bean can be found at http://drupal.org/project/bean

Additional project highlights include easy content sharing between sites on the platform, stunning data mapping via MapBox integration, and substantial editor empowerment; the new system allows editors to create and deploy new sites on the platform without relying on developers or development hours.

Indytechcook (we call him "Neil") and zroger (aka "Roger") tell me that you'll be seeing a bunch of code from this project released to the community.  In the meantime, our devs are getting ready to put out some of their awesome blog posts giving you a deeper look at some of the tech behind this project.

Stay tuned for more on the Energy.gov Drupal 7 relaunch!

PS - Here's the slicky little screenshot reel I threw together for the press release. The site looks pretty cool, right?

acham