Ankor

is a new event-driven framework for scalable application development.

Ankor is responsive and supports multi-core hardware by design.

It has out box support for multiple platforms and technologies.

  •  JavaFX
  •  HTML5
  •  .NET
  •  iOS
  •  Android
  •  JEE
  •  Spring

Get started today

View Model

Implement your view model and all the behavior on server side. Let Ankor synchronize the data and propagate events across the wire.

"root": {
  "person": {
    "firstName": "John",
    "lastName": "Doe"
  }
}

MVVM is an event-driven UI programming pattern originated from Microsoft. Using Ankor you are able to implement all the behavior on server side, whereas the state can be managed on the client and/or server side.

UI Binding support

Bind your View Model properties to UI controls. Ankor comes with binding support for several UI technologies. Here's a JavaFX example:

Ref rootRef = FxRefs.refFactory().ref("root");
Ref nameRef = rootRef
    .appendPath("person.firstName");

textCtrl.textProperty().bind(
    nameRef.fxProperty());

As a developer you just bind view model properties to your UI controls. The binding typically works both ways UI control to model and vice versa.

Event-driven framework

React to events asynchronously even on server side. Implement your Action and Change Listeners in Java. Just annotate your View Model to register Listeners.

@ActionListener
public void addTask(
    @Param("title") final String title) {...}

@ChangeListener(pattern = ".filter")
public void filterDidChange() {...}

An application based on asynchronous communication implements a loosely coupled design, much better so than one based purely on synchronous method calls.