新内容类型和新字段类型的原型与敏捷性
我已经离开 Plone 世界几年了(从 Plone 2.5 开始),我正在尝试了解应该在哪里投入时间来创建新的内容类型,特别是新的自定义字段(包括自定义视图) &编辑小部件)。
有人可以帮助我理解原型与敏捷之间的决策点吗?我之前写过基于 AT 的产品,所以我对那里的基础设施有一定的了解。我也在慢慢地掸掉我的 Zope 3 记忆。一些细节:
Dexterity 与 AT 的未来会是什么样子? AT会被敏捷取代吗?如果我编写一个基于 AT 的产品,最终需要将其移植到 Dexterity 吗?
什么为自定义字段类型、自定义小部件和自定义视图提供了更轻松的开发人员体验?
如何使用 Dexterity 部署自定义工作流程?
如何将现有内容从旧版本的产品迁移到新版本?
谢谢!
I've been out of the Plone world for a few years (since about Plone 2.5) and I'm trying to get my bearings as to where to invest my time creating new content types, specifically, with new custom fields (including custom view & edit widgets).
Can someone help me understand the decision points between Archetypes versus Dexterity? I've written AT-based products before, so I've got some familiarity with the infrastructure there. I'm also slowly dusting off my Zope 3 memories. Some specifics:
What does the future look like for Dexterity versus AT? Is AT going to be replaced by Dexterity? If I write an AT-based product, will it need to be ported to Dexterity eventually?
What provides an easier developer experience for custom field types, custom widgets, and custom views?
How does deploying a custom workflow with Dexterity work?
What about migrating existing content from an older version of my product to a newer one?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
作为 Dexterity 的最初开发者,我相当有偏见,但是:
这些点基本上是 Dexterity 启动的原因,所以它们不是偶然。
原型肯定不会很快消失,并且可能会作为 Plone 核心和(可能最终)和附加组件的一部分存在很长一段时间。归根结底,您可以将它们视为创建 CMF 类型的不同方式,这就是它的全部内容。
我认为,除了任何遗留问题之外,现在的主要决策点是多语言支持。没有什么好的故事可以取代 LinguaPlone,尽管正在进行一些努力来尝试纠正这一问题。
马丁
As the initial developer of Dexterity, I'm quite biased, but:
These points are basically the reason Dexterity was started, so they're not accidental.
Archetypes will certainly not go away any time soon, and will probably exist as part of Plone core and (possibly, eventually) and add-on for a long, long time. At the end of the day, you can see them both as different ways to create CMF types, which is all it is underneath.
I think the main decision point right now, apart from any legacy concerns, is multilingual support. There is no good story to replace LinguaPlone, although there are some efforts underway to try to rectify that.
Martin
看起来 Dexterity 是一种比 AT 更干净、更灵活的内容类型实现方式,也是 Plone 的未来。不过,AT 仍将停留一段时间。
至于更轻松的开发者体验,则视情况而定。也许这会有所帮助。
我的个人经验也偏向敏捷。
Seems like Dexterity is a cleaner and more flexible way to implement content types than AT and also future of the Plone. AT is however to stay for some time.
As for easier developer experience, it depends. Maybe this will help.
My personal experience is also on the side of Dexterity.