开发者

Alfresco's MMT vs Integrated Deployment

开发者 https://www.devze.com 2023-04-09 12:57 出处:网络
When developing for Alfresco, are there any advantages to using the MMT over Integrated Deployment? Is there anything you can develop using o开发者_Python百科ne method, but not the other?

When developing for Alfresco, are there any advantages to using the MMT over Integrated Deployment? Is there anything you can develop using o开发者_Python百科ne method, but not the other?

Browsing through Alfresco's SDK examples, I noticed many of them used integrated deployment, and the same went for all of the Share webscripts I saw on Google Code. Right now I'm just using the Integrated Deployment method, and everything seems to be working well, but I'm curious if I'm missing out on anything by not using the MMT.


Modules and integrated deployments are exactly the same in terms of code capabilities. The main difference is about distributing your customization: if you need/want to

  • provide your customizations to the external world or
  • reusing them across different projects or
  • port them to different Alfresco versions

then modules are the way to go, especially if you're not releasing the source code. The only downside of AMPs is that they write something in the DB but you currently can't uninstall them, even if there are some tricks you can try out.

I personally still prefer using AMPs as much as I can for my customization, leaving to embedded changes only stuff that can't go into an AMP (e.g. overriding original Alfresco files). The maven way also helps (and drives you a little) towards this practice.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号