Expand my Community achievements bar.

Who Me Too'd this topic

Avatar

Level 2

Hi All,

I've self learned about AEM 6.0 for a month and did some exercises, but they are mostly related to design/manage/author a page and how to make it look "nice", and I still feeling some obstacles to solve the actual requirement (the training material and video did not introduce the interactions between frontend and backend).

Suppose I've two pages: 1) Product page; 2) MyCart page.

In Product.html, after I select the interested products in Product page and click "go to my cart" link, it should show MyCart.html, and there are all products information (product name, price, etc) that I selected showed on that page.

The problem is, 1) Where and how should I store the product information? 2) How do I retrieve these information when I need?

If the backend is SQL database, I will design a table and write SQL statement to store/retrieve, but in AEM, I really did not know how to start this kind of design (that is, store the product info into a product object and store somewhere, and retrieve them when I need)... the backend is a content repository...

 

I know there are existing components available in AEM (commerce components) but they are too complex to me, here I just would like to try creating such kind of logic myself.

So... can someone give me a few hints, or useful articles for me to read/refer? Thanks a lot.

Who Me Too'd this topic