If you can't read please download the document
Upload
massimo-azzolini
View
2.470
Download
0
Embed Size (px)
DESCRIPTION
These slide has been presented by me at the european plone symposium's sprint 2009. The original author is Federica D'Elia, I just review it.
Citation preview
2. GDIP: Google Docs service In Plone GDIP allows Plone users to store their documents on Google servers instead of ZODB
3. Automatic setup of sharing settings on Google documents according to user roles of the Plone application 4. Integrates Google Docs-based support for collaborative editing in Plone 5. System Architecture
6. Google Authentication (GA) 7. Google Sharing (GS) 8. Google Modify Content (GMC)
9.
10. The gdata-python library provides access to the Google Data APIs through classes and methods for constructing queries and using response data 11. GDIP uses methods provided by gdata-python library for uploading, downloading, deleting documents on Google servers, querying for a list of documents, and modifying document sharing permissions Google API 12. Google System Storage
13. Access The Plone user can access his document Doc.odt from the Plone application and.... 14. Access ...and from his Google account 15. GSS
16. Set method
17. 18. Get method
19. 20. Google Authentication
21. The procedure allows Web applications to authenticate users through their Google accounts 22. Authentication Procedure The Plone user is redirected to a Google page that invites him to insert his credentials Once he logs in with his Google account, the user is asked to authorize the Plone application to access his documents 23. Authentication token
24. Authentication Procedure 25. The attribute google_token
26. Google Sharing
27. For example, if a Plone user assigns another user the Editor role on one of his documents, the other user will be able to read and modify that document through his Google account 28. Role change The Plone user assigns the Editor role on the Doc.odt document to user Mario Rossi... 29. Role change ...Mario Rossi will then be able to read and modify that document through his Google account 30. Beware
Support for document workflow still to be implemented 31. GS doesn't manage changes on the Gdocs side. 32. Google Modify Content
33. GoogleModifypanel 34. iframe A new view, called byGoogleModify,discovers the specific URL of the Google Docs document function and embeds that page in the current window of the Plone application exploiting the iframe mechanism.New view template: 35. Collaborative editing The user Federica can edit a shared document from theGoogleModifypanel... 36. ...thus collaborating with Mario Rossi who is working on the same document directly from the Google Docs application Collaborative editing 37. The end
38. Manage it in both plone and gdocs 39. Change permissions 40. Have collaborative editing More or less :)
41. gdata-python not so stable (eg. xxx.ods) 42. Infos: Questions?! Federica D'Elia -[email_address] Massimo Azzolini -[email_address] Code soon on Collective!