<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Web And Email Hosting, Jsp, Tomcat, J2Ee, Hibernate Programming Blog</title>
	<link>http://coldfusion.smartwebsitehosting.net</link>
	<description>My Little blog on Php5, MySQL, Java, JSP, Tomcat hosting</description>
	<pubDate>Fri, 28 Mar 2008 12:14:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>
	<language>en</language>
			<item>
		<title>194 CHAPTER 6   DECOUPLED NAVIGATION PATTERN E  (Net web server)</title>
		<link>http://coldfusion.smartwebsitehosting.net/coldfusion/194-chapter-6-decoupled-navigation-pattern-e-net-web-server/</link>
		<comments>http://coldfusion.smartwebsitehosting.net/coldfusion/194-chapter-6-decoupled-navigation-pattern-e-net-web-server/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 12:14:40 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>Coldfusion</category>
		<guid isPermaLink="false">http://coldfusion.smartwebsitehosting.net/coldfusion/194-chapter-6-decoupled-navigation-pattern-e-net-web-server/</guid>
		<description><![CDATA[194 CHAPTER 6   DECOUPLED NAVIGATION PATTERN    E B V N Figure 6-20. Pop-up box HTML component details   Pattern Highlights   Based on its description in the  Architecture  section, the Decoupled Navigation pattern might  seem unnecessary. However, the usefulness of this pattern became obvious in [...]]]></description>
			<content:encoded><![CDATA[<p>194 CHAPTER 6   DECOUPLED NAVIGATION PATTERN    E B V N Figure 6-20. Pop-up box HTML component details   Pattern Highlights   Based on its description in the  Architecture  section, the Decoupled Navigation pattern might  seem unnecessary. However, the usefulness of this pattern became obvious in the  Implementation   section. With Ajax, complex web applications are going to be written that navigate very  sophisticated data. Navigating the content means using some type of link, and logic on the  client side, and that is the heart of the Decoupled Navigation pattern in that it aims to organize  and decouple the various pieces of the logic. All of this was illustrated by an example that  became progressively more complex.   The essence of this pattern is to focus on the client side and to break apart the pieces of an  HTML application so that maintenance, extensibility, and coding are simpler and can be overseen.  The fact is that many HTML applications are complicated, and maintaining oversight of  these applications is imperative.   For each of the functionalities, there are some rules of thumb.   For the Action functionality, the following rules are defined:    Use the id property to uniquely identify all HTML elements that will be used in the  application.    The HTML event object instance should be abstracted for simplicity and robustness.   <br />If you are searching for cheap webhost for your web application, please visit <a href="http://tomcat.g5websitehosting.com">MySQL5 Web Hosting</a> services.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://coldfusion.smartwebsitehosting.net/coldfusion/194-chapter-6-decoupled-navigation-pattern-e-net-web-server/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>CHAPTER 6   DECOUPLED NAVIGATION PATTERN E B  (Remote web server)</title>
		<link>http://coldfusion.smartwebsitehosting.net/coldfusion/chapter-6-decoupled-navigation-pattern-e-b-remote-web-server/</link>
		<comments>http://coldfusion.smartwebsitehosting.net/coldfusion/chapter-6-decoupled-navigation-pattern-e-b-remote-web-server/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 00:31:35 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>Coldfusion</category>
		<guid isPermaLink="false">http://coldfusion.smartwebsitehosting.net/coldfusion/chapter-6-decoupled-navigation-pattern-e-b-remote-web-server/</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>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.    <br />Check <a href="http://domain.tomcatjavahosting.com">Tomcat Web Hosting</a> services for best quality webspace to host your web application.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://coldfusion.smartwebsitehosting.net/coldfusion/chapter-6-decoupled-navigation-pattern-e-b-remote-web-server/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>192 CHAPTER 6   DECOUPLED NAVIGATION PATTERN For  (Web server address)</title>
		<link>http://coldfusion.smartwebsitehosting.net/coldfusion/192-chapter-6-decoupled-navigation-pattern-for-web-server-address/</link>
		<comments>http://coldfusion.smartwebsitehosting.net/coldfusion/192-chapter-6-decoupled-navigation-pattern-for-web-server-address/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 08:07:35 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>Coldfusion</category>
		<guid isPermaLink="false">http://coldfusion.smartwebsitehosting.net/coldfusion/192-chapter-6-decoupled-navigation-pattern-for-web-server-address/</guid>
		<description><![CDATA[192 CHAPTER 6   DECOUPLED NAVIGATION PATTERN   For the event call nav.call, the new function is PopupDialogbox and it is defined as follows:   function PopupDialogbox( common, state) {  InjectHTML( common, state);  document.getElementById( &#8220;showimage&#8221;).style.visibility = &#8220;visible&#8221;;  document.getElementById( &#8220;title&#8221;).innerHTML = state.title;   }   The function PopupDialogbox [...]]]></description>
			<content:encoded><![CDATA[<p>192 CHAPTER 6   DECOUPLED NAVIGATION PATTERN   For the event call nav.call, the new function is PopupDialogbox and it is defined as follows:   function PopupDialogbox( common, state) {  InjectHTML( common, state);  document.getElementById( &#8220;showimage&#8221;).style.visibility = &#8220;visible&#8221;;  document.getElementById( &#8220;title&#8221;).innerHTML = state.title;   }   The function PopupDialogbox is an adapter of the predefined pop-up box component. By   using the function InjectHTML, you inject the text in the table cell destination, destContent. The   first getElementById references the property visibility and is used to make the div HTML   element appear. The second getElementById references the innerHTML property and is used to   assign the title of the pop-up box. The title would be assigned in the common.complete function   implementation.   In the example, PopupDialogbox is a function defined in the HTML page itself. But there is   no reason why the function could not be reused in different contexts whenever a pop-up box is   necessary. Additionally, the PopupDialogbox function needs other cosmetic changes, such as   orientation and size of the pop-up box, that are not illustrated. The changes are not illustrated   because they are application specific and do not help explain the Decoupled Navigation pattern.   Using HTML Components   When I was writing the details of this pattern, I was reluctant to repeat content that was written   E B V N in great detail in other books or websites. After all, providing a bunch of widgets and their  explanations without going into great detail is a very bad idea. However, I also knew that the  Presentation functionality requires the explanation of HTML components.  My original idea was to spend pages and pages explaining some basic HTML components  such as pop-up boxes, menus, and pop-up windows. So off I went to explore how other people  were building these HTML components. During my exploration, I hit upon the website http://  www.dynamicdrive.com. At first I thought, interesting site and neat components. It did not have  everything, but it was good. It was not until I had to start explaining how to create HTML  components that I realized the brilliance of this website.  I thought I would have to spend hours integrating a pop-up box into the Decoupled Navigation  pattern, when in fact it required only 20 minutes. At that point, it hit me that the best way  to explain the Presentation functionality was to explain how to integrate HTML components.  But as my exploration continued, I learned that there were good HTML components and bad  HTML components. So as part of the implementation of the Decoupled Navigation pattern,  I want to explain a good HTML component site so that when you are exploring for your own  HTML components, you will be able to gauge a good or bad HTML component. After all, you  do not want to write your own pop-up box. It has been done often enough.  Figure 6-19 is a snapshot of the http://www.dynamicdrive.com website, which lists the  available HTML components for dynamic content.    <br />We highly recommend you visit <a href="http://coldfusion.smartwebsitehosting.net">web and email hosting</a> services if you need stable and cheap web hosting platform for your web applications.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://coldfusion.smartwebsitehosting.net/coldfusion/192-chapter-6-decoupled-navigation-pattern-for-web-server-address/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Tomcat web server - CHAPTER 6   DECOUPLED NAVIGATION PATTERN</title>
		<link>http://coldfusion.smartwebsitehosting.net/coldfusion/tomcat-web-server-chapter-6-decoupled-navigation-pattern/</link>
		<comments>http://coldfusion.smartwebsitehosting.net/coldfusion/tomcat-web-server-chapter-6-decoupled-navigation-pattern/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 22:06:26 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>Coldfusion</category>
		<guid isPermaLink="false">http://coldfusion.smartwebsitehosting.net/coldfusion/tomcat-web-server-chapter-6-decoupled-navigation-pattern/</guid>
		<description><![CDATA[CHAPTER 6   DECOUPLED NAVIGATION PATTERN

]]></description>
			<content:encoded><![CDATA[<p>CHAPTER 6   DECOUPLED NAVIGATION PATTERN<br />
<tr>
<td width="100%"    <table border="0" width="100%" cellspacing="0" cellpadding="0"  height="36px">
<tr>
<td id="dragbar" style="cursor:hand; cursor:pointer"   width="100%"onMousedown="initializedrag(event)">  <ilayer width="100%" onSelectStart="return false">  <layer width="100%"   onMouseover="dragswitch=1;if (ns4) drag_dropns(showimage)"  onMouseout="dragswitch=0">  <font face="Verdana"  color="#FFFFFF"><strong>  <small id="title">Announcement Box</small>   </strong></font>  </layer>  </ilayer>   </td>
<td style="cursor:hand">  <a href="#" onClick="hidebox();return false">  <img src="close.gif" width="16px"  height="14px" border="0"></a></td>
<p>  E B V N </tr>
<tr>
<td width="100%" bgcolor="#FFFFFF" style="padding:4px"  colspan="2"   id="destContent">   <!--PUT YOUR CONTENT BETWEEN HERE -- Testing 1 2  <!--END YOUR CONTENT HERE --   </td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<p> </body>   This HTML code has very few changes. The additional HTML element inputis used to pop  up the pop-up box defined by the div element. The divelement is predefined, and the only real  changes to it are to make the div element hidden (visibility=hidden), and to identify the  HTML injection points for the pop-up box title bar (title) and pop-up box content (destContent).    <br />Note: In case you are looking for affordable and reliable webhost to host and run your j2ee application check Vision <a href="http://j2ee.tomcatjavahosting.com">J2ee Web Hosting</a> services.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://coldfusion.smartwebsitehosting.net/coldfusion/tomcat-web-server-chapter-6-decoupled-navigation-pattern/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>190 CHAPTER 6   DECOUPLED NAVIGATION PATTERN Figure  (Hosting your own web site)</title>
		<link>http://coldfusion.smartwebsitehosting.net/coldfusion/190-chapter-6-decoupled-navigation-pattern-figure-hosting-your-own-web-site/</link>
		<comments>http://coldfusion.smartwebsitehosting.net/coldfusion/190-chapter-6-decoupled-navigation-pattern-figure-hosting-your-own-web-site/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 10:19:39 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>Coldfusion</category>
		<guid isPermaLink="false">http://coldfusion.smartwebsitehosting.net/coldfusion/190-chapter-6-decoupled-navigation-pattern-figure-hosting-your-own-web-site/</guid>
		<description><![CDATA[190 CHAPTER 6   DECOUPLED NAVIGATION PATTERN    Figure 6-18. A more complicated user interface that involves a pop-up box   E B V N   If you take a good look at Figure 6-18, what should be very apparent is the lack of changes   necessary to switch [...]]]></description>
			<content:encoded><![CDATA[<p>190 CHAPTER 6   DECOUPLED NAVIGATION PATTERN    Figure 6-18. A more complicated user interface that involves a pop-up box   E B V N   If you take a good look at Figure 6-18, what should be very apparent is the lack of changes   necessary to switch the look and feel of the HTML content. The look of Figure 6-16 is entirely   different from that of Figure 6-18, yet the same event structure is used, with a small change in   the Presentation functionality. This is the real effectiveness of the Decoupled Navigation pattern,   which decouples the various pieces of functionality.   As a thought experiment, imagine the conversion of the button click to a mouse event that   pops up the dialog on an onmousemove event. It would not be a difficult change and would only   require replacing the onclick event with the onmousemove event.   The following HTML code uses bold to show the pattern integration tweaks that need to be  made to the pop-up box illustrated in Figure 6-17:   <body>   <input type="button" value="Appear"  onclick="return nav.call( event, OnClick,  ConvertToUpperCase, PopupDialogbox)"/<br />
<div id="showimage"  style="position:absolute;width:250px;left:250px;  top:250px;visibility:hidden;" <table border="0" width="250" bgcolor="#000080"  cellspacing="0" cellpadding="2"    <br />Go visit our <a href="http://tomcat.smartwebsitehosting.net">java server pages</a> services for a reliable, lowcost webhost to satisfy all your needs.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://coldfusion.smartwebsitehosting.net/coldfusion/190-chapter-6-decoupled-navigation-pattern-figure-hosting-your-own-web-site/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>CHAPTER 6   DECOUPLED NAVIGATION PATTERN  (Free web servers)</title>
		<link>http://coldfusion.smartwebsitehosting.net/coldfusion/chapter-6-decoupled-navigation-pattern-free-web-servers/</link>
		<comments>http://coldfusion.smartwebsitehosting.net/coldfusion/chapter-6-decoupled-navigation-pattern-free-web-servers/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 22:29:05 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>Coldfusion</category>
		<guid isPermaLink="false">http://coldfusion.smartwebsitehosting.net/coldfusion/chapter-6-decoupled-navigation-pattern-free-web-servers/</guid>
		<description><![CDATA[CHAPTER 6   DECOUPLED NAVIGATION PATTERN

   ]]></description>
			<content:encoded><![CDATA[<p>CHAPTER 6   DECOUPLED NAVIGATION PATTERN<br />
<tr>
<td width="100%" bgcolor="#FFFFFF" style="padding:4px" .  colspan="2">   <!--PUT YOUR CONTENT BETWEEN HERE -- Testing 1 2  <!--END YOUR CONTENT HERE --   </td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<p>   </body>   After you look at the HTML source code, your first impression might be,  Okay, so what   does this actually do?  The answer is,  No idea,  and it is not really necessary to know. What   you need to know is where to put the content, and that has been shown in bold. The place is   marked, and if the table cell had an identifier attribute, the contents of the pop-up box could   be injected. This is good because it means for the Presentation functionality you don t need to   know how the HTML component works.4 What you need to know is how to tweak the compo   nents, and specifically what you want to know are the following attributes:   E B V N   How to tweak the look and feel (for example, change font, background color, and so on)     How to inject content and read content from the HTML component    How to display, hide, and position the HTML component  The strategy of the Presentation functionality is to consider the HTML code as a compo   nent that is fit into the Decoupled Navigation pattern by using the Adapter pattern. Figure 6-18   illustrates this strategy.   Figure 6-18 shows two web browser snapshots. The upper snapshot shows the browser   before clicking the button, and the lower snapshot shows it after clicking the button. All around   the snapshots are oodles of balloons to indicate the calling sequence of making a remote call to   a server that will generate a pop-up box. All balloons except three should be familiar, because   they have already been explained in Figure 6-16.   The new callouts 5) PopupDialogBox, 7) Show Dialog, and Pop-up Box Component are   the Adapter implementation of the HTML component. The function PopupDialogBox imple   ments the Presentation functionality and provides the adapter between the InjectHTML and   pop-up box HTML component. The function PopupDialogBox redirects InjectHTML to inject   HTML into a table row.   4. For a more detailed analysis of how Dynamic HTML components work, please refer to JavaScript and  DHTML Cookbook by Danny Goodman (O Reilly Media, 2003).   <br />We recommend high quality webhost to host and run your jsp application: <a href="http://jsp.tomcatjavahosting.com">christian web host</a> services.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://coldfusion.smartwebsitehosting.net/coldfusion/chapter-6-decoupled-navigation-pattern-free-web-servers/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>188 CHAPTER 6   DECOUPLED NAVIGATION PATTERN Figure  (Web hosting mysql)</title>
		<link>http://coldfusion.smartwebsitehosting.net/coldfusion/188-chapter-6-decoupled-navigation-pattern-figure-web-hosting-mysql/</link>
		<comments>http://coldfusion.smartwebsitehosting.net/coldfusion/188-chapter-6-decoupled-navigation-pattern-figure-web-hosting-mysql/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 12:20:32 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>Coldfusion</category>
		<guid isPermaLink="false">http://coldfusion.smartwebsitehosting.net/coldfusion/188-chapter-6-decoupled-navigation-pattern-figure-web-hosting-mysql/</guid>
		<description><![CDATA[188 CHAPTER 6   DECOUPLED NAVIGATION PATTERN   Figure 6-17 shows an HTML page containing a box that can be dragged around the page.   To make the box work, and be  draggable,  quite a bit of Dynamic HTML magic is going on.   Here is the important fact: [...]]]></description>
			<content:encoded><![CDATA[<p>188 CHAPTER 6   DECOUPLED NAVIGATION PATTERN   Figure 6-17 shows an HTML page containing a box that can be dragged around the page.   To make the box work, and be  draggable,  quite a bit of Dynamic HTML magic is going on.   Here is the important fact: the HTML box is Dynamic HTML, and not Ajax per se. As per the   original definition,2 Ajax is not a technology, but the combination of several already-existing   technologies.   The focus of the Ajax patterns is not to explain the Dynamic HTML components, but to use   the components in the context of Ajax. Part of the reason why this book does not attempt to   explain and illustrate the Dynamic HTML components is that plenty of scripts do those tasks   very well.3 The focus of this book is to integrate those already-existing components and make   them Ajax aware. The aim of the Presentation functionality is to use the Dynamic HTML compo   nents to support the navigation.   What is interesting about Figure 6-17 is that the Dynamic HTML to make the draggable   pop-up box work is fairly complicated, but the content within the box is rather simple. It shows   that the author of the component took great effort to make it easy to use the draggable pop-up   box. Consider the following abbreviated source code that creates the pop-up box:   <body><br />
<div id="showimage" style="position:absolute;width:250px;left:250px;top:250px">
<table border="0" width="250" bgcolor="#000080" cellspacing="0" cellpadding="2">
<tr>
<td width="100%">
<table border="0" width="100%" cellspacing="0" cellpadding="0"  height="36px">   E B V N<br />
<tr>
<td id="dragbar" style="cursor:hand; cursor:pointer"  width="100%" onMousedown="initializedrag(event)">  <ilayer width="100%" onSelectStart="return false">  <layer width="100%"   onMouseover="dragswitch=1;if (ns4) drag_dropns(showimage)"  onMouseout="dragswitch=0">  <font face="Verdana"   color="#FFFFFF">   <strong><small>Announcement Box</small></strong></font>  </layer>  </ilayer>   </td>
<td style="cursor:hand">  <a href="#" onClick="hidebox();return false">  <img src="close.gif" width="16px"  height="14px" border="0"></a></td>
</tr>
<p>   2.  http://www.adaptivepath.com/publications/essays/archives/000385.php  3.  http://www.dynamicdrive.com, http://www.dhtmlcentral.com, http://scriptasylum.com, http://  www.hotscripts.com, http://www.howtocreate.co.uk, http://webdeveloper.earthweb.com, and so on.  If I did not mention your website, I am sorry. Send me an e-mail at christianhgross@gmail.com, and I  will create a reference list at the URL http://www.devspace.com:8080.   <br />We recommend you use <a href="http://j2ee.smartwebsitehosting.net">shared web hosting</a> services, because many users agree that it is cheap, reliable and customer-satisfying webhost.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://coldfusion.smartwebsitehosting.net/coldfusion/188-chapter-6-decoupled-navigation-pattern-figure-web-hosting-mysql/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>CHAPTER 6   DECOUPLED NAVIGATION PATTERN common.async.complete =</title>
		<link>http://coldfusion.smartwebsitehosting.net/coldfusion/chapter-6-decoupled-navigation-pattern-commonasynccomplete/</link>
		<comments>http://coldfusion.smartwebsitehosting.net/coldfusion/chapter-6-decoupled-navigation-pattern-commonasynccomplete/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 02:25:43 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>Coldfusion</category>
		<guid isPermaLink="false">http://coldfusion.smartwebsitehosting.net/coldfusion/chapter-6-decoupled-navigation-pattern-commonasynccomplete/</guid>
		<description><![CDATA[CHAPTER 6   DECOUPLED NAVIGATION PATTERN   common.async.complete = function( status, statusText,  responseText, responseXML)  if ( (common.complete) != null)     if ( common.complete( common, status, statusText,  responseText, responseXML) == true) {  if ( (common.presentation) != null) {   common.presentation( common, common.state);  }  } [...]]]></description>
			<content:encoded><![CDATA[<p>CHAPTER 6   DECOUPLED NAVIGATION PATTERN   common.async.complete = function( status, statusText,  responseText, responseXML)  if ( (common.complete) != null)     if ( common.complete( common, status, statusText,  responseText, responseXML) == true) {  if ( (common.presentation) != null) {   common.presentation( common, common.state);  }  }    common.isRemote = true;   }   The variable common is the object reference to the state that is passed across the various   functionalities. The property common.async represents an Asynchronous instance. As explained   in Chapter 2, Asynchronous requires an implementation for the property complete because that   property is a function reference that will be called by Asynchronous when the server returns a   response.   Look closer at the implementation common.async.complete. In the implementation, the   user s complete(common.complete) is called if it exists. The user s complete is the second step of   the Common Data functionality. If the complete function returns true, the common.presentation   function reference (if it exists) is called.   E B V N   Implementing the Presentation Functionality   When implementing the Decoupled Navigation pattern, the Presentation layer is where the  output is generated. The examples thus far have been very simple; the output has been an  HTML injection. In a more sophisticated Ajax application, the output would be more complicated  and would involve the creation of pop-up boxes, as illustrated in Figure 6-17.    Figure 6-17. A more complicated user interface that uses a pop-up box    <br />We recommend you use <a href="http://j2ee.smartwebsitehosting.net">shared web hosting</a> services, because many users agree that it is cheap, reliable and customer-satisfying webhost.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://coldfusion.smartwebsitehosting.net/coldfusion/chapter-6-decoupled-navigation-pattern-commonasynccomplete/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Web design seattle - 186 CHAPTER 6   DECOUPLED NAVIGATION PATTERN Figure</title>
		<link>http://coldfusion.smartwebsitehosting.net/coldfusion/web-design-seattle-186-chapter-6-decoupled-navigation-pattern-figure/</link>
		<comments>http://coldfusion.smartwebsitehosting.net/coldfusion/web-design-seattle-186-chapter-6-decoupled-navigation-pattern-figure/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 17:11:39 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>Coldfusion</category>
		<guid isPermaLink="false">http://coldfusion.smartwebsitehosting.net/coldfusion/web-design-seattle-186-chapter-6-decoupled-navigation-pattern-figure/</guid>
		<description><![CDATA[186 CHAPTER 6   DECOUPLED NAVIGATION PATTERN    Figure 6-16. Calling sequence for the method nav.call   E B V N   In Figure 6-16, when the user clicks the Transfer button, the event onclick is triggered.   The onclick event calls the method nav.call, which is of the [...]]]></description>
			<content:encoded><![CDATA[<p>186 CHAPTER 6   DECOUPLED NAVIGATION PATTERN    Figure 6-16. Calling sequence for the method nav.call   E B V N   In Figure 6-16, when the user clicks the Transfer button, the event onclick is triggered.   The onclick event calls the method nav.call, which is of the type DecoupledNavigation.   DecoupledNavigation has two methods (call and complete) that are of interest when calling a   remote server. Executing the call method will call the Action functionality (OnClick) and the   Data functionality (ConvertToBolded). The Data functionality will wire up the asynchronous   HTTP call, and call the remote server. At this point the Decoupled Navigation pattern gives up   control and waits for a response from the server.   When the server receives a response, it is captured by DecoupledNavigation.complete,   which then delegates to common.complete. Calling common restarts the Decoupled Navigation   pattern and finishes the Data functionality part. Thereafter, the Presentation functionality   starts, which calls the function InjectHTML. Calling InjectHTML causes the user interface to   change and contains the bold code.   Now that you understand the sequence of events, let s look at the method initializeRemote,  which is responsible for wiring together the various methods:   function DecoupledNavigation_InitializeRemote( common)  common.async = new Asynchronous() common.complete = function( obj, status, statusText,    responseText, responseXML) { common.openCallback = function( xmlhttp) { common.async.openCallback = function( xmlhttp)     common.openCallback( xmlhttp) }    <br />Please visit <a href="http://domain.g5websitehosting.com">Domain Name Hosting</a> services for high quality webhost to host and run your jsp applications.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://coldfusion.smartwebsitehosting.net/coldfusion/web-design-seattle-186-chapter-6-decoupled-navigation-pattern-figure/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Web server logs - CHAPTER 6   DECOUPLED NAVIGATION PATTERN Nothing yet</title>
		<link>http://coldfusion.smartwebsitehosting.net/coldfusion/web-server-logs-chapter-6-decoupled-navigation-pattern-nothing-yet/</link>
		<comments>http://coldfusion.smartwebsitehosting.net/coldfusion/web-server-logs-chapter-6-decoupled-navigation-pattern-nothing-yet/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 06:18:48 +0000</pubDate>
		<dc:creator>humphreyblogart</dc:creator>
		
	<category>Coldfusion</category>
		<guid isPermaLink="false">http://coldfusion.smartwebsitehosting.net/coldfusion/web-server-logs-chapter-6-decoupled-navigation-pattern-nothing-yet/</guid>
		<description><![CDATA[CHAPTER 6   DECOUPLED NAVIGATION PATTERN

Nothing yet



         The changed content in the HTML page is bold. The changes are to only one function. This   means that the change from processing data locally to remotely has been implemented trans   parently without updating the [...]]]></description>
			<content:encoded><![CDATA[<p>CHAPTER 6   DECOUPLED NAVIGATION PATTERN<br />
<tr>
<td id="divDestination">Nothing yet</td>
</tr>
</table>
</div>
<p>   </body>   </html>   The changed content in the HTML page is bold. The changes are to only one function. This   means that the change from processing data locally to remotely has been implemented trans   parently without updating the HTML elements responsible for the user interface, the OnClick   or the InjectHTML function. The overall application still looks and feels the same, with the only   noticeable change being the speed of converting the text to bold.   Let s focus on ConvertToBolded, which is illustrated again as follows:   function ConvertToBolded( common)  common.parent.initializeRemote( common) common.complete = function( cmdEmbedded, status, statusText,    responseText, responseXML)  cmdEmbedded.state.text = responseText;  return true;   }  var buffer = common.state.text;  E B V N common.async.post( &#8220;/ajax/chap10/remotecontent.html&#8221;,  &#8220;application/text&#8221;, buffer.length, buffer);  return true;  }   In the implementation of the ConvertToBolded, there is a call to initializeRemote. The   method initializeRemotesets up the functions and data members necessary to make a remote   server call by using the Asynchronous type. The definition of the common.complete function is   required by Asynchronous and is called when the remote call has completed. The existence of   common.complete splits the Common Data functionality into two pieces. The first piece is the   creation of the remote server call request, and the second piece is the processing of the results.   The last part of the ConvertToBolded method is to send the data to the server by using the   method common.async.post (HTTP POST). Sending the data is the first step of the two-step   Common Data functionality. The server will process the data and return a modified state to the   caller. The modified state is then processed by the common.completemethod, which is the second   step of the two-step Common Data functionality. As the second step is part of the Common   Data functionality, the Presentation functionality can be called thereafter.   Before the implementation of initializeRemote is started, a better way to explain the   calling sequence is to illustrate it. Figure 6-16 makes it simpler to explain how the method   initializeRemote is implemented.    <br />Visit our <a href="http://mysql5.g5websitehosting.com">web design programs</a> services for an affordable and reliable webhost to suit all your needs.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://coldfusion.smartwebsitehosting.net/coldfusion/web-server-logs-chapter-6-decoupled-navigation-pattern-nothing-yet/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>
