SlideShare a Scribd company logo
1 of 55
Download to read offline
Energy.gov Case Study
               BADcamp
               October 22, 2011
               Roger López




Tuesday, December 13, 2011
Energy.gov

               Roger López
                   ‣ VP, Engineering at
                     Treehouse Agency
                   ‣ Drupal.org member
                     since July 2006
                   ‣ @zroger
                         ‣ Drupal.org, Twitter, et al.


                                              Do It With Drupal 2011, Roger López
Tuesday, December 13, 2011
Tuesday, December 13, 2011
Energy.gov

               Project Goals
                   ‣ Consolidation of 100’s of sub-sites
                   ‣ Sub-site creation should not require
                     developer intervention.
                   ‣ Content should be easily shared
                     between sub-sites.
                   ‣ Maintain a uniform style across all
                     sub-sites.

                                        Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov

               Drupal 7
                   ‣ Released January 5, 2011
                   ‣ Target launch date: August 4, 2011
                   ‣ Drupal 6 will stopped being
                     supported in about 2-3 years




                                       Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov

               What about contrib?
                   ‣ Entities and fields
                   ‣ DB API and EntityFieldQuery
                   ‣ Image styles
                   ‣ ...




                                          Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov

               Organic groups
                   ‣ Create groups
                   ‣ Content is added to groups
                   ‣ Users are members of groups
                   ‣ Membership-based access control




                                       Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Tuesday, December 13, 2011
Tuesday, December 13, 2011
Energy.gov

               Group Type




                             Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov

               Group Membership




                             Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov

               OG Usage
                   ‣ Group type
                         ‣ Office vocabulary terms
                   ‣ Group content
                         ‣ Articles
                         ‣ Pages
                         ‣ Blocks*

                                            Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov
               Not all terms are created
               equal
                   ‣ Internal sites are groups
                   ‣ External sites are not
                   ‣ Otherwise the same




                                         Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Tuesday, December 13, 2011
Energy.gov

               OG Tasks




                             Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov




               http://drupal.org/project/og_tasks




                                  Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Blocks




Tuesday, December 13, 2011
Energy.gov




                             Block Creator
                                  !=
                             Administrator


                                     Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov

               User generated Blocks
                   ‣ Node-like blocks
                         ‣ Fields
                         ‣ Templates
                   ‣ Listing blocks
                         ‣ User-defined filters
                         ‣ Pre-defined styles

                                           Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Tuesday, December 13, 2011
Tuesday, December 13, 2011
screenshot of listing
                             block example, with
                             highlights like previous
                             slide




Tuesday, December 13, 2011
screenshot of listing
                             block example, with
                             highlights like previous
                             slide




Tuesday, December 13, 2011
Energy.gov




                                Beans
                             (Block Entities)




                                       Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov

               Block Entities
                   ‣ Block types
                   ‣ Fieldable
                   ‣ Simple data storage for settings
                   ‣ Non-admin permissions
                   ‣ Data entry is familiar to users



                                         Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Tuesday, December 13, 2011
Tuesday, December 13, 2011
Input form for a listing
                             bean. Explain how non-
                             field beans work.




Tuesday, December 13, 2011
Tuesday, December 13, 2011
Energy.gov

               View modes
                   ‣ Previously called “Build modes”
                   ‣ Provides multiple display options
                   ‣ Out of the box
                         ‣ Full content
                         ‣ Teaser
                         ‣ RSS

                                          Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov

               Named styles

                   ‣ Block teaser   ‣ Related items




                                    Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov

               Want More?
                   ‣ Modern Theming:
                     Beyond Preprocessing and .tpls
                         ‣ Tim Cosgrove
                         ‣ 5:00 pm today
                         ‣ Valley LSB 2050.



                                              Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov

               Editorial listings
                   ‣ Hand-selected listings of nodes
                   ‣ Multiple Node Reference field
                   ‣ View mode set in the Node
                     Reference field settings
                   ‣ Additional fields
                         ‣ More link, Header text, etc.


                                             Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov




                             Block Placement




                                      Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov

               Pages vs Nodes
                   ‣ Users think about Pages
                   ‣ Pages with only blocks
                   ‣ Publishing workflow doesn’t include
                     block placements




                                        Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov

               Block References
                   ‣ Block reference fields to emulate
                     regions
                   ‣ “Landing page” node types for each
                     page layout
                   ‣ Can be combined with other
                     methods (context, core block
                     module, etc.)


                                        Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Tuesday, December 13, 2011
Tuesday, December 13, 2011
Tuesday, December 13, 2011
Block reference fields




Tuesday, December 13, 2011
Text fields


Tuesday, December 13, 2011
Tuesday, December 13, 2011
Tuesday, December 13, 2011
Tuesday, December 13, 2011
Block Reference fields




Tuesday, December 13, 2011
Context




Tuesday, December 13, 2011
Energy.gov




                             Data Visualizations




                                        Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov

               Libraries
                   ‣ jqPlot
                         ‣ jqplot.com
                   ‣ The Jit
                         ‣ thejit.org
                   ‣ High Charts
                         ‣ highcharts.com

                                            Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov




                              DataVis
                             formatted
                                data



                              JSON

                                    Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov




                              DataVis
                                                       DataVis
                             formatted
                                                       Adapter
                                data



                              JSON                  Javascript

                                    Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov




                              DataVis
             Drupal                                    DataVis
                             formatted
             Module                                    Adapter
                                data



              PHP             JSON                  Javascript

                                    Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov




                             Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Energy.gov




                             Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011
Tuesday, December 13, 2011
Energy.gov

               Resources
                   ‣ Bean
                     http://drupal.org/project/bean
                   ‣ OG Tasks
                     http://drupal.org/project/og_tasks
                   ‣ DataViz Javascript Adapters
                     http://github.com/treehouseagency/dataviz-adapters
                   ‣ Data Visualization API for Drupal
                     http://drupal.org/sandbox/LSU_JBob/1299606
                   ‣ Treehouse Agency Blog
                     http://treehouseagency.com/blog

                                               Do it with Drupal, 2011, Roger López
Tuesday, December 13, 2011

More Related Content

Similar to Energy.gov Case Study - BADcamp 2011

20111114 b hyland government data and publishers
20111114   b hyland government data and publishers20111114   b hyland government data and publishers
20111114 b hyland government data and publishers
Bernadette Hyland-Wood
 
WTF Is Messaging And Why You Should Use It?
WTF Is Messaging And Why You Should Use It?WTF Is Messaging And Why You Should Use It?
WTF Is Messaging And Why You Should Use It?
James Russell
 
GT Logiciel Libre - Convention Systematic 2011
GT Logiciel Libre - Convention Systematic 2011GT Logiciel Libre - Convention Systematic 2011
GT Logiciel Libre - Convention Systematic 2011
Stefane Fermigier
 
MongoDB Hadoop and Humongous Data
MongoDB Hadoop and Humongous DataMongoDB Hadoop and Humongous Data
MongoDB Hadoop and Humongous Data
MongoDB
 
Clouds against the Floods (RubyConfBR2011)
Clouds against the Floods (RubyConfBR2011) Clouds against the Floods (RubyConfBR2011)
Clouds against the Floods (RubyConfBR2011)
Leonardo Borges
 

Similar to Energy.gov Case Study - BADcamp 2011 (19)

Energy.gov Case Study
Energy.gov Case StudyEnergy.gov Case Study
Energy.gov Case Study
 
GeoServer on Steroids
GeoServer on SteroidsGeoServer on Steroids
GeoServer on Steroids
 
Devops workshop unit2
Devops workshop unit2Devops workshop unit2
Devops workshop unit2
 
Innovation @ google vlerick
Innovation @ google  vlerickInnovation @ google  vlerick
Innovation @ google vlerick
 
20111114 b hyland government data and publishers
20111114   b hyland government data and publishers20111114   b hyland government data and publishers
20111114 b hyland government data and publishers
 
3D in the Browser via WebGL: It's Go Time
3D in the Browser via WebGL: It's Go Time 3D in the Browser via WebGL: It's Go Time
3D in the Browser via WebGL: It's Go Time
 
2011 June - Singapore GTUG presentation. App Engine program update + intro to Go
2011 June - Singapore GTUG presentation. App Engine program update + intro to Go2011 June - Singapore GTUG presentation. App Engine program update + intro to Go
2011 June - Singapore GTUG presentation. App Engine program update + intro to Go
 
iOS Prototyping with Xcode Storyboards
iOS Prototyping with Xcode StoryboardsiOS Prototyping with Xcode Storyboards
iOS Prototyping with Xcode Storyboards
 
Drupal and the rise of the documents
Drupal and the rise of the documentsDrupal and the rise of the documents
Drupal and the rise of the documents
 
WTF Is Messaging And Why You Should Use It?
WTF Is Messaging And Why You Should Use It?WTF Is Messaging And Why You Should Use It?
WTF Is Messaging And Why You Should Use It?
 
GT Logiciel Libre - Convention Systematic 2011
GT Logiciel Libre - Convention Systematic 2011GT Logiciel Libre - Convention Systematic 2011
GT Logiciel Libre - Convention Systematic 2011
 
Introducing Cloud9 at DynCon 2011
Introducing Cloud9 at DynCon 2011Introducing Cloud9 at DynCon 2011
Introducing Cloud9 at DynCon 2011
 
Pluggable Django Application Patterns PyCon 2011
Pluggable Django Application Patterns PyCon 2011Pluggable Django Application Patterns PyCon 2011
Pluggable Django Application Patterns PyCon 2011
 
CSS Power Tools
CSS Power ToolsCSS Power Tools
CSS Power Tools
 
MongoDB Hadoop and Humongous Data
MongoDB Hadoop and Humongous DataMongoDB Hadoop and Humongous Data
MongoDB Hadoop and Humongous Data
 
Design for Crowdsourcing
Design for CrowdsourcingDesign for Crowdsourcing
Design for Crowdsourcing
 
Clouds against the Floods (RubyConfBR2011)
Clouds against the Floods (RubyConfBR2011) Clouds against the Floods (RubyConfBR2011)
Clouds against the Floods (RubyConfBR2011)
 
5 Ways to Awesome-ize Your (PHP) Code
5 Ways to Awesome-ize Your (PHP) Code5 Ways to Awesome-ize Your (PHP) Code
5 Ways to Awesome-ize Your (PHP) Code
 
WordPress to Drupal
WordPress to DrupalWordPress to Drupal
WordPress to Drupal
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

Energy.gov Case Study - BADcamp 2011

  • 1. Energy.gov Case Study BADcamp October 22, 2011 Roger López Tuesday, December 13, 2011
  • 2. Energy.gov Roger López ‣ VP, Engineering at Treehouse Agency ‣ Drupal.org member since July 2006 ‣ @zroger ‣ Drupal.org, Twitter, et al. Do It With Drupal 2011, Roger López Tuesday, December 13, 2011
  • 4. Energy.gov Project Goals ‣ Consolidation of 100’s of sub-sites ‣ Sub-site creation should not require developer intervention. ‣ Content should be easily shared between sub-sites. ‣ Maintain a uniform style across all sub-sites. Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 5. Energy.gov Drupal 7 ‣ Released January 5, 2011 ‣ Target launch date: August 4, 2011 ‣ Drupal 6 will stopped being supported in about 2-3 years Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 6. Energy.gov What about contrib? ‣ Entities and fields ‣ DB API and EntityFieldQuery ‣ Image styles ‣ ... Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 7. Energy.gov Organic groups ‣ Create groups ‣ Content is added to groups ‣ Users are members of groups ‣ Membership-based access control Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 10. Energy.gov Group Type Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 11. Energy.gov Group Membership Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 12. Energy.gov OG Usage ‣ Group type ‣ Office vocabulary terms ‣ Group content ‣ Articles ‣ Pages ‣ Blocks* Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 13. Energy.gov Not all terms are created equal ‣ Internal sites are groups ‣ External sites are not ‣ Otherwise the same Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 15. Energy.gov OG Tasks Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 16. Energy.gov http://drupal.org/project/og_tasks Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 18. Energy.gov Block Creator != Administrator Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 19. Energy.gov User generated Blocks ‣ Node-like blocks ‣ Fields ‣ Templates ‣ Listing blocks ‣ User-defined filters ‣ Pre-defined styles Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 22. screenshot of listing block example, with highlights like previous slide Tuesday, December 13, 2011
  • 23. screenshot of listing block example, with highlights like previous slide Tuesday, December 13, 2011
  • 24. Energy.gov Beans (Block Entities) Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 25. Energy.gov Block Entities ‣ Block types ‣ Fieldable ‣ Simple data storage for settings ‣ Non-admin permissions ‣ Data entry is familiar to users Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 28. Input form for a listing bean. Explain how non- field beans work. Tuesday, December 13, 2011
  • 30. Energy.gov View modes ‣ Previously called “Build modes” ‣ Provides multiple display options ‣ Out of the box ‣ Full content ‣ Teaser ‣ RSS Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 31. Energy.gov Named styles ‣ Block teaser ‣ Related items Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 32. Energy.gov Want More? ‣ Modern Theming: Beyond Preprocessing and .tpls ‣ Tim Cosgrove ‣ 5:00 pm today ‣ Valley LSB 2050. Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 33. Energy.gov Editorial listings ‣ Hand-selected listings of nodes ‣ Multiple Node Reference field ‣ View mode set in the Node Reference field settings ‣ Additional fields ‣ More link, Header text, etc. Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 34. Energy.gov Block Placement Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 35. Energy.gov Pages vs Nodes ‣ Users think about Pages ‣ Pages with only blocks ‣ Publishing workflow doesn’t include block placements Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 36. Energy.gov Block References ‣ Block reference fields to emulate regions ‣ “Landing page” node types for each page layout ‣ Can be combined with other methods (context, core block module, etc.) Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 40. Block reference fields Tuesday, December 13, 2011
  • 45. Block Reference fields Tuesday, December 13, 2011
  • 47. Energy.gov Data Visualizations Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 48. Energy.gov Libraries ‣ jqPlot ‣ jqplot.com ‣ The Jit ‣ thejit.org ‣ High Charts ‣ highcharts.com Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 49. Energy.gov DataVis formatted data JSON Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 50. Energy.gov DataVis DataVis formatted Adapter data JSON Javascript Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 51. Energy.gov DataVis Drupal DataVis formatted Module Adapter data PHP JSON Javascript Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 52. Energy.gov Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 53. Energy.gov Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011
  • 55. Energy.gov Resources ‣ Bean http://drupal.org/project/bean ‣ OG Tasks http://drupal.org/project/og_tasks ‣ DataViz Javascript Adapters http://github.com/treehouseagency/dataviz-adapters ‣ Data Visualization API for Drupal http://drupal.org/sandbox/LSU_JBob/1299606 ‣ Treehouse Agency Blog http://treehouseagency.com/blog Do it with Drupal, 2011, Roger López Tuesday, December 13, 2011