Prev | Current Page 719 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"


??‘
??‘
??‘
??‘
??‘
??‘
??‘
??‘
??‘
??‘
??‘
More Interactive Content
with JavaScript
When properly used, the JavaScript language can be a very powerful tool to enhance the user
interaction with web pages. This chapter shows how to use haXe to produce useful scripts and to
implement AJAX. This chapter reviews the following topics:
What JavaScript can do
Which tools can help the developer to work better
What the haXe JavaScript API is
How to validate a form on the client side
How to use AJAX with haXe
Dynamic Content in JavaScript?
Chapter 9 discussed how to generate dynamic contents for web pages using Neko; the server
receives a request and produces a suitable response that is sent back to the client. This is perfect
when the requested document provides no further interaction or the interaction is limited to
navigating to other pages. Nowadays sites are more and more interactive pieces of software; they
require much more than hyperlink navigation. The Asynchronous JavaScript and XML (AJAX) and
the Web 2.


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