Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
haXe 2 Beginner's Guide

You're reading from  haXe 2 Beginner's Guide

Product type Book
Published in Jul 2011
Publisher
ISBN-13 9781849512565
Pages 288 pages
Edition 1st Edition
Languages

Table of Contents (21) Chapters

haxe 2
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting to know haXe 2. Basic Syntax and Branching 3. Being Cross-platform with haXe 4. Understanding Types 5. The Dynamic Type and Properties 6. Using and Writing Interfaces, Typedefs, and Enums 7. Communication Between haXe Programs 8. Accessing Databases 9. Templating 10. Interfacing with the Target Platform 11. A Dynamic Website Using JavaScript 12. Creating a Game with haXe and Flash Pop Quiz Answers Index

haXe remoting


The haXe remoting system can be used with all haXe's targets, but the functionalities which you will be able to use won't be the same as they vary/alter according to the type of platform used.

In addition, haXe remoting can be used over several protocols or transport layers. Again, the ability to use some of them will depend on the platform you are targeting.

Supported protocols and layers

As we discussed earlier, haXe remoting can be used on top of several protocols and transport layers. Functionalities and supported protocols depend on the target platform.

Here are the main supported protocols, by which class they are implemented, and an example of what they can be used for.

Over HTTP

It is possible to use haXe remoting over HTTP. This allows a client to query a server over the HTTP transport and has the advantage of being possible from most platforms.

It is possible to do so in both asynchronous and synchronous modes. In the first case, one will use the haxe.remoting.HttpAsyncConnection...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}