OTS: Object Type Specifications
Pure Native mobile apps offer close-to-the-device slickness. Pure Web apps offer close-to-the-net mashability. OTS offers both.
OTS differs from approaches that start from the pure Web and use technologies that move towards pure Native apps. These are compromise solutions that give only some of the benefits of pure Web and pure Native. Examples of this approach are the HTML5 and related Javascript APIs, the WAC APIs, Javascript toolkits that emulate Native look and feel such as JQuery Mobile, and packaging tools like PhoneGap.
OTS, in contrast, starts from pure Native apps and adds the pure Web. In OTS, everyone publishes simple, dynamic JSON objects into a linked-up Web. A Native OTS app such as NetMash is entirely driven by this Web of JSON objects animated by multiple sources - allowing them to be viewed and interacted with.
The mobile device itself, via this app, is itself a main source of such dynamic objects, such as one representing the user. User data such as current location, latest photo and status messages are pushed to their "home" servers as they update and then on to other users via the mobile app - perhaps updating their icon on a map as they move.
In OTS there are no application boundaries - no separate weather, chat, map or photo-uploading apps, with their separate logins. There is one map, one calendar and one place to set permissions on what is publically visible. Any "app" can just link to and include or allow jumping to any other. Links to objects may appear as interactive widgets when nested within other objects, or full interactive applications when opened fully.
Here's a slideshow showing how you view and interact with OTS objects, along with their "view-source" JSON:
Here is a similar, but much more detailed set of slides on OTS[ppt].
Object Type Specifications or OTS are JSON object formats or schemas that can represent dynamic, sharable data such as user profiles, contacts, messages, media metadata, dates, locations, user interfaces and forms, etc - such data as is common and useful on mobile devices.
OTS has a similar role to HTML5, but is much, much simpler, and has a far greater emphasis and focus on interactive applications and two-way dynamic data for mobile.
Another major difference to HTML5 and Native apps is that, being FOREST-backed, OTS objects are programmed declaratively (in Fjord), execute concurrently and are distributed RESTfully.
OTS is being implemented in the NetMash Java application: client-side for Android, server-side for the Cloud. NetMash is an Android "Mobile-to-Cloud" platform.
OTS was introduced in this blog post,
I'm working on an approach that brings Native apps and the Web closer together, so that you should be able to get the benefits of both Native and the Web. It's called 'OTS', and the idea is pretty simple:
OTS creates a middle ground between downloading Native apps and fetching Web documents: you fetch OTS objects instead.
OTS objects are simple, open data structures representing mobile stuff: people, places, dates, photos, messages, feeds, lists, galleries, user interfaces, forms, maps, calendars, etc.
These objects are linked together into the Web. Some come in from the Web, some represent on-device data that can be pushed back into the Web. It's a dynamic, two-way set-up.
Then the Native OTS app on Android, iPhone, etc, can show these Web objects and allow the user to interact with them, in Native look'n'feel.
You only have one Native OTS app, but, like a simple, mobile-dedicated browser, that app can access an entire Web-full of data and functionality in dynamic OTS objects.
There are no application boundaries: it's a seamless experience allowing you to jump from one application or content source to another, with one user per user, one map, one calendar, one place to set permissions on your stuff. There's no manual saving, uploading or downloading, no hitting refresh to see updates, no waiting for the network to fetch what you've already seen before.
For example, you have an OTS person object representing you, and your current location. As you move, it changes, and, if you want, this object can be pushed to a server for others to see you, moving in real time on their maps. Just like on the Web, you and your friends can share the links to your person objects around, so you can all watch each other converge on a restaurant on your own maps.
You don't need to launch separate chat, weather and photo-sharing apps: you can plot the weather on that same map - or the same calendar - and see what people are saying or what picture they just took, by simply tapping their icon on the map.
OTS objects are much closer to Native mobile than Web documents, and much closer to the Web than separate Native apps.
So you can get the slickness of Native and the mashability of the Web.
Contact me and/or subscribe to my blog.
[B112]