JavaScript Modularity with Controllers and Reflection
It is not just on the back end that modularity and the concepts, ideas, and approaches discussed in the chapter so far are useful. Client development can be greatly enhanced by using these ideas as well. An AJAX client must respond to a large number of clicks and other types of user input. Just as with the back end, each of these must be handled.
The purpose of the modules that were created in the previous section was to increase scalability by easing application development and support. This was done by centralizing and generalizing the response to requests for many types of information. The client side of an AJAX application can be created in this same way.
The Front Controller in JavaScript ...
Get Oracle Database Ajax & PHP Web Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.