GoogleDocs on Plone

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    3 Favorites

    GoogleDocs on Plone - Presentation Transcript

    1. Integration of Google Docs service in Plone Federica D'Elia - [email_address] Massimo Azzolini - [email_address]
    2. GDIP: Google Docs service In Plone GDIP allows Plone users to store their documents on Google servers instead of ZODB
      • Documents are kept on Google servers
        • No more backups or ZODB size growth problems!!!
      • Users can access their documents both from the Plone application and from their Google Docs account
      • Automatic setup of sharing settings on Google documents according to user roles of the Plone application
      • Integrates Google Docs-based support for collaborative editing in Plone
    3. System Architecture
      • GDIP is realized by four components:
        • Google System Storage (GSS)
        • Google Authentication (GA)
        • Google Sharing (GS)
        • Google Modify Content (GMC)
      • The GSS, GA, GS, and GMC components take advantage of the gdata-python library to access Google Docs service
      • The Google Documents List data API allows web applications to interact with Google Docs
      • The gdata-python library provides access to the Google Data APIs through classes and methods for constructing queries and using response data
      • 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
    4. Google System Storage
      • GSS saves the document types supported by the Google Docs service on the Google servers, while storing all the other files in the local filesystem
      • User can access their documents both from the Plone application and from their Google account
    5. Access The Plone user can access his document Doc.odt from the Plone application and....
    6. Access ...and from his Google account
    7. GSS
      • GSS is an extension of File System Storage
      • The GoogleSystemStorage class of googlesystemstorage changes set and get methods from the FileSystemStorage class of FSS
    8. Set method
      • The set method saves the document files in the local filesystem
      • If the file type corresponds to one of those supported by Google Docs set uploads the file on Google servers and removes the local copy of the file from the filesyste m
    9.  
    10. Get method
      • The get method takes care of returning the requested documents to Plone users
      • get checks whether the file is stored on Google servers instead of the local filesystem, and in this case downloads the file from Google Docs
    11.  
    12. Google Authentication
      • GA takes care of the user authentication upon Google Docs service, so that the Plone application can access the documents stored on Google servers
        • GA completes the authentication procedure for Web applications provided by Google Docs
        • The procedure allows Web applications to authenticate users through their Google accounts
    13. 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
    14. Authentication token
      • If the user grants access, he is pointed again to the Plone application
      • The URL of the last redirection embeds an authentication token which allows the Plone application to access the user's documents on Google servers for the following requests
    15. Authentication Procedure
    16. The attribute google_token
      • GA initiates the authentication procedure immediately after the user has logged into the Plone application
      • The procedure will be executed just once. When the Plone application obtains the authentication token, it will store it as an attribute, go ogle_token , in the user profile
    17. Google Sharing
      • GS manages document sharing attributes and their synchronization from the Plone application to Google Docs service
        • For each document a role change performed in the Plone application corresponds to an equivalent role change on the Google Docs service
        • 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
    18. Role change The Plone user assigns the Editor role on the Doc.odt document to user Mario Rossi...
    19. Role change ...Mario Rossi will then be able to read and modify that document through his Google account
    20. Beware
      • GS doesn't manage permissions but roles!
        • Possible problem for documents with changing state
      • Support for document workflow still to be implemented
      • GS doesn't manage changes on the Gdocs side.
    21. Google Modify Content
      • GMC allows Plone users to edit their documents directly from the Google Docs application, discovering the specific URL of the Google Docs document function and embedding that page in the current window of the Plone application
      • GMC extends the Plone content Edit function by adding the GoogleModify operation. GMC embeds the Google Docs application inside the GoogleModify panel
    22. GoogleModify panel
    23. iframe A new view, called by GoogleModify, 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:
    24. Collaborative editing The user Federica can edit a shared document from the GoogleModify panel...
    25. ...thus collaborating with Mario Rossi who is working on the same document directly from the Google Docs application Collaborative editing
    26. The end
      • So, you can:
        • Add a document
        • Manage it in both plone and gdocs
        • Change permissions
        • Have collaborative editing
      • More or less :)
        • Things to be done
        • gdata-python not so “stable” (eg. xxx.ods)
    27. Infos: Questions?! Federica D'Elia - [email_address] Massimo Azzolini - [email_address] Code soon on Collective!

    + Massimo AzzoliniMassimo Azzolini, 6 months ago

    custom

    750 views, 3 favs, 0 embeds more stats

    These slide has been presented by me at the europea more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 750
      • 750 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 3
    • Downloads 6
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories