We have seen that the use of JavaScript is not required to develop complete applications. However, the WaveMaker client framework provides a rich palette to work with for those who wish to take advantage of JavaScript. This chapter will introduce using JavaScript to customize the user interface of WaveMaker applications.
We'll review the asynchronous part of the AJAX model as well as the component and DOM events that dictate how and when we invoke functions, from button clicks to service call returns. Once we understand events, we will explore some of the things we can do within those events. We will work with wm.Variables
and see how they act as instruments for getting and setting data values. Not to be left out, we'll also include the role of JavaScript variables in page code.
We will also cover bindings. We'll show you how you can use simple binding expressions and custom JavaScript to enhance the responsiveness of the user interface...