CHAPTER 6 DECOUPLED NAVIGATION PATTERN E B (Remote web server)
CHAPTER 6 DECOUPLED NAVIGATION PATTERN E B V N Figure 6-19. Example HTML components for dynamic content Let s illustrate how to integrate the pop-up box HTML content and inspect the related HTML page (see Figure 6-20). Figure 6-20 shows two text boxes that have been highlighted. The upper text box contains the common code that can be stored in a separate JavaScript file. The lower text box contains the user example code that is created as a prototype of how to invoke the common code. When implementing the Presentation functionality, the common code is not touched and is treated as its own module. What is touched and modified is the user example code. The clear separation of the common code and the code used to invoke the common code is a very good HTML component. Such a definition of an HTML component indicates that the HTML component has been decoupled and can be plugged into an unrelated infrastructure. One of my pet peeves with many web application and Ajax frameworks is that they are not decoupled. Often the client-side technology relies on server-side technologies, and the client is coupled with other pieces on the HTML page. The result is a monolithic application that happens to function as a web application and Ajax application. However, these applications miss the main thrust of the Ajax and REST philosophies.
Check Tomcat Web Hosting services for best quality webspace to host your web application.