CHAPTER 6 DECOUPLED (Unlimited web hosting) NAVIGATION PATTERN The three
CHAPTER 6 DECOUPLED NAVIGATION PATTERN The three functionalities are described as follows: Action: Represents the HTML element and the associated HTML events. A link with an implementation of the onclickevent is an example of Action functionality. The purpose of the Action functionality is to instantiate the navigation process and prepare the data. Common Data: The Common Data functionality does two things: define a common data structure called state, and provide a function to manipulate the state. The state is a data structure shared by all functionalities. The function to manipulate the state may be purely local or may involve a remote XMLHttpRequest object call. One example of using a state function is to manipulate the state by using an XSL transformation. Presentation: Represents the physical representation of the state. The Presentation functionality transforms the state into something that the user can see and potentially interact with. The transformation may be a pop-up box, window, or HTML injection. It is important to realize that the Presentation functionality only reads and does not change the state. Considering the Decoupled Navigation pattern and its functionalities, you can see that the pattern is concerned primarily with the client side. The Decoupled Navigation pattern is responsible for defining, calling, and processing the URLs. From the perspective of the Decoupled Navigation pattern, the server side is some other functionality that implements the appropriate patterns such as the Permutation pattern. Figure 6-6 illustrates the Decoupled Navigation pattern in abstract terms, and that is good for understanding what needs to be implemented. However, to get an idea of what is involved E B V N technically, Figure 6-7 illustrates the three functionalities and their associated implementations. Figure 6-7. Three functionalities and their associated technical implementations
We highly recommend you visit web and email hosting services if you need stable and cheap web hosting platform for your web applications.