Prev | Current Page 720 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

0 paradigms are just concepts that highlight the necessity to provide richer interactivity
to the user and to develop better interfaces.
So how can you build richer and more interactive pages? The short answer is JavaScript. A web
page is composed (or at least should be composed) of three distinct layers:
Content layer: This is provided by the HTML document that defines the text contents, the
references to external resources, and the structure.
??‘
??‘
??‘
??‘
??‘
??‘
388
Part II: Server Side, JavaScript, and Flash: Oh My!
Presentations layer: This is provided by one or more associated style sheets commonly in the
Cascading Style Sheet (CSS) format.
Behavior layer: This is provided by one or more script blocks usually written in JavaScript
language that is the only language currently available in all the modern web browser software.
The presentation layer and the behavior layer should always be made optional. Even if disabled or
removed, the page content should be displayed in a meaningful way. The presentation and behavior
layer must be provided to enhance, sometimes considerably, the navigation experience and are not
contents on their own.


Pages:
708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732