Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
What your App saves...
Part 3 - Data
Learn Create Share
1. Architecture of Vizwik
2. Structure of an App
3. Creating View Items
4. View Item Properties
5. View Item References
6. View Item Operators
7. Data Binding
8. Examples
Contents
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
Data Sources
1. Global Script Values
2. Local Browser Storage
3. Simple Data
4. Complex Data
5. Table Data
6. Media
7. Web
Global Script Values
Used to store data between Scripts, like game levels...
Set
Get
Use
Global Script Values
Used to store data between Scripts, like game levels...
Get Get
Set
Use
Local Browser Storage
Used to store data between App executions...
Local Browser Storage
Used to store data between App executions...
Get
Set
Use
Boolean: True | False
Simple Data
Number: 125 , 12.34
Simple Data
Text: This is some text
Simple Data
Simple Data Scripting
Drag and Drop data to Script
Simple Data Scripting
Set Data is non-blocking and
returns immediately.
Callbacks notify of success or
failure of network activity
List: (a,1,23.3,Test,(a,b))
Complex Data
Object: { name : value, ... }
Complex Data
Complex Data Scripting
Set and Get of Complex Data
is exactly the same as for
Simple Data…
Table: Row, Column
Table Data
Table: Row, Column
Table Data
Row
Column
Table Data
Table: Stores everything as Text
- you can convert between text and any
other type using
- you can also store images and sound
Table Data : View List Binding
Tables basis of View List data
Once binding is in place, updates are
automatic for adding and removing rows
Table Data Scripting
Table scripting uses async
and callbacks and allows row
access starting row #1
- Not SQL - no keys
- Uses Objects as input with
name:column mapping
- Text search by list of colmn
- Sorted search on column
values
Data Sharing
Data Sharing: private r/w
Data Sharing: public read-only
Data Sharing: public r/w
Media Data
CRUD on Media per user as list of objects...
Media Data
Get User Media and iterate over list...
1
2
3
Tap
4
Web Data
Using standard web GET/POST
Web Data Scripting
Using standard web GET/POST
1
2
3
4
5
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

Vizwik part 3 data