E B V CHAPTER 6 DECOUPLED NAVIGATION

E B V CHAPTER 6 DECOUPLED NAVIGATION PATTERN 5. Applicable: The images as they are presented are visually similar to the classical and static graphic links. The difference is that the onclick events are captured and processed by using JavaScript. 6. Applicable: This scenario would usually be inapplicable because the check boxes would be part of an HTML form. In this scenario, the check boxes are applicable because selecting and deselecting the boxes causes some JavaScript filtering code to make circles appear or disappear on the map. 7. Inapplicable: This example HTML form would typically be applicable because a JavaScript script would execute to change the contents of the pop-up. However, in this scenario the Decoupled Navigation pattern is inapplicable because the resulting navigation causes another web browser window to appear. 8. Applicable: The graphic on the map is a so-called hot spot because when a mouse moves over the graphic, a pop-up box (like the yellow dialog box) appears. This scenario is applicable because a JavaScript script has to wire the onmousemove event with the appearance of the pop-up box. 9. Inapplicable: The advertisement is inapplicable because in most cases the content used to generate the advertisement has absolutely nothing to do with the content of the HTML page. From the different scenarios there are a few rules of thumb indicating when the Decoupled Navigation pattern applies and does not apply: When applying the pattern, there will be some JavaScript that represents some application logic. This is one of the main considerations as it indicates some intelligent decision- making process is required. Each application of the pattern involves an event, a URL, application data, and some form of presenting that data. If the navigation requires any type of data processing, the Decoupled Navigation pattern can be applied. Do not confuse this with data gathering, as that is what a plain-vanilla HTML form does. Associated Patterns The Decoupled Navigation pattern is an extension of the Content Chunking pattern. The Content Chunking pattern outlines a strategy whereby areas of an HTML page are defined to be filled with chunks of content. The Content Chunking pattern does not define what content is injected into the areas or how. The role of the Decoupled Navigation pattern is to define that what and how. When the Content Chunking pattern is implemented, a function calls XMLHttpRequest, which generates some data that is then injected into the current HTML content. The Decoupled Navigation pattern does chunk content, but does so with a strategy in mind. The strategy involves the execution of the following sequence of steps: an HTML event is generated, a URL
Go visit our java server pages services for a reliable, lowcost webhost to satisfy all your needs.

Leave a Reply