generator-alfresco
generator-alfresco copied to clipboard
create sub-generator to assist with bootstrapping
Even though the following focuses on using the patch service, I feel pretty strongly that we should be using module components. So whoever takes this on, we should discuss (and probably validate with @gravitonian and/or @ohej.)
http://docs.alfresco.com/5.1/references/dev-extension-points-bootstrap.html
My rational briefly (sorry even though I'm trying to be brief, I'm a wind-bag): Patches are tied to database scheme versions. As such I believe they are highly suited for performing bootstrapping and other business logic as versions of Alfresco are upgraded.
Module components are essentially tied to our AMPs. As such they are tied to the installation and upgrading of our custom code.
I believe that the main aim for this generator to to assist folks with creating projects that extend the shrink wrapped repo. Of course I would be thrilled if folks internally decide to use this as well, and if that happens it would be great if there was a patch sub-generator that offers bootstrapping among other options.
@ohej what do you think about using Patch Service vs. creating a Module Component for folks creating Alfresco extensions?