AEM with React or Angular 4 | Community
Skip to main content
Level 2
Jul 9, 2018 8:03 AM UTC
Solved

AEM with React or Angular 4

We are planning to migrate existing AEM + AngularJS into new JS technologies like React or Angular 4. But both of these are server side rendering technologies.

We tried searching to find any official document to support one of these technologies with AEM.

Can any one suggest/guide us what is the way of integrating AEM with Angular 4/React?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Ratna_Kumar
Ratna_KumarAccepted solution
Level 10
Jul 9, 2018 2:35 PM UTC

Hi,

You can check this blog for your reference of integrating AEM with Angular 4

http://keysandstrokes.info/integrate-aem-6-2-angular-24/

Also there are some using links in this forum thread too: Angular 2/4 with AEM

Hope this helps!!

Thanks,

Ratna Kumar.

6 replies

joerghoh
Employee
Jul 13, 2018 4:23 PM UTC

You can run Angular or React or any other client-side framework with any kind of backend technology (that mean without using a Node-based backend).

And there is no single best option; only options which better suit your requirements than others. But that is something we cannot decide for you.

regards,

Jörg

Translate
Level 2
Jul 11, 2018 12:54 PM UTC

Hi Jörg Hoh

Thanks for your reply.

I am still learning and trying to understand more about Angular and React. I was thinking that it requires some kind of Node js or some other kind of Javascript engine running on server side, please correct me if i am wrong.

Any idea if we have to compare Angular+AEM vs Angular+React, which one is the best option to go with?

Please point me if you have some POC having some components in any combination.

Thanks in Advance.

Anil Kumar.

Translate
Level 2
Jul 11, 2018 12:40 PM UTC

Hi @Ratna Kumar,

Thank you so much for your reply.

I went through the link you provided, which has integrating angular 2 in AEM, I don't see any download link in it.

I am actually looking further to it like components creation, dialog parameters reading.  etc.

I also would like to understand which one is better option for AEM to integrate with ...Anguar/React?

Translate
joerghoh
Employee
Jul 9, 2018 9:01 PM UTC

Both Angular and React are not server-side technologies in the first place. You can have server-side aspects, that's true. Both of them work fine in the combination of HTL/Sling models on the server-side plus the respective JS framework in the browser.

Running React code within AEM is possible, but at the moment there is no product support for it (you need to build it on your own).

Jörg

Translate
smacdonald2008
Level 10
Jul 9, 2018 2:39 PM UTC

Great answer Ratna!

Translate
Ratna_Kumar
Ratna_KumarAccepted solution
Level 10
Jul 9, 2018 2:35 PM UTC

Hi,

You can check this blog for your reference of integrating AEM with Angular 4

http://keysandstrokes.info/integrate-aem-6-2-angular-24/

Also there are some using links in this forum thread too: Angular 2/4 with AEM

Hope this helps!!

Thanks,

Ratna Kumar.

Translate