As a quick experiment this afternoon, we clicked our way through a tutorial to Kendoui and modified it slightly to show data from the Slashdb demo instance. As you can see in the picture a simulated iOS app is displaying data from a SlashDB URL.
Data from SlashDB shown in KendoUI app.
There are two code parts that make up the app.
1. Declarative HTML5 application layout
<!--Add Mobile App HTML --></pre> <div data-role="view"> <div data-role="header"> <div data-role="navbar">Northwind Customers</div> </div> </div> <pre>
2. JavaScript initialization and data fetch code
//Mobile App Initialization Code var ds = new kendo.data.DataSource({ transport: { read: { url: "http://demo.slashdb.com/db/Northwind/Customer/CompanyName.json?limit=41", dataType: "json" } }, }); ds.read(); window.ds = ds; var app = new kendo.mobile.Application(document.body);
The post Mobile App in a few clicks using SlashDB and KendoUI appeared first on Instant REST API for Databases | SlashDB.
This post first appeared on Instant REST API For Databases | SlashDB, please read the originial post: here