Onex is a mobile app that will enable people to build their own apps directly on their devices.
It offers a new kind of visual programming language that makes building an app as easy as building a spreadsheet but as powerful as the complex native programming languages.
So app-builders generally offer visual approaches to enable people to more easily build their own apps, such as instruction or function blocks that are clicked or wired together, or "if this then that" event-action style rules:
However, these visual languages are simplistic: they lack the power to express and compose more complex custom applications due to their lacking the ability to modularise and layer the programs.
Further, all of these approaches make it hard to see what's going on with the actual 'stuff' that you're working with: your data. In other words, when programming in these visual languages, you can see the processing functions, the events and the actions, but not the data they work on. This is also true of all the native languages.
Spreadsheets don't have that problem, and are often used by non-coders to build certain kinds of apps. The data in a spreadsheet is the first thing you see, so you always feel in control. The formulae work 'behind the scenes', and can be edited when you enter a cell that happens to be generated that way:
However, spreadsheets are still very limited in their power to express complex applications in a clean and easily-managed way.
Spreadsheets have a continuous, 'infinite' grid into which all your work is placed, but there is no concept of a 'chunk' of related data. You may have it in your mind that this area of the spreadsheet is a cost lookup table, this area is the plan, and this the final costings. But the spreadsheet knows none of that, so can't help you manage those chunks.
It doesn't really know that this column header describes the data in this column: you could move all the data in the columns away from their corresponding headers, and right on top of the data of the lookup table, and the spreadsheet would happily let you. It lacks data 'chunking' or understanding of your intended data structure.
So, instead of a simple spreadsheet, you could use a flexible database app like Airtable, Memento Database or MobiDB:
These apps allow you to structure your data much better, and link data up. Plus they can still be programmed like a spreadsheet, with formulae describing dependencies between table entry values.
However, being inside each cell means that formulae are copied again and again as required. And if you want to change them, they have to be re-copied, hopefully into exactly the same places.
Also, a cell value can only have a single formula to determine it, so sometimes those formulae have to be quite complex in order to encapsulate a number of possible conditions, and may have to line up with other complex formulae with parallel conditions.
The re-use of the hidden formulae by copying (instead of having them in just one place and visible at all times), plus the difficulty of managing complex conditions across many formulae, all make it hard and error-prone to evolve and maintain your program. This is essentially the same issue the above apps had with scaling: inability to structure your more complex programs into modules and layers.
For all these reasons, spreadsheets and mobile database apps aren't suited to enabling non-programmers to build complex, general purpose mobile apps.
Like spreadsheets and databases, Onex also starts with your data..
Onex really has just one simple concept - the 'linked object', for both data and formulae; Onex enables you to chunk up both your data and your formulae into separate 'objects', which can then be linked together.
In Onex, you build collections of objects for your data and link them up to each other. You then link data objects to rule objects. Rule objects separately represent the formulae - the rules that describe your data dependencies.
In the same way that a spreadsheet formula describes how a cell value depends on another cell value, an Onex rule object describes how the values of a data object depend on other values in that object or in other linked objects.
You can link to any rule object from any other object, so you only need to change the rule once and all linked objects will now behave differently.
A single rule object can simultaneously set multiple values, plus many rules can potentially set any given value, which means you can collect related formulae that work together.
Well, here's a quick intro:
And here's a Todo app:
Of course, but baby steps .. just being a better mobile spreadsheet or database will come first!
Next on from this, Onex will allow programs based on your media, contacts, calendar events, sensor values, etc.
This is when the power of the approach starts to shine - opening up your device so you can see and control every aspect of it. Existing data and sensors will be represented by pre-existing objects in lists.
The next step after the above is to add peer-to-peer networking - direct from one device to another - so that people can both share and connect their Onex apps and write a whole new class of collaborative and multi-player programs.
You share both data objects and rule objects through links to them, so that all you need to do to wire your data together or use another person's rules, is to share a link to them.
Onex is built from the ground up on a 3D technology, so the next feature will be to allow people create their own 3D games and worlds.
Indeed, at this stage, all the elements are in place to build an open "Metaverse" or global shared VR world, which will run directly between your devices, rather than being centrally owned and hosted.
Obviously, Onex would be a great language for everyone to be in full control of their smart home. Rather than conceding your private environment to a remote service, you'd be in full control of the programs running your house and over the data you alone should own. Of course, you can share (directly, peer-to-peer) with other friends and family, if you want.
The core or kernel of Onex is written in a compact and portable language (C) that can actually be run on the devices as an operating system and will be able to run your Onex programs directly on the device.
Oh no, there is a scattering of other eccentrics and dreamers like me. Here's a list of somewhat related projects with similar approaches and similar ambitions:
Chris Granger's Eve programming environment has a similar data-first approach and goal of empowering non-coders.
Jonathan Edwards' work has taken many turns, the latest of which is Chorus. Here's the video and the homepage.
Nothing to see yet, really, but here's a three-page website.
Watch this video - it describes the goals of their Urbit project, which are very similar to those of Onex.
I wouldn't go much further than that into Urbit, though, if you value your sanity.
This article in IEEE Computer gives an overview of the field we're talking about here, although the Semantic Web solutions offered there are going in a different direction to the Object Network.
Here's one of the three articles, without any Semantic Web aspects.
There's a university page, a paper and a video.
Spreadsheet-like, 2D visual interface for SQL data queries There's a paper and a video for this one too.
This appears to be a commercial product called Kayia, but was introduced in a video as Kaya and appears on GitHub.
First useful app - with better spreadsheet/database functionality - will come out on the Play Store just the minute it's useful! Other than that, can't really say.
Meanwhile, here's my sketch for the Onex app website and you can watch the weekly progress of Onex coding on GitHub!
Contact me and/or subscribe to my blog and/or follow me on Twitter.