仅使用 Python 在 Plone 中构建视图?

Build views in Plone only with Python?

有什么方法可以只使用 Python 在 Plone 中编写视图吗?我找到了一种用于表单的方法,但是您还可以为视图构建什么?没有 tal 表达式

Link: https://docs.plone.org/4/en/develop/addons/helloworld/extend/form.html

您可以使用 Python 编写一个视图,生成您想要的 HTML,而不需要模板。

请看https://training.plone.org/5/mastering-plone-5/index.html, specifically https://training.plone.org/5/mastering-plone-5/views_2.html#view-classes

一般来说,最好在我们的论坛上问Plone问题,https://community.plone.org