jahiaone 2015 - form factory, architecture and extension points

13
Form Factory Architecture & extensions © 2002 - 2015 Jahia Solutions Group SA

Upload: jahia-solutions-group

Post on 08-Aug-2015

50 views

Category:

Technology


3 download

TRANSCRIPT

Form Factory

Architecture & extensions

© 2002 - 2015 Jahia Solutions Group SA

© 2002 - 2015 Jahia Solutions Group SA

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

History

© 2002 - 2015 Jahia Solutions Group SA

Architecture

© 2002 - 2015 Jahia Solutions Group SA

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

New Architecture

© 2002 - 2015 Jahia Solutions Group SA

Creation Translation Publish Results Analytics

Lifecycle Management

© 2002 - 2015 Jahia Solutions Group SA

Inputs are nodes All the definitions also

(input/validation/actions/popovers/renderers)

Inputs define their associated wizard

Forms are composed of input steps and a list of actions

Form Builder Architecture

© 2002 - 2015 Jahia Solutions Group SA

Forms are validated client side Form tokens and captcha on

the server side Actions are responsible for

transforming/storing/redirecting the user after submission

Data can be stored in the JCR or not (only storage available in the core)

Submissions

© 2002 - 2015 Jahia Solutions Group SA

Results Provider bound to backend type

Provide 1..* RESTful API

Views are bound to a RESTFul API

Results Analytics

© 2002 - 2015 Jahia Solutions Group SA

Extend Form Factory

© 2002 - 2015 Jahia Solutions Group SA

Define new inputs types Add custom wizard

options Extensions can be

used/deploy on a per site basis

Extends Inputs

© 2002 - 2015 Jahia Solutions Group SA

Add validation wizard in the builder

Create JS rule compatible with Backbone.Validation

No server side validation apart token

Extends Validations

© 2002 - 2015 Jahia Solutions Group SA

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

Extends Actions

© 2002 - 2015 Jahia Solutions Group SA

Provide renderers for your inputs

Define new RESTFul API

Define new Reports

Extends Results