Haxe for Websites and Web Apps

Haxe gives you a powerful language and useful libraries for writing both server-side and client-side code.

On the client, you can target HTML5 in the browser using Haxe's JavaScript target. Haxe's strict type system means you catch errors at compile-time, and can maintain large code bases with confidence. You can interact with many existing JS libraries using externs.

On the server, you can target PHP (for cheap hosting), or Node.js for access to the massive repository of libraries and tools. Because of Haxe's variety of target languages, Python and Java backends are also at your feet!

Best of all, your client-side code and your server-side code can use the same language, sharing common code and communicating effortlessly.

Haxe is what JS should be: a lightweight, easy to learn, statically typed language with a real and useful compiler.

Peter Halacsy, Co-Founder & CTO at Prezi

Using Haxe to build our web-app meant we were able to build code that ran fast, was maintainable and made it painless to jump between client and server without skipping a beat.

Jason O'Neil, Lead Developer, Sheridan Research Institute

Popular Libraries

  • MVCoconut

    A pure Haxe virtual DOM library for building component-based reactive views, powered by tink libraries. Coconut has renderers for React, React Native and its own HTML coconut.vdom renderer.

  • Haxe modular

    Code splitting and hot-reload for Haxe-JS applications. Haxe modular is a set of tools and support classes allowing Webpack-like code-splitting, lazy loading and hot code reloading. Without Webpack and the JS fatigue.

  • Haxe React

    React JS applications development using the Haxe language.

  • Haxe JS Kit

    A collection of externs to interact with key JavaScript projects, including NodeJS, Express, Socket.io and more.

  • Electron

    Haxe type definitions for Electron, a framework for building cross-platform desktop applications with JavaScript, HTML, and CSS.

  • Tinkerbell HTTP

    Tinkerbell HTTP provides a cross platform abstraction over the server and client side of HTTP, based on asynchronous immutable streams. Also has Web Routing extension

  • jQuery

    A simple way to interact with jQuery from Haxe.

Videos

Coconut. Searching the Holy Grail of UI - Juraj Kirchheim

Coconut. Searching the Holy Grail of UI - Juraj Kirchheim

Modular Haxe JS with Webpack & Lix Haxe Package Manager

Modular Haxe JS with Webpack & Lix Haxe Package Manager

"A walk-through of Haxe JS Kit" by Clément Charmet

"A walk-through of Haxe JS Kit" by Clément Charmet

Haxe and WebGL - George Corney

Haxe and WebGL - George Corney

Golgi: Fast cross platform routing and dispatch - Justin Donaldson

Golgi: Fast cross platform routing and dispatch - Justin Donaldson

 HAXE as a fullstack language - Kevin Leung

HAXE as a fullstack language - Kevin Leung

Have a success story?

Let us know and we might add it to the showcase.