JahiaOne - Extending Jahia7 with NoSQL. Demos and Showcases


Published on

Jahia is a versatile platform, extensible through modules even to implement highly complex business needs. This session demonstrates how NoSQL DB can be used with Jahia to deliver advanced features like on-line presence and social network relations.

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

JahiaOne - Extending Jahia7 with NoSQL. Demos and Showcases

  1. 1. Extending Digital Factory Extend Digital Factory with Spring Data & Spring Framework © 2002 - 2014 Jahia Solutions Group SA
  2. 2. Spring social ●  Allow connections to S-a-a-S like Facebook, Twitter, LinkedIn. ●  OSGI modules allows to provide connections to those social networks as services ●  Modules can reuse those connections to access those networks API
  3. 3. Service Connections ●  Jahia 7 will allow you to register connections to social networks. ●  Connections are persisted in the JCR ●  Connections are on a per site level ●  Ease access to social network api
  4. 4. Social API ●  Get your network API from the connectors (Facebook, Twitter, etc) ●  Use it to retrieve information from the network or to publish/update links/news/status
  5. 5. What to do with it Demonstration Social network services Twitter LinkedIN Facebook OSGi Facebook Twitter Social network rules Digital Factory
  6. 6. Social rule service ●  Easy to define a module that will provide rules to send updates on social networks ●  Following the same ideas it will be possible to register user in Jahia through their facebook/twitter account
  7. 7. Demo Send a tweet using social service connector and rule service
  8. 8. NoSQL ●  Highly specialized DB (Graph, Map/List, Document) ●  High Scalability ●  No Schema
  9. 9. Neo4J GraphDB
  10. 10. Redis
  11. 11. MongoDB ●  JSON Type Document ●  Document are stored by Collections (~tables) ●  Specialized Indexes (Geospatial, etc.) ●  GridFS (File storage)
  12. 12. Spring Data ●  Connection to different type of DB, no common framework like in Spring Social ●  Jahia 7 allows to define Spring Data connection at the server level ●  Neo4j, Redis and MongoDB are supported for now, plans for Hadoop and GemFire
  13. 13. What to do with it Demonstration Spring Data Connectors User Activity OSGi MongoDB Neo4J Redis Digital Factory User Graph Friend Messaging
  14. 14. Atmosphere ●  Asynchronous web ●  Broadcast to connected users
  15. 15. Friend to Friend Messaging ●  Use Neo4J for the graph of friends ●  Use redis for message archive and online presence ●  Use atmosphere for broadcasting messages from one user to another
  16. 16. Architecture ●  Use 4 modules (data-connector, user-graph, useractivity, friend-messaging) ●  Data-connector exposes DB connections ●  User-graph maintains the relations between users
  17. 17. Architecture ●  User activity opens and maintains a broadcaster for each user ●  Friend messaging use all modules to create a chat between friends, with archiving of messages and realtime chat