O'Reilly logo

haXe 2 by Benjamin Dasnois

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Communication Between haXe Programs

Using haXe remoting.

haXe is a language perfectly suited for web-applications. When one says web applications, it generally means connected applications. Fortunately, haXe has a system to help applications communicate: haXe remoting.

In this chapter, we will talk about haXe remoting and how it can be used to make our haXe applications communicate. As you will see, it is in fact pretty easy to use.

In this chapter, we will:

  • Learn about the haXe serializer
  • Use Neko and PHP applications as clients and servers
  • Create a JS client
  • Create a Flash client
  • Communicate between Flash and JS

Although this is all pretty easy to do and understand, it is also very useful.

So, if you are ready, let's move on!

The haXe serializer ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required