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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Suggestion required from experts

arnab26
Level 2
Level 2

Hi All,

I need a suggestion from AEM experts. We are working on ecommerce development. We have integrated AEM5.6.1 with Hyris, using custom java REST API's. 

Now we are planning to migrate this from AEM5.6.1 to AEM6.1 (jsp to sightly). Can someone please suggest whether this will be feasible approach to migrate this kind of dynamic website where almost each line will have a call to API methods for content rendering.

 

Thanks,

1 Accepted Solution
Jörg_Hoh
Correct answer by
Employee
Employee

Hi,

Migrating to sightly isn't a problem per se, be it a very dynamic or a static site. It just enforces a strong separation of concerns between the markup creation (by sightly) and the model/the logic (probably implemented using sling models). And that's always a good idea.

kind regards,
Jörg

View solution in original post

0 Replies
Lokesh_Shivalingaiah
Community Advisor
Community Advisor

If your current application is already built in AEM, nothing wrong in upgrading the version !

edubey
Level 10
Level 10
Its good to have the components in sightly, taking the overall consumption of time it will be easy for the project maintenance as well for the UI development. Custom xtype are independent of JSP or sightly so there won't be any effect. Now the time it will consume to convert into sightly totally depend upon you and your development team.
Jörg_Hoh
Correct answer by
Employee
Employee

Hi,

Migrating to sightly isn't a problem per se, be it a very dynamic or a static site. It just enforces a strong separation of concerns between the markup creation (by sightly) and the model/the logic (probably implemented using sling models). And that's always a good idea.

kind regards,
Jörg

smacdonald2008
Level 10
Level 10

You are on the correct path - you can port these components to Sightly. In AEM 6.1 - you can use either JSP or Sightly. It supports both ways for component development. 

arnab26
Level 2
Level 2

Thanks.

The environment is already upgraded to AEM6.1 from AEM5.6.1. I wanted to know whether this is a good thought to migrate all components into sightly. Keeping in mind "How much time consuming this will be?", "Is it good to have such kind of dynamic website in sightly?, "Will all functionality work?(such as custom xtypes)?

 

Regards,

Arnab

Lokesh_Shivalingaiah
Community Advisor
Community Advisor

Hi Arnab,

2 different things here..

Sightly : Is the templating engine and it just controls the view script. So even without changing it from jsp to sightly it works as is and going forward any new components can happen in sightly. However, it is good to migrate slowly to sightly to be on safe if the backward compatibility is removed in future versions of AEM. 

Xtypes: xtypes really belong to 'dialog' and unless you want to support Touch UI dialog, you dont have to worry about custom xtypes. If you have to create Touch UI dialogs, then you may have to do some rework there.

Both things are not mandatory with the upgrade. Its upto the requirement/business what needs or if you would like to use the new features !

 

Hope it helps !

arnab26
Level 2
Level 2

Thanks.

The environment is already upgraded to AEM6.1 from AEM5.6.1. I wanted to know whether this is a good thought to migrate all components into sightly. Keeping in mind "How much time consuming this will be?", "Is it good to have such kind of dynamic website in sightly?, "Will all functionality work?(such as custom xtypes)?

 

Regards,

Arnab

smacdonald2008
Level 10
Level 10

Its not required to write component in Sightly when using AEM 6.1. JSP is fully supported.