34
Moxie Zhang @theMoxie Sajit Thomas @SpatialAgent WEB APPBUILDER FOR ARCGIS BUILDING 3D APPS

Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Moxie Zhang

@theMoxie

Sajit Thomas

@SpatialAgent

WEB APPBUILDER FOR ARCGIS

BUILDING 3DAPPS

Page 2: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Web App Builder: Tool to build apps

20000APPS

0

Page 3: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Web App Builder: Building apps through configuration

Page 4: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Web App Builder: Modular approach through widgets

Page 5: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Web App Builder: Focused business logic within widget

Page 6: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Web App Builder: 3D Apps

Page 7: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Web App Builder: Developer Edition

• Download Web AppBuilder Developer Edition and host on-premises

• Create Web Apps from your own computer

• Build custom widgets and themes

Page 8: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Architecture

Web App Builder:

Page 9: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

When you have a good app idea…

Page 10: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

App

This has been changed….

Page 11: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

• Design / Develop by convention

• Defaults for everything

• Object messaging

• No third party app framework besides dojo

Simplicity

3

2

1

Page 12: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

v

Widgets

Themes

Stem App 3D

A Web App

w w w

w ww w

w w w

config

GUI

Builder

w w w

w w

Page 13: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Map

Manager

Widget

Manager

Panel

Manager

Layout

Manager

Config

Manager

Messaging (publish/subscribe)

w w w

w w

Web App Builder: Stem App 3D

Page 14: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Widget Theme

• HTML/JavaScript/CSS

• Specific task

• Configuration in JSON

• NLS support

• Builder config UI

• HTML/JavaScript/CSS

• Layout

• Branding

• Widget panel and

behavior

• Style (Color, etc.)

• Theme widgets

Page 15: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

3D Scene 3D Vis

• Model of real world

• Model of real objects

• Simulation of physics

• Asset management

• Urban planning

• Abstract data

• Real time data

• Operational data

• Analysis with dimensions

• Time and animations

Page 16: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Web App Builder:

Building a 3D Widget

Page 17: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

1. Download: https://developers.arcgis.com/web-appbuilder/

2. Connect to portal and set app id, see:

https://developers.arcgis.com/web-appbuilder/guide/getstarted.htm

3. Copy widget folder from template or other widget to stem app 3D:

[web-appbuilder-root]\client\stemapp3d\widgets\

4. Create an app, load your widget

5. Build your widget in the app

6. When done, copy widget files back to stem app 3d widgets folder

Web App Builder: Getting Started

Page 18: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Web App Builder: Widget Conventions

Stem App 3D

Widgets

MyWidget

MyWidget

css

images

nls

setting

config.json

manifest.json

Widget.html

Widget.js

Page 19: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Web App Builder Widget: Extending Base Widget

Page 20: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

BaseWidget Your widget

• App properties

(name, icon, localization)

• App config data

• Widget config data

• Scene View object

• Widget state

(open, closed, active…)

• Events (open/signIn)

• Widget communication

• Widget UI

(HTML/template)

• Widget config file

• Widget styles (css)

• Localization

• Your unique business

logic / workflow

Web App Builder Widget: Inheriting from Base Widget

Page 21: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Dijit lifecycle Widget events

• postCreate

• Startup

• …

• onOpen, onSignin

• publishData

Page 22: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Working with Web Scenes: Layers

Page 23: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Working with Web Scenes: Animation

Page 24: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

3D Fx

Web App Builder:

Page 25: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Web App Builder: 3DFx – Data Visualization Widget

Operational Layers Configurable Widget

3DFx Library

Page 26: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

3DFx JavaScript Library ArcGIS JavaScript API 4.0

FxLayer

Properties:

url

visible

vizType

vizFields

displayField

renderingInfo

popupTemplate

Methods:

startAnimation

pauseAnimation

showLabel

hideLabel

switchVizField

……

Map

Rendering System

SceneView

Web App Builder: 3DFx – Architecture

Page 27: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Working with 3DFx: Rendering Information

Page 28: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Working with 3DFx: Fx Layer

Page 29: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Road Ahead

Web App Builder:

Page 30: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Web App Builder: Road Ahead

Page 31: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Web App Builder: Road Ahead

Portal:EAP2

Online:3.5beta

Developer: beta

Portal:10.3

Online:3.6

Developer:1.0

Portal:10.3.1

Online:3.7

Developer:1.1

Portal:10.4

Online:3.8,3.9,3.10, 4.1

Developer:1.2,1.3, Beta2.0

2013 Sep

2014

Dec

2014

Mar

2015Now

milestones

Page 32: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

• Online help documentation

http://doc.arcgis.com/en/web-appbuilder/

• Developer Edition help documentation

https://developers.arcgis.com/web-appbuilder/guide/xt-welcome.htm

• Esri GeoNet Group Web AppBuilder

https://geonet.esri.com/groups/web-appbuilder

• Esri Live Training Seminar: Get Started with Web AppBuilder for ArcGIS (60 mins)

http://training.esri.com/gateway/index.cfm?fa=catalog.webCourseDetail&courseID=2887

• Esri Live Training Seminar: Creating Web Applications Using Templates and Web AppBuilder

http://training.esri.com/gateway/index.cfm?fa=catalog.webCourseDetail&courseid=2893

Web App Builder: Resources

Page 33: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Download the Esri Events app and go to DevSummit

Select the session you attended Scroll down to the “Feedback” section

Complete Answers,add a Comment,

and Select “Submit”

Web App Builder: Survey

Page 34: Web AppBuilder for ArcGIS: Building 3D Apps · 2017. 3. 15. · WEB APPBUILDER FOR ARCGIS BUILDING3DAPPS. Web App Builder: Tool to build apps 20000 APPS 0. ... • Model of real world

Moxie Zhang

@theMoxie

Sajit Thomas

@SpatialAgent