SlideShare une entreprise Scribd logo
1  sur  55
Télécharger pour lire hors ligne
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

Contenu connexe

Similaire à Energy.gov Case Study - BADcamp 2011

Energy.gov Case Study
Energy.gov Case StudyEnergy.gov Case Study
Energy.gov Case Studyzroger
 
GeoServer on Steroids
GeoServer on SteroidsGeoServer on Steroids
GeoServer on SteroidsGeoSolutions
 
Devops workshop unit2
Devops workshop unit2Devops workshop unit2
Devops workshop unit2John Willis
 
Innovation @ google vlerick
Innovation @ google  vlerickInnovation @ google  vlerick
Innovation @ google vlerickresearchvlerick
 
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 publishersBernadette Hyland-Wood
 
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 Pascal Rettig
 
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 Goikailan
 
iOS Prototyping with Xcode Storyboards
iOS Prototyping with Xcode StoryboardsiOS Prototyping with Xcode Storyboards
iOS Prototyping with Xcode StoryboardsKyle Oba
 
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 documentsClaudio Beatrice
 
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 2011Stefane Fermigier
 
Introducing Cloud9 at DynCon 2011
Introducing Cloud9 at DynCon 2011Introducing Cloud9 at DynCon 2011
Introducing Cloud9 at DynCon 2011Sergi Mansilla
 
Pluggable Django Application Patterns PyCon 2011
Pluggable Django Application Patterns PyCon 2011Pluggable Django Application Patterns PyCon 2011
Pluggable Django Application Patterns PyCon 2011Corey Oordt
 
MongoDB Hadoop and Humongous Data
MongoDB Hadoop and Humongous DataMongoDB Hadoop and Humongous Data
MongoDB Hadoop and Humongous DataMongoDB
 
Design for Crowdsourcing
Design for CrowdsourcingDesign for Crowdsourcing
Design for Crowdsourcingmlascarides
 
Clouds against the Floods (RubyConfBR2011)
Clouds against the Floods (RubyConfBR2011) Clouds against the Floods (RubyConfBR2011)
Clouds against the Floods (RubyConfBR2011) Leonardo Borges
 
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) CodeJeremy Kendall
 

Similaire à 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
 

Dernier

Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 

Dernier (20)

Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 

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