Hi all,
I am proud to announce the availability of Microbuilder.
Microbuilder is a toolkit that helps you build system across micro-services implemented in various languages communicating via RESTful JSON API.
We, some people in ThoughtWorks Xi'an built Microbuilder.
We designed a language to define RESTful JSON API, named MIDL (Microbuilder Interface Definition Language).
You can define data structures and endpoints in object-oriented syntax, with a few annotations like @:route.
@:final class UserProfile {
public function new() {}
public var name:String;
public var email:String;
public var address:String;
}
interface IUserService {
@:route("GET", "users/{id}")
function getUser(id:String):UserProfile;
}
You can perform following tasks around MIDL when building microservices:
Note that every task listed above is optional. For example, you may want to create MIDL to fit the current API of a legacy service, and generate client-side SDK and documentation for it, so that other applications will be easy to communicate with the legacy service. However, you will not generate server-side stubs because you already have a service implementation before.
See the following links for a brief view of Microbuilder:
You can ask any question in Gitter chat room:
Also, Microbuilder is separated into several libraries, each library has its own documentation and distribution.
Universal Serialization Framework for JSON
Microbuilder runtime and tools for all languages
Microbuilder runtime for JavaScript
Microbuilder runtime for Scala and Play framework