Alfresco 的 MMT 与集成部署
在为 Alfresco 进行开发时,使用 MMT 相比 集成部署?有什么东西可以使用一种方法开发而不能使用另一种方法吗?
浏览 Alfresco 的 SDK 示例,我注意到其中许多都使用集成部署,我在 Google Code 上看到的所有共享网页脚本也是如此。现在我只是使用集成部署方法,一切似乎都运行良好,但我很好奇是否因为不使用 MMT 而错过了任何东西。
When developing for Alfresco, are there any advantages to using the MMT over Integrated Deployment? Is there anything you can develop using one 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
模块和集成部署在代码能力上是完全一样的。 主要区别在于分发您的自定义:如果您需要/想要
,那么模块就是最佳选择,特别是如果您不发布源代码。 AMP 的唯一缺点是它们会在数据库中写入一些内容,但您目前无法卸载它们,即使有一些技巧,你也可以 试用。
我个人仍然更喜欢尽可能多地使用 AMP 进行自定义,只保留无法进入 AMP 的嵌入更改(例如覆盖原始 Alfresco 文件)。 maven 方式也有助于(并推动您一点)这种实践。
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
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.