emfforms goes angularjs.pdf

10
© 2016 EclipseSource | http://eclipsesource.com/munich | Dr. Maximilian Koegel | EMFForms goes AngularJS - EMFForms 1 EMF Forms goes AngularJS a.k.a. JSON Forms Maximilian Koegel [email protected]

Upload: tranlien

Post on 08-Jan-2017

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: EMFForms goes AngularJS.pdf

© 2016 EclipseSource | http://eclipsesource.com/munich | Dr. Maximilian Koegel | EMFForms goes AngularJS - EMFForms 1

EMF Forms goes AngularJSa.k.a. JSON Forms

Maximilian [email protected]

Page 2: EMFForms goes AngularJS.pdf

© 2016 EclipseSource | http://eclipsesource.com/munich | Dr. Maximilian Koegel | EMFForms goes AngularJS - EMFForms 2

Data is often viewed/edited in a form-based UI

Page 3: EMFForms goes AngularJS.pdf

© 2016 EclipseSource | http://eclipsesource.com/munich | Dr. Maximilian Koegel | EMFForms goes AngularJS - EMFForms 3

Data model needs to be mapped to UI

Page 4: EMFForms goes AngularJS.pdf

© 2016 EclipseSource | http://eclipsesource.com/munich | Dr. Maximilian Koegel | EMFForms goes AngularJS - EMFForms 4

Modeling the UI

Domain Model(XSD, Ecore)

Renderer

User Interface View ModelJSON Schema UI Schema

AngularJS Renderer

Page 5: EMFForms goes AngularJS.pdf

© 2016 EclipseSource | http://eclipsesource.com/munich | Dr. Maximilian Koegel | EMFForms goes AngularJS - EMFForms 5

EMF Forms vs. JSON Forms

Domain Model(XSD, Ecore)

SWT/JavaFX/RAP/Tabris Renderer

User Interface View Model

User Interface JSON Schema UI Schema

AngularJS Renderer

JSON Forms Exporter

EMF Forms

JSON Forms

Page 6: EMFForms goes AngularJS.pdf

© 2016 EclipseSource | http://eclipsesource.com/munich | Dr. Maximilian Koegel | EMFForms goes AngularJS - EMFForms 6

JSON Forms Example Project

Page 7: EMFForms goes AngularJS.pdf

© 2016 EclipseSource | http://eclipsesource.com/munich | Dr. Maximilian Koegel | EMFForms goes AngularJS - EMFForms 7

Demo

Page 8: EMFForms goes AngularJS.pdf

© 2016 EclipseSource | http://eclipsesource.com/munich | Dr. Maximilian Koegel | EMFForms goes AngularJS - EMFForms 8

When to use UI Modeling

• Large Domain Model• Many different Views• Frequent Domain Model changes • Homogenous UI • UI Technology Independence• Improved Customer Involvement

• Fast Turnaround + Rapid Prototyping• Easy-to-grasp UI concepts

Page 9: EMFForms goes AngularJS.pdf

© 2016 EclipseSource | http://eclipsesource.com/munich | Dr. Maximilian Koegel | EMFForms goes AngularJS - EMFForms 9

• JSON Forms: http://jsonforms.org=> Getting started Tutorial=> EMF Forms to JSON Forms Migration Tutorial

• EMF Forms: http://emfforms.org => Getting started Tutorial

• Twitter: #jsonforms @JSONForms

• BOF today at 8pm Lake Anne B

More Information

Page 10: EMFForms goes AngularJS.pdf

Evaluate the Sessions

Sign in and vote at eclipsecon.org

- 1 + 10

this

WITH