16. Content-to-content
On-the-fly content changes with <before/>and <after/>.
< b e f o r e c s s : c o n t e n t = " # c o n t e n t - c o r e " >
< a h r e f = " m a i l t o : c o n t a c t @ d i a z o . o r g " >
A s k f o r h e l p
< / a >
< / b e f o r e >
17. Content-to-content
On-the-fly content insertion.
< b e f o r e c s s : c o n t e n t - c h i l d r e n = " # m a i n " >
< i n c l u d e c s s : c o n t e n t = " # b r e a d c r u m b s " / >
< / b e f o r e >
18. Content-to-content
On-the-fly remote content insertion.
< b e f o r e c s s : c o n t e n t - c h i l d r e n = " # m a i n " >
< i n c l u d e h r e f = " / n e w s "
c s s : c o n t e n t = " # b r e a d c r u m b s " / >
< / b e f o r e >
19. We want more
create our own chuncks of content
implement our own scripts
with basic knowledge of HTML and Python
24. What do we get in our
context?
context.app
context.request
context.portal
context.content
context.api(the Plone API!!)
25. Is it secure?
Python scripts are executed by
zope.security.untrustedpython.
All the regular security stack is applied, like:
current user privileges,
CSRF policy (@PostOnlyfor instance).
26. Battery included
Rapido comes with a complete REST API.
GET / POST / DELETE / PUT / PATCH
It is a ready-to-use JSON backend.