Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Where to store custom data on my application?

Avatar

Level 3

Hello everyone,

 

Simples doubt here, my custom data (like products, custom customer info like some preferences about the application, etc.) should be stored where on the JCR?

To start with, I think about /content or /etc, maybe /etc makes more sense, as in /content there is user  content  created by the wcm/sites/interaction with cms mechanics or input via components.

Is there some best practice about this?

I'm talking about a PhoneGap App, just to share.

 

Thanks very much,

Matheus Barreto.

1 Accepted Solution

Avatar

Correct answer by
Level 9
3 Replies

Avatar

Correct answer by
Level 9

Please review following article of a sample persistant data. 

http://helpx.adobe.com/experience-manager/using/persisting-cq-data-java-content1.html

Avatar

Level 10

In addition to that article that Mshajiahmed pointed out - it is strongly recommended that you read this one:

http://docs.adobe.com/docs/en/cq/current/developing/chap_data_modelling.html

Avatar

Level 3

Amazing, thank you guys, doing the reading and will mark as correct as soon as I end it.