Prev | Current Page 524 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

designrealm.co.uk .
To make life extra easy, the haXe distro comes complete with a very capable persistent database objects
layer called the SPOD. If you ??™ ve ever used the hibernate framework for Java and C#, you could consider
the SPOD as a very lightweight version of this framework, only with a much shallower learning curve
and a much smaller feature list. It is more than powerful enough for the majority of uses, though, and
certainly beats a poke in the eye with a sharp stick.
If you are new to persistent object layers for databases, you ??™ re definitely in for a treat. The Neko SPOD
system is a clever little invention that allows complete mapping between objects and database tables,
providing the means to query and update the contained data without having to write a single line of SQL.
Choosing a Database
Okay, so you ??™ re not exactly spoiled for choice when it comes to selecting a database for use in your haXe
applications. Quite frankly, though, you couldn ??™ t really ask for more. The three database servers that the
Neko Virtual Machine does support natively cover a broad area of capabilities, so requesting the services
of an unsupported database can only really be justified in the case of existing data sources.


Pages:
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536