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

what is the recommended way to create component and dialogs

Avatar

Level 4

Hi Experts,

Please let us know what is the best way to create a component.

 

1> Creating in crx/de and make a paclage out of it , unzip the same and push to the local IDE(eclipse or intellij).

2> Creating in crx/de and pull the changes to local IDE using file vault.

3> Creating directly in IDE.

 

Also, please let us know which is the best IDE set up for aem development.

 

Thanks!

1 Accepted Solution

Avatar

Correct answer by
Level 9
3 Replies

Avatar

Community Advisor

Hi @ganeshbyale ,

 

  1. Creating in crx/de and make a paclage out of it , unzip the same and push to the local IDE(eclipse or intellij). -  This is the best way to create dialogs & components if you are using Eclipse as the AEM Sync which imports through vault sometimes gives issues.
  2. Creating in crx/de and pull the changes to local IDE using file vault. - Go for this is you're using IntelliJ, I have never encountered any issues with the AEM plugin for IntelliJ.
  3. Creating directly in IDE. - This way is a little prone to errors as we may need to pass encoded values for many characters which we may miss sometimes. Example : "<" as a value needs to be encoded in content.xml.

There is no best IDE setup for any type development in my opinion. All depends on how you prefer to develop.

Here are my suggestions:

  • Fastest : Visual Studio Code ( lots of plugins [ for all languages & tools ], very lightweight, very good git support through plugin [GitLens] )
  • Most Reliable : IntelliJ Idea (heavy, but contains almost everything you need to do with AEM development)
  • Eclipse : Not that heavy , you can install plugins for some of the AEM development, very wide language support.

Avatar

Correct answer by
Level 9