Qondrite and Asteroid

2015-01-06 00:00:00 +0000 by Alex R. Young

There's a library for Meteor called Asteroid that allows you to connect any JavaScript front-end to a Meteor server. That means you can use Meteor with existing applications, or your preferred front-end framework.

Attila Csipa has created a new library called Qondrite (GitHub: achipa/Qondrite, License: MIT) that is a QML wrapper for Asteroid. QML, or the Qt Meta Language, is a declarative markup language based on JavaScript for creating mobile applications. It's used by KDE Plasma 5 and Unity.

Qondrite allows you to create Qt projects with Meteor backends. This seems like an ideal way to make an open source version of something like Parse, where you get a simple server-side system that has mobile support. I've never written any QML myself, but I'd be interested to see if Qt for iOS could be used with Qondrite.

Attila has posted a video where you can see the library in action: Meteor and Qt. If you want to install the library, take a look at the installation details in the readme. There's also a demo application with a small QML file:

import QtQuick 2.0

Item {
  Loader {
    id: mainWindow

  Component.onCompleted: {
    if (Qt.platform.os === "android")

Notice how it forks for Android or desktop. This is also reminiscent of Xamarin.