Prev | Current Page 834 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

You will learn how to stretch
the bounds of programming with haXe and how to achieve results otherwise impossible to obtain.
The following topics are covered:
How to use advanced XML handling
What reflection API is
How to use Runtime Type Information
Serialization and deserialization
haXe Magic
XML
The base XML class is good because it provides you with a unified way to deal with XML
documents in a cross - platform way but it is sometimes a little too repetitive to use. The haxe.xml
package contains two classes that can really speed your coding: Fast for fast retrieval of elements
and Check to rapidly create a validation schema for your documents.
Fast
The Fast class is a cool class to access and traverse XML documents effectively and with a less
verbose approach than the one provided by the standard XML class. It has been developed to
rapidly retrieve nodes of the Element type. Fast instance variables have a peculiar characteristic:
They are not used to store and retrieve data directly but they are used as operators to query an Xml
node.


Pages:
822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846