intro to quickapps - 1010data · 5 what is a quickapp? a versatile and dynamic set of interactive...
TRANSCRIPT
2
This is one of the most efficient ways to build
data-oriented applications that exists.
Adam Jacobs
Chief Scientist
1010data
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
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
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
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
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
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
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
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
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>
85
Blocks
When the QuickApp runs, the block code is expanded
During expansion, the block code is substituted where it is
inserted