Weitere ähnliche Inhalte Ähnlich wie JahiaOne 2015 - Form Factory, architecture and extension points (20) Mehr von Jahia Solutions Group (20) Kürzlich hochgeladen (20) JahiaOne 2015 - Form Factory, architecture and extension points2. Form builder was designed to
create form using GWT engines
This lead to a lot of boxes in each
other
Form were not easy to reuse/find
as they were not centralized
Results were stored under the
form itself in live mode only
© 2002 - 2015 Jahia Solutions Group SA
History
4. Site settings App
Form management through
a form library
Form results weakly bound
to the form itself
No GWT engine
Extensible with other
modules
Analytics reports of results
© 2002 - 2015 Jahia Solutions Group SA
New Architecture
6. Inputs are nodes
All the definitions also
(input/validation/actions/p
opovers/renderers)
Inputs define their
associated wizard
Forms are composed of
input steps and a list of
actions
© 2002 - 2015 Jahia Solutions Group SA
Form Builder Architecture
7. Forms are validated client side
Form tokens and captcha on
the server side
Actions are responsible for
transforming/storing/redirectin
g the user after submission
Data can be stored in the JCR
or not (only storage available
in the core)
© 2002 - 2015 Jahia Solutions Group SA
Submissions
8. Results Provider bound
to backend type
Provide 1..* RESTful
API
Views are bound to a
RESTFul API
© 2002 - 2015 Jahia Solutions Group SA
Results Analytics
10. Define new inputs types
Add custom wizard
options
Extensions can be
used/deploy on a per
site basis
© 2002 - 2015 Jahia Solutions Group SA
Extends Inputs
11. Add validation wizard
in the builder
Create JS rule
compatible with
Backbone.Validation
No server side
validation apart token
© 2002 - 2015 Jahia Solutions Group SA
Extends Validations
12. Actions are standard
Digital Factory Action
Backed up by a JCR node
of type “fcmix:action"
Wizard for the action is
defined in the JCR as it is
done for
Inputs/Validations
© 2002 - 2015 Jahia Solutions Group SA
Extends Actions
13. Provide renderers for
your inputs
Define new RESTFul
API
Define new Reports
© 2002 - 2015 Jahia Solutions Group SA
Extends Results