The document discusses extending the Digital Factory with new features including Spring Data & Spring Framework for connecting to social networks and NoSQL databases. Key points include using OSGi modules to connect to social networks and services, defining social network rules, and demonstrations of sending tweets and messaging between friends using Neo4J, Redis, MongoDB with Spring Data and Atmosphere.
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. 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. 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. What to do with it
Demonstration
Social network
services
Twitter
LinkedIN
Facebook
OSGi
Facebook
Twitter
Social network rules
Digital Factory
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
11. MongoDB
● JSON Type Document
● Document are stored by Collections (~tables)
● Specialized Indexes (Geospatial, etc.)
● GridFS (File storage)
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. What to do with it
Demonstration
Spring Data
Connectors
User Activity
OSGi
MongoDB
Neo4J
Redis
Digital Factory
User Graph
Friend Messaging
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. Architecture
● Use 4 modules (data-connector, user-graph, useractivity, friend-messaging)
● Data-connector exposes DB connections
● User-graph maintains the relations between users
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