Michael
It's not my usual area of Haxe, but I have been around enough to point
you in the right directions:
> In php I can mix html and php but neko it's binary...
"Neko you mix it with Html using a Template"
> For example, assume that I have some News in database, and I want to
> pull them with Neko and push them to Html, How can i do that?
The News in your database is translated to Objects using 'spod' ( ORM -
Object Relational Mapping ). You can then use 'template' to populate
Html with the objects ( news content ).
You can find more information from the 'use case' section of the current
website.
http://haxe.org/use-cases/web/
But specifically take a look at:
Spod - DB -> Objects
http://old.haxe.org/manual/spod
Template - Objects -> Html
http://haxe.org/manual/std-template.html
Currently this has been packaged up with loads of goodies in Ufront a
ready made solution.
https://github.com/ufront/ufront
Best
Justin