intro to quickapps - 1010data · 5 what is a quickapp? a versatile and dynamic set of interactive...

88
INTRO TO QUICKAPPS MAY 18, 2016 Jeffery Taylor, Senior Technical Writer

Upload: leminh

Post on 05-Sep-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

INTRO TOQUICKAPPS

MAY 18, 2016

Jeffery Taylor, Senior Technical Writer

2

This is one of the most efficient ways to build

data-oriented applications that exists.

Adam Jacobs

Chief Scientist

1010data

WHAT IS A QUICKAPP?

4

What is a QuickApp?

5

What is a QuickApp?

A versatile and dynamic set of interactive widgets and layouts

for building custom front-end interfaces on top of 1010data’s

analytics engine

6

What is a QuickApp?

A versatile and dynamic set of interactive widgets and layouts

for building custom front-end interfaces on top of 1010data’s

analytics engine

Works in conjunction with 1010data queries to specify how to

accept user input and display the results

7

What is a QuickApp?

A versatile and dynamic set of interactive widgets and layouts

for building custom front-end interfaces on top of 1010data’s

analytics engine

Works in conjunction with 1010data queries to specify how to

accept user input and display the results

Written completely in 1010data’s Macro Language

Typical Application Development

8

Typical Application Development

9

Typical Application Development

10

Typical Application Development

11

Typical Application Development

12

Typical Application Development

13

Typical Application Development

14

Typical Application Development

15

16

QuickApp Development

17

QuickApp Development

<dynamic>

18

QuickApp Development

<dynamic>

<widget>

19

QuickApp Development

<dynamic>

<widget>

<layout>

EXAMPLE

EXAMPLE

INTRO TO QUICKAPPS TUTORIAL

EXAMPLE

INTRO TO QUICKAPPS TUTORIAL

DOCUMENTATION CENTER

23

<dynamic>

24

<dynamic>

A <dynamic> element encapsulates the Macro Language

code for both the visual and logical aspects of the QuickApp

25

<dynamic>

A <dynamic> element encapsulates the Macro Language

code for both the visual and logical aspects of the QuickApp

This dynamic environment manages the state of the widgets

within it using dynamic variables

26

<dynamic>

A <dynamic> element encapsulates the Macro Language

code for both the visual and logical aspects of the QuickApp

This dynamic environment manages the state of the widgets

within it using dynamic variables

Updates any widgets that are affected by a change in any of

those variables

27

<widget>

28

<widget>

A <widget> element is used to visually represent a block of

Macro Language code

29

<widget>

A <widget> element is used to visually represent a block of

Macro Language code

It typically contains a single 1010data query that defines the

data that it displays

30

<widget>

A <widget> element is used to visually represent a block of

Macro Language code

It typically contains a single 1010data query that defines the

data that it displays

Widgets can be used as a means for user input and/or to

display information to the user

31

32

33

34

35

36

37

38

39

40

41

DOCUMENTATION

DOCUMENTATION

REFERENCE MANUAL

DOCUMENTATION

REFERENCE MANUAL

DOCUMENTATION CENTER

INTERACTIVE DOCUMENTATION

INTERACTIVE DOCUMENTATION

QUICKAPP

INTERACTIVE DOCUMENTATION

QUICKAPP

DISPLAYS DOCUMENTATION

INTERACTIVE DOCUMENTATION

QUICKAPP

DISPLAYS DOCUMENTATION

INTERACTIVE EXAMPLES

INTERACTIVE DOCUMENTATION

QUICKAPP

DISPLAYS DOCUMENTATION

INTERACTIVE EXAMPLES

VISIT OUR KIOSK!

50

<layout>

51

<layout>

A <layout> element acts as a container for widgets or other

layouts and specifies their presentational arrangement

52

<layout>

A <layout> element acts as a container for widgets or other

layouts and specifies their presentational arrangement

There are a number predefined layout types that you can use

to customize the presentation of your QuickApp

THE SIMPLEST QUICKAPP

54

<dynamic>

<widget/>

</dynamic>

55

A widget is the visual representation of a 1010data query

56

A 1010data query consists of a set of operations applied to a base table

57

58

59

Dynamic Variables

60

Dynamic Variables

The value of a dynamic variable can be shared among widgets

or queries in the QuickApp

61

Dynamic Variables

The value of a dynamic variable can be shared among widgets

or queries in the QuickApp

Using dynamic variables, the selections you make in one

widget can affect the behavior of other widgets in the

QuickApp

62

Dynamic Variables

The value of a dynamic variable can be shared among widgets

or queries in the QuickApp

Using dynamic variables, the selections you make in one

widget can affect the behavior of other widgets in the

QuickApp

Allows for a truly interactive experience

63

Dynamic Variables

64

Dynamic Variables

Defined in the opening <dynamic> tag

65

Dynamic Variables

Defined in the opening <dynamic> tag

Can be referenced by any element inside the <dynamic>

66

Dynamic Variables

Defined in the opening <dynamic> tag

Can be referenced by any element inside the <dynamic>

Can be changed by a widget using a value_ attribute

67

Dynamic Variables

Defined in the opening <dynamic> tag

Can be referenced by any element inside the <dynamic>

Can be changed by a widget using a value_ attribute

Maintain their values from invocation of query to query

68

By default, widgets are updated automatically

69

70

Control when widgets are updated

71

Control when widgets are updated

Use the holdfor_ attribute to specify a list of dynamic

variables for a particular widget

72

Control when widgets are updated

Use the holdfor_ attribute to specify a list of dynamic

variables for a particular widget

If any of those variables change, the widget is invalidated

73

Control when widgets are updated

Use the holdfor_ attribute to specify a list of dynamic

variables for a particular widget

If any of those variables change, the widget is invalidated

The widget will not update until instructed to do so

74

75

Blocks

76

Blocks

Blocks allow you to reuse sections of Macro Language code

77

Blocks

Blocks allow you to reuse sections of Macro Language code

Helps you to reduce errors from maintaining multiple copies of

the code

78

Blocks

Blocks allow you to reuse sections of Macro Language code

Helps you to reduce errors from maintaining multiple copies of

the code

Shortens the Macro Language code in the QuickApp

79

Blocks

80

Blocks

Can be stored in libraries and imported using <import>

81

Blocks

Can be stored in libraries and imported using <import>

Can be defined within the QuickApp using <defblock>

82

Blocks

Can be stored in libraries and imported using <import>

Can be defined within the QuickApp using <defblock>

Blocks are referenced using <insert>

83

Blocks

84

Blocks

When the QuickApp runs, the block code is expanded

85

Blocks

When the QuickApp runs, the block code is expanded

During expansion, the block code is substituted where it is

inserted

86

QUESTIONS?

ENJOY THE SUMMIT!