SlideShare a Scribd company logo
1 of 33
Promiscuous Drupal
                            Imagine a daringly racy subtitle




Monday, March 23, 2009
http://www.flickr.com/photos/herzogbr/2274372747/
Monday, March 23, 2009
this is why we love drupal
                                  http://www.flickr.com/photos/herzogbr/2274372747/
Monday, March 23, 2009
this is what we make it
Monday, March 23, 2009
http://www.flickr.com/photos/ladyada/3039492078/
Monday, March 23, 2009
Drupal as one tool
                           among many



                                     http://www.flickr.com/photos/ladyada/3039492078/
Monday, March 23, 2009
Enlarging the Toolbox*
                   • Spam Filtering (Mollom, Akismet)
                   • Searching/Indexing (Solr, Google, Aquia)
                   • Feed Generation (Feedburner)
                   • Content tagging (Calais, TimesTags)
                   • Authentication (OpenID, etc.)
                   • Sending bulk mail (Mailchimp, etc.)
                                                http://www.flickr.com/photos/ladyada/3039492078/
Monday, March 23, 2009
Enlarging the Toolbox*

                         Farm out services that...

                   • Benefit from centralization (auth, ads)
                   • Require expertise (bulk mail wrangling)
                   • Demand massive processing or sample data
                         (fast indexing, spam filtering, auto-tagging)


                                                     http://www.flickr.com/photos/ladyada/3039492078/
Monday, March 23, 2009
http://www.flickr.com/photos/mr_diesio/2548025554
Monday, March 23, 2009
Getting Dangerous




 http://www.flickr.com/photos/mr_diesio/2548025554
Monday, March 23, 2009
Takin’ it up a notch
                   • Posting links? Use Delicious.
                   • Shoutbox/short updates? Use Twitter.
                   • Photos and galleries? Use Flickr!
                   • Video? Youtube, Blip.tv, etc.
                   • Reviewing books? Amazon, Goodreads.
                   • Comments? Disqus!
                   • Blogging? Use Wordpress.
 http://www.flickr.com/photos/mr_diesio/2548025554
Monday, March 23, 2009
I… but… my forms!
                   • You will never enter product information as
                         accurately as Amazon.
                   • You will never be as popular as Flickr.
                   • You will never write a Firefox Plugin for
                         Link Field.
                   • You will never enjoy transcoding your own
                         video.

 http://www.flickr.com/photos/mr_diesio/2548025554
Monday, March 23, 2009
Become the
                                                   crossroads, or
                                                   enhance native
                                                      content




  http://www.flickr.com/photos/sidelong/542906832
Monday, March 23, 2009
Become the
                                                   crossroads, or
                                                   enhance native
                 Link to                              content
                 Content




  http://www.flickr.com/photos/sidelong/542906832
Monday, March 23, 2009
When does it work?
                   • Common on social sites
                   • Ever used Facebook?
                   • News sites (CNN, etc.)
                   • Personal Aggregators (FriendFeed, Tumblr)
                   • External content is treated as something
                         that lives out there

  http://www.flickr.com/photos/sidelong/542906832
Monday, March 23, 2009
How can you do it?

                   • Good ol’ aggregator (it’s themable now)
                   • Activity module (it supports views!)
                   • DayLife API, NowPublic’s new service
                   • Native modules (delicious, flick, etc.)

  http://www.flickr.com/photos/sidelong/542906832
Monday, March 23, 2009
Gobble up
       content



Monday, March 23, 2009
Gobble up
       content

                      Use external sources
                     as your primary source
Monday, March 23, 2009
Does this make sense?
                   • How hardcore are you?
                   • How badly do your content producers hate
                         the node form?
                   • External content is treated as something
                         that lives in here.

                   • Drupal becomes a presentation engine
                   • Drupal becomes a… mashup?
Monday, March 23, 2009
How the..?

                   • Native modules
                   • FeedAPI + Feed Element Mapper
                   • Nodes become flexible wrappers
                   • Lay your own pipes (we’ll see this later)

Monday, March 23, 2009
Drupal


                                  PHP


                         Apache         MySQL


                          Operating System



Monday, March 23, 2009
Flickr
                             Drupal


                                             Delicious
                               PHP


                                              Google
                    Apache           MySQL


                                               Stuff
                         Operating System



Monday, March 23, 2009
Flickr
                         Delicious
                                                   Google

                                     Drupal


                                                Stuff
                              Amazon



Monday, March 23, 2009
Flickr
                         Delicious
                                                    Google

                                     Drupal


                                                 Stuff
                              Amazon



Monday, March 23, 2009
Are you insane?
   http://www.flickr.com/photos/beaub/2424695862/
Monday, March 23, 2009
Maybe a little insane

                   • Filtering the firehose (tagging helps)
                   • Importing the Internet
                   • 8192 auth methods (OAuth helps?)
                   • Even Amazon goes down.
                   • Magnolia (moment of silence)
   http://www.flickr.com/photos/beaub/2424695862/
Monday, March 23, 2009
Yeah, kind of insane.
                   • Congratulations! You’re an integration
                         specialist!
                   • How much do you trust the Internet?
                   • You can’t form_alter someone else’s site.
                   • You’re assembling data streams instead of
                         modules.


   http://www.flickr.com/photos/beaub/2424695862/
Monday, March 23, 2009
Monday, March 23, 2009
Rolling your own
                           integration




Monday, March 23, 2009
Doing it with Drupal
                   • drupal_http_request()
                   • PHP 5 - SimpleXML & JSON
                   • drupal_write_record()
                   • Expose your tables via Views
                   • Wrap local vs. remote
                   • (See “Building APIs That Rock”)
Monday, March 23, 2009
If you release it...
                   • Support the full API (or as much as you can)
                   • Fail gracefully
                   • Don’t force data into nodes
                   • Cache data whenever you can
                   • Don’t write a SQL query builder
                   • PHPDoc, PHPDoc, PHPDoc!
Monday, March 23, 2009
Don’t forget…
                   • Respect API policies (Limits, Caching)
                   • Don’t trust the data you get back
                   • There are cutting-edge options
                    • Custom Views queries (Flickr?)
                    • In Drupal 7, remote fields
                    • NowPublic’s Aggregation system
Monday, March 23, 2009
Leveraging our Synergy

                   • Drupal is a great tool
                   • Its strengths can be weaknesses
                   • Outsource services
                   • Drupal can be a mixer
                   • If you roll your own, think ahead

Monday, March 23, 2009

More Related Content

Viewers also liked

Drupal in Action (CMS Expo 2011)
Drupal in Action (CMS Expo 2011)Drupal in Action (CMS Expo 2011)
Drupal in Action (CMS Expo 2011)
Jeff Eaton
 
Baby Got Backend (CMS Expo 2011)
Baby Got Backend (CMS Expo 2011)Baby Got Backend (CMS Expo 2011)
Baby Got Backend (CMS Expo 2011)
Jeff Eaton
 

Viewers also liked (10)

Social Networking Applied
Social Networking AppliedSocial Networking Applied
Social Networking Applied
 
Drupal in Action
Drupal in ActionDrupal in Action
Drupal in Action
 
Deblobbing In The Real World
Deblobbing In The Real WorldDeblobbing In The Real World
Deblobbing In The Real World
 
Drupal in Action (CMS Expo 2011)
Drupal in Action (CMS Expo 2011)Drupal in Action (CMS Expo 2011)
Drupal in Action (CMS Expo 2011)
 
ROI in a GPL World
ROI in a GPL WorldROI in a GPL World
ROI in a GPL World
 
The Platypus Problem
The Platypus ProblemThe Platypus Problem
The Platypus Problem
 
Baby Got Backend (CMS Expo 2011)
Baby Got Backend (CMS Expo 2011)Baby Got Backend (CMS Expo 2011)
Baby Got Backend (CMS Expo 2011)
 
Architecture Is For Everyone
Architecture Is For EveryoneArchitecture Is For Everyone
Architecture Is For Everyone
 
Drupal Development
Drupal DevelopmentDrupal Development
Drupal Development
 
Recoupling
RecouplingRecoupling
Recoupling
 

Similar to Promiscuous Drupal

Internationalization of your homepage
Internationalization of your homepageInternationalization of your homepage
Internationalization of your homepage
gutskun
 
CHI: paper prototyping
CHI: paper prototypingCHI: paper prototyping
CHI: paper prototyping
Erik Duval
 
History of CHI (Human-Computer Interaction)
History of CHI (Human-Computer Interaction)History of CHI (Human-Computer Interaction)
History of CHI (Human-Computer Interaction)
Erik Duval
 
Ruby On Rails Presentation Barcamp Antwerp.Key
Ruby On Rails Presentation Barcamp Antwerp.KeyRuby On Rails Presentation Barcamp Antwerp.Key
Ruby On Rails Presentation Barcamp Antwerp.Key
Bert Goethals
 
Open Source Docs don't have to suck
Open Source Docs don't have to suckOpen Source Docs don't have to suck
Open Source Docs don't have to suck
Addison Berry
 

Similar to Promiscuous Drupal (20)

Realtime 3D on the web - a toy or a useful tool?
Realtime 3D on the web - a toy or a useful tool?Realtime 3D on the web - a toy or a useful tool?
Realtime 3D on the web - a toy or a useful tool?
 
Why I Hate Drupal
Why I Hate DrupalWhy I Hate Drupal
Why I Hate Drupal
 
iPhone Development Overview
iPhone Development OverviewiPhone Development Overview
iPhone Development Overview
 
Facebook on Rails
Facebook on RailsFacebook on Rails
Facebook on Rails
 
Internationalization of your homepage
Internationalization of your homepageInternationalization of your homepage
Internationalization of your homepage
 
No Really, It's All About You
No Really, It's All About YouNo Really, It's All About You
No Really, It's All About You
 
PR fuer Rails
PR fuer RailsPR fuer Rails
PR fuer Rails
 
CHI: paper prototyping
CHI: paper prototypingCHI: paper prototyping
CHI: paper prototyping
 
History of CHI (Human-Computer Interaction)
History of CHI (Human-Computer Interaction)History of CHI (Human-Computer Interaction)
History of CHI (Human-Computer Interaction)
 
How to Bring Your Blog to Life
How to Bring Your Blog to LifeHow to Bring Your Blog to Life
How to Bring Your Blog to Life
 
Bring Your Blog to Life
Bring Your Blog to LifeBring Your Blog to Life
Bring Your Blog to Life
 
OpenID DrupalCon 2009
OpenID DrupalCon 2009OpenID DrupalCon 2009
OpenID DrupalCon 2009
 
Palestra no Grupo Sou Java
Palestra no Grupo Sou JavaPalestra no Grupo Sou Java
Palestra no Grupo Sou Java
 
Strategies Tech It Up
Strategies Tech It UpStrategies Tech It Up
Strategies Tech It Up
 
Ruby On Rails Presentation Barcamp Antwerp.Key
Ruby On Rails Presentation Barcamp Antwerp.KeyRuby On Rails Presentation Barcamp Antwerp.Key
Ruby On Rails Presentation Barcamp Antwerp.Key
 
Cloudera Desktop
Cloudera DesktopCloudera Desktop
Cloudera Desktop
 
Grant Makers Network - Social Media
Grant Makers Network - Social MediaGrant Makers Network - Social Media
Grant Makers Network - Social Media
 
Young Activists
Young ActivistsYoung Activists
Young Activists
 
The Craftsman Developer In An Agile World
The Craftsman Developer In An Agile WorldThe Craftsman Developer In An Agile World
The Craftsman Developer In An Agile World
 
Open Source Docs don't have to suck
Open Source Docs don't have to suckOpen Source Docs don't have to suck
Open Source Docs don't have to suck
 

More from Jeff Eaton

Workflow That Works Under Pressure
Workflow That Works Under PressureWorkflow That Works Under Pressure
Workflow That Works Under Pressure
Jeff Eaton
 
Planning Beyond the Page
Planning Beyond the PagePlanning Beyond the Page
Planning Beyond the Page
Jeff Eaton
 
Building Your Agency's Content Strategy Practice
Building Your Agency's Content Strategy PracticeBuilding Your Agency's Content Strategy Practice
Building Your Agency's Content Strategy Practice
Jeff Eaton
 
Prepare for the Mobilacalypse
Prepare for the MobilacalypsePrepare for the Mobilacalypse
Prepare for the Mobilacalypse
Jeff Eaton
 
Building Apis That Rock
Building Apis That RockBuilding Apis That Rock
Building Apis That Rock
Jeff Eaton
 

More from Jeff Eaton (19)

This Is not a Place of Honor
This Is not a Place of HonorThis Is not a Place of Honor
This Is not a Place of Honor
 
An API Won't Fix Your Content Problem
An API Won't Fix Your Content ProblemAn API Won't Fix Your Content Problem
An API Won't Fix Your Content Problem
 
Hello, {{FIRSTNAME}}, My Old Friend
Hello, {{FIRSTNAME}}, My Old FriendHello, {{FIRSTNAME}}, My Old Friend
Hello, {{FIRSTNAME}}, My Old Friend
 
Maps, Models, and Teams
Maps, Models, and TeamsMaps, Models, and Teams
Maps, Models, and Teams
 
Collaborative Content Modeling
Collaborative Content ModelingCollaborative Content Modeling
Collaborative Content Modeling
 
Adventures in Drupal 8
Adventures in Drupal 8Adventures in Drupal 8
Adventures in Drupal 8
 
Modeling Rich Narrative Content
Modeling Rich Narrative ContentModeling Rich Narrative Content
Modeling Rich Narrative Content
 
Battle for the Body Field (DrupalCon)
Battle for the Body Field (DrupalCon)Battle for the Body Field (DrupalCon)
Battle for the Body Field (DrupalCon)
 
The Battle For The Body Field
The Battle For The Body FieldThe Battle For The Body Field
The Battle For The Body Field
 
Workflow That Works Under Pressure
Workflow That Works Under PressureWorkflow That Works Under Pressure
Workflow That Works Under Pressure
 
Planning Beyond the Page
Planning Beyond the PagePlanning Beyond the Page
Planning Beyond the Page
 
Building Your Agency's Content Strategy Practice
Building Your Agency's Content Strategy PracticeBuilding Your Agency's Content Strategy Practice
Building Your Agency's Content Strategy Practice
 
Prepare for the Mobilacalypse
Prepare for the MobilacalypsePrepare for the Mobilacalypse
Prepare for the Mobilacalypse
 
Building Apis That Rock
Building Apis That RockBuilding Apis That Rock
Building Apis That Rock
 
Drupal Deployment
Drupal DeploymentDrupal Deployment
Drupal Deployment
 
Building Twitter in Drupal
Building Twitter in DrupalBuilding Twitter in Drupal
Building Twitter in Drupal
 
O'Reilly Drupal Webcast
O'Reilly Drupal WebcastO'Reilly Drupal Webcast
O'Reilly Drupal Webcast
 
The Future of Nodes
The Future of NodesThe Future of Nodes
The Future of Nodes
 
Form API 3
Form API 3Form API 3
Form API 3
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Recently uploaded (20)

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...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 

Promiscuous Drupal

  • 1. Promiscuous Drupal Imagine a daringly racy subtitle Monday, March 23, 2009
  • 3. this is why we love drupal http://www.flickr.com/photos/herzogbr/2274372747/ Monday, March 23, 2009
  • 4. this is what we make it Monday, March 23, 2009
  • 6. Drupal as one tool among many http://www.flickr.com/photos/ladyada/3039492078/ Monday, March 23, 2009
  • 7. Enlarging the Toolbox* • Spam Filtering (Mollom, Akismet) • Searching/Indexing (Solr, Google, Aquia) • Feed Generation (Feedburner) • Content tagging (Calais, TimesTags) • Authentication (OpenID, etc.) • Sending bulk mail (Mailchimp, etc.) http://www.flickr.com/photos/ladyada/3039492078/ Monday, March 23, 2009
  • 8. Enlarging the Toolbox* Farm out services that... • Benefit from centralization (auth, ads) • Require expertise (bulk mail wrangling) • Demand massive processing or sample data (fast indexing, spam filtering, auto-tagging) http://www.flickr.com/photos/ladyada/3039492078/ Monday, March 23, 2009
  • 11. Takin’ it up a notch • Posting links? Use Delicious. • Shoutbox/short updates? Use Twitter. • Photos and galleries? Use Flickr! • Video? Youtube, Blip.tv, etc. • Reviewing books? Amazon, Goodreads. • Comments? Disqus! • Blogging? Use Wordpress. http://www.flickr.com/photos/mr_diesio/2548025554 Monday, March 23, 2009
  • 12. I… but… my forms! • You will never enter product information as accurately as Amazon. • You will never be as popular as Flickr. • You will never write a Firefox Plugin for Link Field. • You will never enjoy transcoding your own video. http://www.flickr.com/photos/mr_diesio/2548025554 Monday, March 23, 2009
  • 13. Become the crossroads, or enhance native content http://www.flickr.com/photos/sidelong/542906832 Monday, March 23, 2009
  • 14. Become the crossroads, or enhance native Link to content Content http://www.flickr.com/photos/sidelong/542906832 Monday, March 23, 2009
  • 15. When does it work? • Common on social sites • Ever used Facebook? • News sites (CNN, etc.) • Personal Aggregators (FriendFeed, Tumblr) • External content is treated as something that lives out there http://www.flickr.com/photos/sidelong/542906832 Monday, March 23, 2009
  • 16. How can you do it? • Good ol’ aggregator (it’s themable now) • Activity module (it supports views!) • DayLife API, NowPublic’s new service • Native modules (delicious, flick, etc.) http://www.flickr.com/photos/sidelong/542906832 Monday, March 23, 2009
  • 17. Gobble up content Monday, March 23, 2009
  • 18. Gobble up content Use external sources as your primary source Monday, March 23, 2009
  • 19. Does this make sense? • How hardcore are you? • How badly do your content producers hate the node form? • External content is treated as something that lives in here. • Drupal becomes a presentation engine • Drupal becomes a… mashup? Monday, March 23, 2009
  • 20. How the..? • Native modules • FeedAPI + Feed Element Mapper • Nodes become flexible wrappers • Lay your own pipes (we’ll see this later) Monday, March 23, 2009
  • 21. Drupal PHP Apache MySQL Operating System Monday, March 23, 2009
  • 22. Flickr Drupal Delicious PHP Google Apache MySQL Stuff Operating System Monday, March 23, 2009
  • 23. Flickr Delicious Google Drupal Stuff Amazon Monday, March 23, 2009
  • 24. Flickr Delicious Google Drupal Stuff Amazon Monday, March 23, 2009
  • 25. Are you insane? http://www.flickr.com/photos/beaub/2424695862/ Monday, March 23, 2009
  • 26. Maybe a little insane • Filtering the firehose (tagging helps) • Importing the Internet • 8192 auth methods (OAuth helps?) • Even Amazon goes down. • Magnolia (moment of silence) http://www.flickr.com/photos/beaub/2424695862/ Monday, March 23, 2009
  • 27. Yeah, kind of insane. • Congratulations! You’re an integration specialist! • How much do you trust the Internet? • You can’t form_alter someone else’s site. • You’re assembling data streams instead of modules. http://www.flickr.com/photos/beaub/2424695862/ Monday, March 23, 2009
  • 29. Rolling your own integration Monday, March 23, 2009
  • 30. Doing it with Drupal • drupal_http_request() • PHP 5 - SimpleXML & JSON • drupal_write_record() • Expose your tables via Views • Wrap local vs. remote • (See “Building APIs That Rock”) Monday, March 23, 2009
  • 31. If you release it... • Support the full API (or as much as you can) • Fail gracefully • Don’t force data into nodes • Cache data whenever you can • Don’t write a SQL query builder • PHPDoc, PHPDoc, PHPDoc! Monday, March 23, 2009
  • 32. Don’t forget… • Respect API policies (Limits, Caching) • Don’t trust the data you get back • There are cutting-edge options • Custom Views queries (Flickr?) • In Drupal 7, remote fields • NowPublic’s Aggregation system Monday, March 23, 2009
  • 33. Leveraging our Synergy • Drupal is a great tool • Its strengths can be weaknesses • Outsource services • Drupal can be a mixer • If you roll your own, think ahead Monday, March 23, 2009

Editor's Notes

  1. I got started in Drupal 'cause it was very flexible, lots of stuff in one integrated package.. Wanted a blog that had wiki links that had image galleries and timelines and… While other systems integrated, Drupal emphasized native systems and interconnections The dark side: Not Invented Here syndrome. If it’s not made of nodes, it’s unclean!
  2. This is what it can produce. Talked to a client building a web app, data warehouse with drupal with firefox plugin. They listened to the community, heard “Build it in Drupal: CCK, Nodes, Views!” “OK, we’re trying to figure out how to do that and scale it to a billion or so records.
  3. We need to see Drupal as one tool in a big toolbox The LAMP stack is already designed this way! We’re used to some things, like memcached, analytics, heck -- the database! Web services and web APIs are starting to fill important roles, too. Spam protection? Advertising?
  4. Lots of people, lots of sites, are starting to rely on these services. These aren’t controversial, and there are big wins.
  5. Lots of people, lots of sites, are starting to rely on these services. These aren’t controversial, and there are big wins This is the first step: Drupal supported by services