Prev | Current Page 495 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"


Performances are not the only concern and for many developers they may not be an issue at all; in fact,
Templo is a more complete, feature - rich and mature solution and it works only on Neko. Templo has
been designed specifically for (X)HTML and XML. There is an obvious reason behind that decision,
considering that most of the development made with haXe is web oriented and that web pages in
dynamic websites are almost always produced using templates (see ASP.NET, JSP, PHP, and so on).
Nevertheless there are some implications using such an approach, the most important being some of the
code used in the Templo system will only work if it is placed in the correct markup context.
Use the templates whenever you have complex formatting but do not abuse them, many times string
concatenation will just fit nicely.
Templo for Server - Side Templates
As already mentioned the haxelib contains a project named mtwin that is a collection of tools to speed up
the development of websites with Neko. One of these tools is Templo, a very complete and efficient
template engine.


Pages:
483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507