Prev | Current Page 37 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

When compiling to JavaScript with the haXe compiler, haXe
provides a set of functions that form a small framework for maintaining suitable cross - browser
JavaScript functionality.
Compiling to Neko
haXe compiles to the Neko byte code format, in a similar way to how it handles Flash byte code. The
compiled files are used by the Neko virtual machine in a very similar way to the Flash virtual machine,
though any player support must come from a third - party library.
Usually, one would write for the Neko virtual machine for the purpose of creating server - side web logic
using the mod_neko module or to create a desktop application for use in a command console or batch
file. Using third - party modules, it is also possible to create desktop applications and full network ready
server frameworks of any scale.
Although not much has been mentioned yet about the Neko language, compiler, and virtual machine,
they do form a fairly substantial part of this book. The Neko framework is discussed in detail in
Chapter 9 , ??? Building Websites with haXe.


Pages:
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49