SlideShare a Scribd company logo
What your App does...
Part 2 - Scripts
Learn Create Share
1. Why visual code works
2. Structure of an App
3. Visual Data Flow
4. Scripts
5. Operations
6. Data Types
7. Control Flow: Blocks, Loops, & Calls
8. Examples
Contents
Visual as a basis for code...
14 characters
5 operations
6 links
4 rules
=
No syntax errors
52 characters
7 keywords used
3 assignments
6 lines of code
18 coding rules
=
50+ potential syntax errors
A/B Test: HTML5 vs Vizwik
Raw HTML 5
108 Hours
2 coders
design done
LOC: 1350
Deployment: 5hr
Status: Incomplete
Cost: $3500
Upload: 10s
Vizwik
19 hours
1 coder
1 designer
LOC: 18 scripts
Deployment: 1 min
Status: Complete
Cost: $500
Upload: 2s
A/B Test: HTML5 vs Vizwik
Raw HTML 5
108 Hours
LOC: 1350
Vizwik
19 hours
LOC: 18 scripts
App Structure
DB
FB
How it looks What it does What it stores
View Script Data
App
Web
tap
get/set
App Structure
DB
FB
How it looks What it does What it stores
View Script Data
App
Web
tap
get/set
Visual Data Flow Language
Script
0-N Inputs
0-N Outputs
Operation
Link
name
Calling operation on Source
Script
ParametersSource
operation
•••0,1 N
Script = Function
Script
0 to N Inputs
0 or 1
Outputs
Reference
Name
Create an Oper
Operator Shapes
Script
Boolean: True | False
Number: 125 , 12.34
Text: This is some text
List: (,,, ...)
Object: { name : value, ... }
Data Types
Boolean: True | False
Data Types
Number: 125 , 12.34
Data Types
Text: This is some text
Data Types
List: (a,1,23.3,Test,(a,b))
Data Types
Object: { name : value, ... }
Data Types
Event Handling: Tap
On Tap
Event Object
DnD
Event Object : {
id : ‘amXXXXXX’,
name : ‘Button’
X: 123, Y: 22
time: May 23, 2014, 2pm
}
View Item Reference
View Item Operators
View Item Reference
find menu
Operation Menu
Double-click Shift-click
click
keyboard
shortcut
1. Blocks
2. Conditional Block
3. List Loop Block
4. Number Loop Block
5. Call and Return
Control Flow
Blocks
Blocks group operations to be controlled
Blocks
Can have inputs and outputs
0-N Inputs
0-N Outputs
Blocks
and can contain other blocks
Blocks
Creating a data flow control structure
Blocks
Sequential
Blocks
Blocks group other blocks together to allow them to
be controlled, such as sequencing
Conditional Block
Match is test
to run first
case if true
Run Block conditionally based on value of input
Conditional Block
2nd of 2 cases1st of 2 cases
Blocks can have any number of “cases” inside them
Conditional Block
If input does
not match
label, then
jump to 2nd
case
Jumping between cases in a block conditionally
agora mobile
List Loop Block
Execute a Block for each element in a list.
Loop Input
Looped Value (optional)
List of numbers
Numeric Loop Block
Execute a Block a specified number of times.
Loop Decrement
(-)
Increment (+)
Non-Looped Input/Output
(optional)
Count
End Test
Call & Return
Calling
Script
Call & Return
Calling
Script
Call Script
Call & Return
Calling
Script
Test for
divide by
zero
Call Script
Call & Return
Forced Return
Calling
Script
Test for
divide by
zero
Call Script
Call & Return
Forced Return
Calling
Script
Normal Return
Test for
divide by
zero
Call Script
Scripting Examples
1. Printing Values
2. Navigate between Views
3. Set View Item Properties - Color, visibility,
4. Get/Set Values - calculate
5. Set Image
6. Playing Audio
7. Add/Remove List Items
8. Maps - add marker
9. Media Upload - Gallery
10. Timers and Animation
11. Collision Detection
12. Prompts, Options, Menus
13. Draw on a Canvas
How to reach us...
www.vizwik.com
www.facebook.com/vizwik
www.twitter.com/agoramobile
www.vizwik.com/blog
www.googleplus.com/vizwik
www.youtube.com/vizwik

More Related Content

PDF
Vizwik Coding Manual
PDF
Vizwik part 3 data
PDF
Schema plus
PDF
Getting started-with-oracle-so a-i
PPTX
30csharp
PPTX
file management functions
PPTX
32sql server
PPT
Understanding linq
Vizwik Coding Manual
Vizwik part 3 data
Schema plus
Getting started-with-oracle-so a-i
30csharp
file management functions
32sql server
Understanding linq

What's hot (16)

PDF
Serialization
PDF
PPT
.NET Code Examples
PPTX
PPTX
ORM - Ivan Marković
PPT
Web forms and html lecture Number 4
PDF
CenitHub Presentations | 4- Flows, Connections & Webhooks
PDF
Hard learned SharePoint development tips
PPTX
Assemblies in asp
DOC
Asp.Net Database
PPTX
Linq to sql
PDF
Mikel_Berdufi_SemanticWebSearchEngine_Report
PDF
DOC
Cis336 week 4 i lab 4
PPTX
AAC Room
PPT
Building Ifeedback
Serialization
.NET Code Examples
ORM - Ivan Marković
Web forms and html lecture Number 4
CenitHub Presentations | 4- Flows, Connections & Webhooks
Hard learned SharePoint development tips
Assemblies in asp
Asp.Net Database
Linq to sql
Mikel_Berdufi_SemanticWebSearchEngine_Report
Cis336 week 4 i lab 4
AAC Room
Building Ifeedback
Ad

Similar to Vizwik part 2 scripts (20)

PPTX
Introduction to Programming (well, kind of.)
PPTX
Algorithm and flowchart
PPTX
Solid OOPS
PPTX
OOP, API Design and MVP
PPTX
Introduction to Computer Programming for Data Sciences.pptx
PDF
Fundamentals of Computer 20CS11T Chapter 5.pdf
PDF
Modul mBlock 5 and arduino.pdf
PPTX
Basic syntax : Algorithm,Flow chart
PDF
C Programming Lab - Session 1 - Flowcharts for Programs
PPTX
Cracking the coding interview columbia - march 23 2011
PDF
Guidelines to clean coding
PDF
Introduction to programming by MUFIX Commnity
PDF
Introduction To Programming (2009 2010)
PPTX
INTRODUCTION TO CODING-CLASS VI LEVEL-DESCRIPTION ABOUT SYNTAX LANGUAGE
PPTX
classVI_Coding_Teacher_Presentation.pptx
PPTX
classVI_Coding_Teacher_Presentation.pptx
PPTX
Algorithm,Pseudocode,Flowchart.pptx
PPTX
ProgrammingPrimerAndOOPS
PPTX
CHAPTER 3 - LESSON C
DOCX
Top 10 Interview Questions for Coding Job.docx
Introduction to Programming (well, kind of.)
Algorithm and flowchart
Solid OOPS
OOP, API Design and MVP
Introduction to Computer Programming for Data Sciences.pptx
Fundamentals of Computer 20CS11T Chapter 5.pdf
Modul mBlock 5 and arduino.pdf
Basic syntax : Algorithm,Flow chart
C Programming Lab - Session 1 - Flowcharts for Programs
Cracking the coding interview columbia - march 23 2011
Guidelines to clean coding
Introduction to programming by MUFIX Commnity
Introduction To Programming (2009 2010)
INTRODUCTION TO CODING-CLASS VI LEVEL-DESCRIPTION ABOUT SYNTAX LANGUAGE
classVI_Coding_Teacher_Presentation.pptx
classVI_Coding_Teacher_Presentation.pptx
Algorithm,Pseudocode,Flowchart.pptx
ProgrammingPrimerAndOOPS
CHAPTER 3 - LESSON C
Top 10 Interview Questions for Coding Job.docx
Ad

Recently uploaded (6)

PPTX
ASMS Telecommunication company Profile
PDF
Lesson 13- HEREDITY _ pedSAWEREGFVCXZDSASEWFigree.pdf
DOC
证书学历UoA毕业证,澳大利亚中汇学院毕业证国外大学毕业证
PDF
6-UseCfgfhgfhgfhgfhgfhfhhaseActivity.pdf
DOC
Camb毕业证学历认证,格罗斯泰斯特主教大学毕业证仿冒文凭毕业证
PPTX
Introduction to Packet Tracer Course Overview - Aug 21 (1).pptx
ASMS Telecommunication company Profile
Lesson 13- HEREDITY _ pedSAWEREGFVCXZDSASEWFigree.pdf
证书学历UoA毕业证,澳大利亚中汇学院毕业证国外大学毕业证
6-UseCfgfhgfhgfhgfhgfhfhhaseActivity.pdf
Camb毕业证学历认证,格罗斯泰斯特主教大学毕业证仿冒文凭毕业证
Introduction to Packet Tracer Course Overview - Aug 21 (1).pptx

Vizwik part 2 scripts