t3camp danmark
Post on 19-May-2015
332 Views
Preview:
DESCRIPTION
TRANSCRIPT
Enterprise Forms with Extbase„How to create multi step forms in TYPO3 with SAPand other disasters“
Markus Günther
Freitag, 15. März 13
Schedule 2
■ Introduction
■ Features
■ Live demo
■ Create a form
■ Roadmap
■ How to get?
■ Questions
Freitag, 15. März 13
Me
■ 28 years old
■ From „somewhere“ in Germany
■ Start developing extensions in 2010
■ Lover of the TYPO3 community and the spirit
3
Me Introduction Features Live demo Create form Roadmap Get it QuestionsFreitag, 15. März 13
Introduction
How we create forms in TYPO3 and what can be different???
Picture: fotolia.com
Me Introduction Features Live demo Create form Roadmap Get it QuestionsFreitag, 15. März 13
Actual state
5
Me Introduction Features Live demo Create form Roadmap Get it QuestionsFreitag, 15. März 13
6
■ using mailform plus
■ static forms
■ no flexibility
■ using powermail
Actual stateMe Introduction Features Live demo Create form Roadmap Get it Questions
Freitag, 15. März 13
We love if fancy
7
Me Introduction Features Live demo Create form Roadmap Get it QuestionsFreitag, 15. März 13
8
■ flexible forms with multiple steps
■ as flexible as you want
■ many constraints to manipulate the flow in the form
New way (different way)Me Introduction Features Live demo Create form Roadmap Get it Questions
Freitag, 15. März 13
Features of multiple-action-forms
9Picture: Otto
Me Introduction Features Live demo Create form Roadmap Get it QuestionsFreitag, 15. März 13
Drop properties from previous steps if another property has changed
As many steps as you need/want
Actual
Feature 10
Can use dependencies and storages
Complete HMAC verification
Possibility to shift steps based on a property value
Save the values step by step
preparation of all intermediate values in the session, support sub-objects
recursive validation
Action sequence in the view
Me Introduction Features Live demo Create form Roadmap Get it QuestionsFreitag, 15. März 13
Live demo
11
Me Introduction Features Live demo Create form Roadmap Get it QuestionsFreitag, 15. März 13
Create a form multiple-action-forms
12Picture: Otto
Me Introduction Features Live demo Create form Roadmap Get it QuestionsFreitag, 15. März 13
How to make this?
13
■ One form is one extension
■ FormController inherits from a abstract
■ Form model gets a interface
■ One (main) model represents the form
Bild: fotolia.com
Me Introduction Features Live demo Create form Roadmap Get it QuestionsFreitag, 15. März 13
Controller annotations
Controlling 14
Model property annotations
@actionSequence, @actionOverrideConstraint, @previewAction,@finalAction
@sessionPersist@validateControllerConstraint@validatePropertyConstraint@dependecy
Me Introduction Features Live demo Create form Roadmap Get it Questions
Freitag, 15. März 13
Get hands dirty
15
Me Introduction Features Live demo Create form Roadmap Get it QuestionsFreitag, 15. März 13
Roadmap
16
■ Backend-Wizard
■ JS validation before send form
■ boolean operations with validators
■ only partial dropping of properties
Picture: typo3.org
Me Introduction Features Live demo Create form Roadmap Get it QuestionsFreitag, 15. März 13
17
Bild: fotolia.com
On forge.typo3.orgMe Introduction Features Live demo Create form Roadmap Get it Questions
Freitag, 15. März 13
18
Conclusion
■ it is easy for developers
■ highly flexible
■ extbase codebase
Me Introduction Features Live demo Create form Roadmap Get it Questions
Freitag, 15. März 13
19
Bild: fotolia.com
Thank you :)Me Introduction Features Live demo Create form Roadmap Get it Questions
Freitag, 15. März 13
top related