Knot.x provides extension points like Knots and Adapters. They allow to provide custom features - which are not a part of core platform. This enforce Knot.x to support better Knot usage decision for particular template / snippets.
Examples
Secured content
We have a site which serves both public and secured content. This content is mixed together so we want to provide custom snippet which will check permissions for secured content. Knot Routing mechanism is not enough to handle all cases.
We expect to call Permission Knot only for pages with secured content. For public content Permission Knot should not be called at all.
Form pages
We have a site with two forms. First form is simple subscription form and does not require any data to render. Second from is connected with user profile so we need to fetch user profile from services while page rendering.
We expect to call Action Knot, Service Knot and Handlebars Knot for fragment with user profile form. We expect to call Action Knot for fragment with simple subscription form.https://github.com/Cognifide/knotx/issues/186
Overview
Knot.x provides extension points like Knots and Adapters. They allow to provide custom features - which are not a part of core platform. This enforce Knot.x to support better Knot usage decision for particular template / snippets.
Examples
Secured content
We have a site which serves both public and secured content. This content is mixed together so we want to provide custom snippet which will check permissions for secured content. Knot Routing mechanism is not enough to handle all cases.
We expect to call Permission Knot only for pages with secured content. For public content Permission Knot should not be called at all.
Form pages
We have a site with two forms. First form is simple subscription form and does not require any data to render. Second from is connected with user profile so we need to fetch user profile from services while page rendering.
We expect to call Action Knot, Service Knot and Handlebars Knot for fragment with user profile form. We expect to call Action Knot for fragment with simple subscription form. https://github.com/Cognifide/knotx/issues/186