Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

What is the best way to implement leaderboard in JCR?

Adilmo
Level 4
Level 4

What is the best way to implement leaderboard in JCR? 

 

Is there a reference implementation available?

JCR leaderboard querybuilder
1 Accepted Solution
BrianKasingli
Correct answer by
Community Advisor
Community Advisor

@Adilmo 

If you plan to create your own leader board it would be a bunch of work. You would need front-end developers, back-end developers, and also an AEM architect. The front-end developers will focus on the aesthetics & business logic of how the leader board looks like which will be presented to the users via a JavaScript application. The backend developers will need to create API's exported in JSON for the JS application to consume. And lastly, the AEM architect may be involved in planning out what data will be considered to rank each member in your site while working with the business objectives. This can be is a labor-intensive job, but depending on what the requirements are.

 

If you are on a budget and a JS application is not an option, then you can use Jquery with DataTables, https://datatables.net, and a couple of custom servlets. 

 

What kind of leadership data are you showing? User Data? Stack Exchange Data?

How are you planning to access this custom leadership board? Password Protected Area? Public (publish environment)? Author environment?

 

However, Adobe has a product that is called AEM communities, which is an AEM addon, the out of the box features should have what it takes to get you started. https://experienceleague.adobe.com/docs/experience-manager-65/communities/administer/implementing-sc...

 

View solution in original post

5 Replies
Adilmo
Level 4
Level 4
thanks vijayalakshmi .... We would like to implement this in a generic way not just for user profiles. Is this component open source ?? We would like to understand the underlying data structure used to track leaderboard scores.
BrianKasingli
Correct answer by
Community Advisor
Community Advisor

@Adilmo 

If you plan to create your own leader board it would be a bunch of work. You would need front-end developers, back-end developers, and also an AEM architect. The front-end developers will focus on the aesthetics & business logic of how the leader board looks like which will be presented to the users via a JavaScript application. The backend developers will need to create API's exported in JSON for the JS application to consume. And lastly, the AEM architect may be involved in planning out what data will be considered to rank each member in your site while working with the business objectives. This can be is a labor-intensive job, but depending on what the requirements are.

 

If you are on a budget and a JS application is not an option, then you can use Jquery with DataTables, https://datatables.net, and a couple of custom servlets. 

 

What kind of leadership data are you showing? User Data? Stack Exchange Data?

How are you planning to access this custom leadership board? Password Protected Area? Public (publish environment)? Author environment?

 

However, Adobe has a product that is called AEM communities, which is an AEM addon, the out of the box features should have what it takes to get you started. https://experienceleague.adobe.com/docs/experience-manager-65/communities/administer/implementing-sc...

 

View solution in original post

Adilmo
Level 4
Level 4
We are just trying to show most frequent searched terms in aem... Just want to understand if there is a way to implement sortedsets in jcr...