Expand my Community achievements bar.

SOLVED

Lazybones structure

Avatar

Level 2

Hi,

Is it necessary/recommended to structure entire code base (config, osgi services & components, wcmuse classes) inside lazybones structure i.e. ui.apps and core only? or we can expand beyond these two packages as per need and create additional packages/bundles?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 7

it is recommended to structure entire code base (config, osgi services & components, wcmuse classes) inside lazybones structure i.e. ui.apps and core. As we have a predefined template that we are using for creating the project in aem. It has option to create only two packages  ui.apps and core. Once project is created you can create addition packages as per your need.

If you want that lazybone template give you additional optional to create extra package . Then in that case you have to write custom lazybone template.

For more information on lazybone you can visit http://www.aemcq5tutorials.com/tutorials/create-aem-project-structure-using-lazybones/ 

View solution in original post

2 Replies

Avatar

Level 10

Lazybones simply gives you a starting point. You can build upon that as you see fit.

Avatar

Correct answer by
Level 7

it is recommended to structure entire code base (config, osgi services & components, wcmuse classes) inside lazybones structure i.e. ui.apps and core. As we have a predefined template that we are using for creating the project in aem. It has option to create only two packages  ui.apps and core. Once project is created you can create addition packages as per your need.

If you want that lazybone template give you additional optional to create extra package . Then in that case you have to write custom lazybone template.

For more information on lazybone you can visit http://www.aemcq5tutorials.com/tutorials/create-aem-project-structure-using-lazybones/