HaxePress
A content management system written in Haxe. Write posts in Markdown, define your own content types, and change the look with themes and plugins. It runs on the JVM or PHP, with SQLite or MySQL.
HxWell gives you routing, middleware, an ORM, sessions and WebSockets. Build the same app for the JVM, C++, HashLink, PHP or Neko.
haxelib install hxwell
class BootProvider extends AbstractProvider {
public function boot():Void {
Route.domain("api.hxwell.org").group(() -> {
Route.get("/{any}")
.handler(new PublicApiHandler())
.where("any", ".*");
});
Route.get("/abort/{code}")
.handler(new AbortHandler())
.where("code", "\\b[1-5][0-9]{2}\\b");
Route.websocket("/online") // connecting…
.handler(new OnlineCountWebSocketHandler());
}
}