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!