Prev | Current Page 463 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"


??‘
??‘
Chapter 9: Building Websites with HaXe
239
The syntax of the page content will be a standard HTML fragment (only the elements that can be
contained inside the body are permitted).
Support for a multilevel tree structure. Each page can have unlimited child pages.
The current page breadcrumbs is automatically generated. In web development, a breadcrumb
is an indication of the page location inside a complex structure. When you use the breadcrumbs,
it is possible to navigate to the parent containers of the current page.
The title of each page is derived from its URI.
Use text files to store the created pages.
The result of this small project is visible in Figures 9 - 1 and 9 - 2
??‘
??‘
??‘
??‘
??‘
Figure 9 - 1
240
Part II: Server Side, JavaScript, and Flash; Oh My!
Figure 9 - 2
As already done before, the project structure can be prepared creating a new directory wiki . Inside the
web , src , and pages directory are created. The pages directory will contain the contents of the Wiki that
are created dynamically.


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