jahiaone 2015 - building high-performance user experiences with digital factory
TRANSCRIPT
Building high-performance user experiences with Digital Factory
By Rizak AHMED
© 2002 - 2015 Jahia Solutions Group SA
Presentation goal
Expose a best practice for :
Dealing with performance constraints
© 2002 - 2015 Jahia Solutions Group SA
Presentation goal
Expose a best practice for :
Dealing with performance constraints Avoiding high frequency data storage
© 2002 - 2015 Jahia Solutions Group SA
Summary
The constraintsThe first thoughtsThe tracking moduleUsage examplesConclusion
© 2002 - 2015 Jahia Solutions Group SA
Summary
The constraintsThe first thoughtsThe tracking moduleUsage examplesConclusion
© 2002 - 2015 Jahia Solutions Group SA
Track user data and save it to JCR
Modify the data all along user navigation
Have a minimum impact on the server performance
Do not impact user navigation time
© 2002 - 2015 Jahia Solutions Group SA
The constraintsThe constraintsThe first thoughtsThe tracking moduleUsage examplesConclusion
Save data from Digital factory server side
Using filters on each page
Using Rest API and ajax
© 2002 - 2015 Jahia Solutions Group SA
The first thoughtsThe constraintsThe first thoughtsThe tracking moduleUsage examplesConclusion
Respect all defined constraints
© 2002 - 2015 Jahia Solutions Group SA
The tracking moduleThe constraintsThe first thoughtsThe tracking moduleUsage examplesConclusion
Respect all defined constraints
Think out of the box
© 2002 - 2015 Jahia Solutions Group SA
The tracking moduleThe constraintsThe first thoughtsThe tracking moduleUsage examplesConclusion
Use a non JCR scope (session scope)
Listen to session events
© 2002 - 2015 Jahia Solutions Group SA
The tracking moduleThe constraintsThe first thoughtsThe tracking moduleUsage examplesConclusion
© 2002 - 2015 Jahia Solutions Group SA
Tracking event ListenerThe constraintsThe first thoughtsThe tracking moduleUsage examplesConclusion
Listen to session events
Call tracking service to get JCR data
Schedule store Job
© 2002 - 2015 Jahia Solutions Group SA
Tracking Storage jobThe constraintsThe first thoughtsThe tracking moduleUsage examplesConclusion
Sent to Jahia Scheduler pile
Call tracking service to write in JCR
Convert data from/to JCR node
Read/Write data in JCR
© 2002 - 2015 Jahia Solutions Group SA
Tracking serviceThe constraintsThe first thoughtsThe tracking moduleUsage examplesConclusion
Session creation flow
Digital Factory TrackingEventListener
session creation
User data in JCR
TrackingService
Tracking data
The constraintsThe first thoughtsThe tracking moduleUsage examplesConclusion
Session destruction flow
Digital Factory TrackingEventListener
session destroy
TrackingService
schedule job
save tracking data
Jahia Scheduler
The constraintsThe first thoughtsThe tracking moduleUsage examplesConclusion
© 2002 - 2015 Jahia Solutions Group SA
Usage examples
Personalize navigation on navigation context
Mobile network operator
Propose international plan to customers
The constraintsThe first thoughtsThe tracking moduleUsage examplesConclusion
© 2002 - 2015 Jahia Solutions Group SA
Conclusion
Factorise JCR calls
Use Non Jcr scope
The constraintsThe first thoughtsThe tracking moduleUsage examplesConclusion