Interoperability betweendrupalandgoogleapps

8

Click here to load reader

description

Interoperability Between Drupal and Google Apps

Transcript of Interoperability betweendrupalandgoogleapps

Page 1: Interoperability betweendrupalandgoogleapps

Interoperability between Drupaland Google Apps

Kayode OdeyemiTechnical Director, Opevel

DrupalCamp Lagos 2010

Page 2: Interoperability betweendrupalandgoogleapps

Google Apps

• Google’s Enterprise Solution

• Consists of Google Docs, Google Sites, Google Groups, Google Calendar, Gmail and Postini.

• All services can be extended programmatically using Google Data API

Page 3: Interoperability betweendrupalandgoogleapps

Extending Google Apps: Google Data APIs

• Google Data APIs is made up of Google Docs API, Google Calendar API, Google SpeadsheetAPI, Google Contacts, Google YouTube, Google Health et cetera

• Use any platform you are familiar with. i.eJava, PHP, Python, .NET

Page 4: Interoperability betweendrupalandgoogleapps

How it works – using ZendGData

Using Gdata PHP Client Library

//Initialize by Form HTTP Client Authentication – Preferred for Desktop application

function getGoogleLoginHttpClient($user, $pass)

{

$service = Zend_Gdata_Docs::AUTH_SERVICE_NAME;

$client = Zend_Gdata_ClientLogin::getHttpClient($user, $pass, $service);

return $client;

… //retrieve content based on Google Services

}

//Initialize by AUTHSUB – Preferred for web applications

function getGoogleAccessByAuthSub() {

$service = Zend_Gdata_Contacts::AUTH_SERVICE_NAME;

$client = Zend_Gdata_ClientLogin::getHttpClient($user, $pass, $service);

return $client;

… … //retrieve content based on Google Services

}

Page 5: Interoperability betweendrupalandgoogleapps

Grupal: Drupal Interface to Google Apps

What you can do

• Creating users in Google Apps when created in Drupal(suspended or enabled)

• Suspending users in Google Apps when blocked in Drupal

• Synchronising passwords in Google Apps when updated in Drupal

• Suspending or deleting users in Google Apps when deleted in Drupal

• Integrated Single Sign On (SSO)

Page 6: Interoperability betweendrupalandgoogleapps

Grupal: Drupal Interface to Google Apps

What you cannot do yet

• Doesn’t support Google Sites yet

• No release version yet for Google Contacts

Page 7: Interoperability betweendrupalandgoogleapps

More quality integration of Drupal with Google Services

• Sheetnode – Import Google Speadsheet directly into Drupal. Also supports ODS Standard Document format as well as Microsoft Excel.

• Google Analytics Module – Monitor your Drupalsite traffic with Google Analytics

• GMaps – Expose your Drupal site to Google Maps

Page 8: Interoperability betweendrupalandgoogleapps

CONTACT OPEVEL

• For more information, please visit

– www.opevel.com

• Contact us

[email protected], [email protected]

• Socialize with us on Facebook and Twitter

– http://www.facebook.com/pages/Opevel/341324709251?ref=mf

– http://twitter.com/opevel