31. Headless CMS
• NOT included : The view part!
• Included : Strong flexible API
• Included : DB/Persistance
• Included : CRUD and Management ?
32. Content Type
• NO CMF
• zope.container and dx
• 1 content rule them all: container (Item)
33. Definition of content type
• Definition of Generic Content types global
• Content type defined in code with directives:
• catalog/index
• read/write
• primary
34. Definition of content type
class IDocument(IItem):
catalog(title='text')
title = schema.TextLine(
title=_('Títle'),
required=False)
<plone:contenttype
portal_type="Todo"
schema=".todo.ITodo"
class=".todo.Todo"
behaviors=".todo.IDublinCore"
/>
35. plone.jsonserializer
• Used on plone.app.mosaic
• Need to merge with plone.restapi
• Serializes and deserializes DX content and types
to JSON