Prev | Current Page 462 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"


First, the method returns a path in the local filesystem and not any kind of Internet URI. Second and
more important, the path is absolute and indicates the directory location where the neko module has
been activated. If you are using NekoTools server, it is the directory where the command has been
executed; if you are using the mod_neko module, then it is the base directory configured in the web
server; of course the two can coincide in many situations.
Using Neko as a Front Controller
The following example is more complex but far more satisfactory. You will pretend to build a basic Wiki
application: a site whose contents can be quickly modified by the users directly in their browsers. The
word wiki derives from the Hawaiian Wiki - Wiki expression, which means rapid . The features of the Wiki
you pretend to implement are:
Every page can be immediately modified clicking on an edit link. The edit page is composed
by a simple form that allows content alterations.
New pages can be added simply by navigating to the pretend location and clicking the edit button.


Pages:
450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474