Prev | Current Page 445 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

The haXe syntax is interpreted by the compiler and transformed into a machine language
ready to be used in software applications. The HTML syntax is interpreted by a software agent (usually
a browser) and rendered to a media (such as the PC screen, a printer, or an audio reader software).
Chapter 9: Building Websites with HaXe
231
Their usages and structures are completely different; what they have in common is the final purpose:
providing contents and user interfaces for web applications. haXe provides the logic and HTML
provides one of the possible outputs.
Neko, introduced in Chapter 1 , is a great platform for server - side applications; it is fast and very
conservative on memory and CPU demands. It has all the aces to become one of the great players for
advanced web applications.
The NekoTools Web Server
The haXe distribution comes with a handy tool named NekoTools . The application has two purposes:
transforming a Neko file ( .n ) into an executable ( .exe on Windows) and serving web contents. The
latter provides a nice environment to test server applications that target the Neko platform.


Pages:
433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457