A flexible and modular API which provides a highly configurable and customizable framework written in Haxe.
Combining the power of Haxe and Beluga, you can easily build cross-platform web application targeting all the mainstream technologies natively.
Beluga is an open source framework built to create web applications. It is based on a modern high level programming language: Haxe. It was initially created to help game developers to quickly implement their browser game, written in Haxe, inside a full integrated web environment. Learn More.
Beluga is not a framework for game development, such as Haxe Flixel. It doesn't provide any game mechanism. It is only designed to provide an high level API to create we application in Haxe. Learn More.
Haxe is an open-source high-level multiplatform programming language and compiler that can produce applications and source code for many different platforms from a single code-base. Learn More.
/*
* Exemple of the minimum code to make a working authentification
*/
static function main() {
Assets.build();
var beluga = Beluga.getInstance();
Sys.print(beluga.getModuleInstance(Account).widgets.loginForm.render());
beluga.cleanup();
}
In few lines of code, you are able to display an authentification page!
Beluga is an open source framework built to create web application. It is based on a modern high level programming language: Haxe. It was initially created to help game developers to quickly implement their browser game, written in Haxe, inside a full integrated web environment.
In the today web practices, we noticed that modularity and flexibility are unavoidable requirements. As a result, we designed a highly modular framework based on plugin system, called module; all centrelized around a core. One of its main assets is the communication system we established between the modules, named "trigger system". To do it shortly, when an operation ends, this one throws a signal (or trigger) to warn about the current state of the operation (success or failure, for example). All of these triggers are catchable, it means you can listen these trigger and run your own code when something occurs. Don't wait any longer: Catch'em all!
Beluga is design to be as light as possible and it's possible thanks to our trigger system once again. Indeed, this system allows to reduce the dependencies between the modules. The modules are not "linked" together, they "communicate" which means they are not inter-dependent.
As a result, with such a system, it becomes possible to select the modules you want to load and the one you don't want.
In order to provide a good base, we decided to provide around 15 modules for our first release. Among them, you can find: an account manager, a forum, an advertiser manager, a market, a payment system, a news manager... And it goes on!
Each of them possesses hundred of functionalities and are fully integrated inside a modern Twitter Bootstrap environment.