Skip to content
Marcela Hrdá edited this page Dec 25, 2013 · 3 revisions

Who likes boilerplate code?

saveUserProfile(user) {
  HttpRequest.request(saveUserUrl, method: "POST", sendData: JSON.encode(user));
}

Future<User> loadUserProfile() {
  return HttpRequest.request(loadUserUrl, method: "GET")
      .then((data) => new User(JSON.decode(data)));
}

And now do not forget to call saveUserProfile whenever the profile changes on the client, to call periodically loadUserProfile to handle the profile changes on the server, to handle lost connection, and many others.

Let the machine do the job!

Programming is about art, not about writing boilerplate code!

Wouldn't this be much simpler?

var userSubscription = subscriber.subscribe("users");
var users = userSubscription.collection;

displayUsers(users);

users.onChange((changeSet) => displayUsers(users));

Now, whenever the users change on the server, we redraw the screen. Writing works similarly easy!

var user = users.findBy("_id", 3);
user["email"] = "[email protected]";

That's it!

Can I use it now?

The project is in its early stage, neither feature complete nor bug free. It will take us few months to deliver first stable version. But stay in touch and we will notify you when the preview comes out. Just send us an email to [email protected].

Can I help?

Definitely. We are looking for bright people that like the idea and can help to polish it, improve it and work with us on it. We are definitely looking for new members of clean team! Just send us an email to [email protected].

How does it work?

Short version: MongoDB and Dart.

Long version: Check the technological background.