maximizing next generation experiences with …...focused on interface & presentation reactjs...

17
MENDIX WORLD Maximizing Next Generation Experiences w/ Mendix Pluggable Components Danny Roest / Product Manager / Mendix Mitya Kononchuk / Tech Lead / Mendix Andries Smit / Team Lead & Developer / Mendix Marco Laponder / Team Lead & Developer / Mendix

Upload: others

Post on 22-May-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Maximizing Next Generation Experiences with …...Focused on Interface & Presentation ReactJS for Web and Hybrid mobile apps ReactNative for Native Mobile apps TypeScript & JavaScript

MENDIXWORLD

Maximizing Next Generation Experiences w/ Mendix Pluggable ComponentsDanny Roest / Product Manager / MendixMitya Kononchuk / Tech Lead / MendixAndries Smit / Team Lead & Developer / MendixMarco Laponder / Team Lead & Developer / Mendix

Page 2: Maximizing Next Generation Experiences with …...Focused on Interface & Presentation ReactJS for Web and Hybrid mobile apps ReactNative for Native Mobile apps TypeScript & JavaScript

MENDIXWORLD

1 2 3Building widgets + Demo

Building actions + Demo

What’s Next

Agenda

Page 3: Maximizing Next Generation Experiences with …...Focused on Interface & Presentation ReactJS for Web and Hybrid mobile apps ReactNative for Native Mobile apps TypeScript & JavaScript

MENDIXWORLD

Enablement through pluggabilityBuild powerful re-useable extensions based on popular technologies

Page 4: Maximizing Next Generation Experiences with …...Focused on Interface & Presentation ReactJS for Web and Hybrid mobile apps ReactNative for Native Mobile apps TypeScript & JavaScript

MENDIXWORLD

Pluggable Widgets

§ Successor of custom widgets

§ Focused on Interface & Presentation

§ ReactJS for Web and Hybrid

mobile apps

§ ReactNative for Native Mobile apps

§ TypeScript & JavaScript support

§ Shareable via (private) Appstore

Page 5: Maximizing Next Generation Experiences with …...Focused on Interface & Presentation ReactJS for Web and Hybrid mobile apps ReactNative for Native Mobile apps TypeScript & JavaScript

MENDIXWORLD

Pluggable widgets - technology

Widget as standard React Component• Use external dependencies• Build with modern JavaScript or

TypeScript

Flux architectureNo explicit data fetching needed• Receive plain data through props• Render UI component• Dispatch actions

Mendix client

Widget

props.valueprops.label

props.value.setValue()props.action.execute()

Page 6: Maximizing Next Generation Experiences with …...Focused on Interface & Presentation ReactJS for Web and Hybrid mobile apps ReactNative for Native Mobile apps TypeScript & JavaScript

MENDIXWORLD

New Features

Context derived automatically

Lazy loaded External components usage

Preview mode

Page 7: Maximizing Next Generation Experiences with …...Focused on Interface & Presentation ReactJS for Web and Hybrid mobile apps ReactNative for Native Mobile apps TypeScript & JavaScript

MENDIXWORLD

More New Features

Action parameter

Text template parameter

Labeled Expression parameters

Page 8: Maximizing Next Generation Experiences with …...Focused on Interface & Presentation ReactJS for Web and Hybrid mobile apps ReactNative for Native Mobile apps TypeScript & JavaScript

MENDIXWORLD

Quick & Easy Widget Development Flow

Create project: yo mx-widget

- Web app or Native Mobile app

- JavaScript or Typescript- Default or template

Run project: npm start

- Hot reload in browser

- Autocompletion for TypeScript

Page 9: Maximizing Next Generation Experiences with …...Focused on Interface & Presentation ReactJS for Web and Hybrid mobile apps ReactNative for Native Mobile apps TypeScript & JavaScript

MENDIXWORLD

Extending an app

Page 10: Maximizing Next Generation Experiences with …...Focused on Interface & Presentation ReactJS for Web and Hybrid mobile apps ReactNative for Native Mobile apps TypeScript & JavaScript

MENDIXWORLD

Demo time!

Widget for Native Mobile based on JavaScript Widget for web based on TypeScript

Page 11: Maximizing Next Generation Experiences with …...Focused on Interface & Presentation ReactJS for Web and Hybrid mobile apps ReactNative for Native Mobile apps TypeScript & JavaScript

MENDIXWORLD

Pluggable Nanoflow Actions

§ Build powerful device integrations

§ Extend nanoflows with custom logic

§ Code editor inside Mendix Studio Pro

§ Expose as standard nanoflow activities

§ Share via (private) AppStoreAKA JavaScript actions

Page 12: Maximizing Next Generation Experiences with …...Focused on Interface & Presentation ReactJS for Web and Hybrid mobile apps ReactNative for Native Mobile apps TypeScript & JavaScript

MENDIXWORLD

Page 13: Maximizing Next Generation Experiences with …...Focused on Interface & Presentation ReactJS for Web and Hybrid mobile apps ReactNative for Native Mobile apps TypeScript & JavaScript

MENDIXWORLD

Demo time!

Page 14: Maximizing Next Generation Experiences with …...Focused on Interface & Presentation ReactJS for Web and Hybrid mobile apps ReactNative for Native Mobile apps TypeScript & JavaScript

MENDIXWORLD

What’s next for Pluggable widgets?

Support list of objects

Contain other widgets

Widget interactions

Page 15: Maximizing Next Generation Experiences with …...Focused on Interface & Presentation ReactJS for Web and Hybrid mobile apps ReactNative for Native Mobile apps TypeScript & JavaScript

MENDIXWORLD

What’s next for Pluggable actions?

Modern JavaScript & TypeScript Support

External Dependencies

More Parameter Types

Page 16: Maximizing Next Generation Experiences with …...Focused on Interface & Presentation ReactJS for Web and Hybrid mobile apps ReactNative for Native Mobile apps TypeScript & JavaScript

MENDIXWORLD

Go make great extensions and enable other makers!

Page 17: Maximizing Next Generation Experiences with …...Focused on Interface & Presentation ReactJS for Web and Hybrid mobile apps ReactNative for Native Mobile apps TypeScript & JavaScript

MENDIXWORLD

Thank you! Questions?How-To’s will be available with the release