Ontopia / Liferay integration
Upcoming SlideShare
Loading in...5
×
 

Ontopia / Liferay integration

on

  • 3,148 views

Slides about the status of the integration and the approaches used.

Slides about the status of the integration and the approaches used.

Statistics

Views

Total Views
3,148
Views on SlideShare
2,620
Embed Views
528

Actions

Likes
2
Downloads
48
Comments
0

6 Embeds 528

http://ontopia.wordpress.com 421
http://www.matthiasfischer.name 84
http://www.slideshare.net 13
http://www.topicmapslab.de 8
http://translate.googleusercontent.com 1
url_unknown 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Ontopia / Liferay integration Ontopia / Liferay integration Presentation Transcript

  • Liferay & Ontopia
    • BouvetOne - Matthias Fischer
    • [email_address]
  • whoami
    • Matthias Fischer
    • Undergrad cs student at HTW-Berlin, DE
    • Here for an intership for 3 months in total
    • Thanks for having me here :)
  • What is this about?
    • Liferay Portal is an OpenSource Portal Sw
    • Ontopia is an OpenSource TM-Engine
    • Benefit: Semantically annotated meta-data!
    • Having a Portal featuring Topic Maps
    • or Topic Maps featuring a Portal :)
  • What‘s needed?
    • A mapping from Liferay‘s concepts to topics.
    • An ontology for Liferay‘s concepts.
    • Trigger insert/update/delete within the tm automagically whenever changes in liferay occur.
  • Integration Liferay Integration Ontopia Model Object Topic New
  • Advancements
    • [x] Basic data integration (CRUD for things like WebContent, Wikis, Users, etc.).
    • [ ] Integration of Ontopoly as part of the liferay ui for creating and editing.
    • [ ] Integration of information from the topicmap into Liferay Portal (,related articles‘ etc.).
  • Liferay Portal
      • How do we learn news from the portal?
        • Using the Plugins-SDK enables you to create hooks.
        • Hooks can listen to changes in the model of Liferay.
        • Implement ModelListener Interface or extend BaseModelListener.
  • Liferay Portal
    • Use „portal-ext.properties“ file to say to which changes in the model you listen to
    • You are being provided w/ Java objects
  • Identity
    • How do we identify Liferay‘s objects in tm?
      • Most objects in Liferay can be identified by UUIDs.
      • These in turn can be transformed into URNs and can hence serve as SIs.
      • see RFC 4122
      • The short story is: „urn:uuid:“ + uuid
  • Ontology
    • Represents Liferays structure in a topicmap
    • Contains classes for:
      • WebContent, Users, Communities, Wikis .....
    • Contains appropriate association types for:
      • parent-child, contains, created_by, has_workflow_state ....
  • Ontology created by is about contains has workflow state WebContent Article WikiNode WikiPage User Group Community Category Workflow State contains Automatically created in Ontopia by the Liferay integration Site-specific ontology Person Project Company
  • Create/Update/Delete
    • Using tolog to modify topicmaps
    • Datalog like language for querying and updating topicmaps
    • Faster (and shorter) than using the APIs
    • String query = "using lr for i"" + PSI_PREFIX + "" " + "insert lr:parent-child( lr:parent : " + parentUrn + ", lr:child : " + childUrn +" )";
  • Update with TmSync
    • To be found in:
      • net.ontopia.topicmaps.utils.TopicMapSynchronizer
    • Used to synchronize topicmaps
    • Used in updates in the integration
    • General idea: Create updated topic in empty tm, then sync it with existing tm.
  • Screenshots Using liferay's control panel to add communities and content
  • Screenshots Using ontopoly to show the effects of things done in liferay to the topicmap
  • Screenshots create a community for our content
  • Screenshots and see the community showing up in ontopoly
  • Screenshots now we are switching to our community and add webcontent
  • Screenshots and see it showing up in ontopoly
  • Screenshots we can now add some more information if we wish (approval, expiry date etc.)
  • Screenshots and finally view it by clicking „edit“ and „Show in ontopoly“ (has become an embedded iFrame in the meantime)
  • Fin
    • Thank you for attending this talk!
    • Have a nice day :-)