<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><!-- generator="wordpress/2.3.1" --><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Coldfusion Design Patterns</title>
	<link>http://www.cfdesignpatterns.com</link>
	<description>Using Design Patterns in Coldfusion Programming</description>
	<pubDate>Sun, 21 Dec 2008 02:10:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/coldfusiondesignpatterns" type="application/rss+xml" /><item>
		<title>Implementing Master Page concept in ColdFusion</title>
		<link>http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~3/490100560/</link>
		<comments>http://www.cfdesignpatterns.com/application-development/implementing-master-page-concept-in-coldfusion/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 23:29:29 +0000</pubDate>
		<dc:creator>akalura</dc:creator>
		
		<category><![CDATA[Application Development]]></category>

		<category><![CDATA[coldfusion]]></category>

		<category><![CDATA[example]]></category>

		<category><![CDATA[framework]]></category>

		<category><![CDATA[master page]]></category>

		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://www.cfdesignpatterns.com/application-development/implementing-master-page-concept-in-coldfusion/</guid>
		<description><![CDATA[One of the functionality I like in asp.net platform is the master page concept, it really helpful to keep the layout clean and gives really good control to developer in terms of placement of content/data on the rendered page.  Having worked on aps.net side of it, I figured it’s fairly easy to implement the [...]]]></description>
			<content:encoded><![CDATA[<p>One of the functionality I like in asp.net platform is the master page concept, it really helpful to keep the layout clean and gives really good control to developer in terms of placement of content/data on the rendered page.  Having worked on aps.net side of it, I figured it’s fairly easy to implement the similar concept in ColdFusion, let me first explain what master page is.<br />
“Master pages allow you to create a consistent layout for the pages in your application. A single master page defines the look and feel and standard behavior that you want for all of the pages (or a group of pages) in your application. You can then create individual content pages that contain the content you want to display. When users request the content pages, they merge with the master page to produce output that combines the layout of the master page with the content from the content page.”  Reference : <a href="http://msdn.microsoft.com/en-us/library/wtxbf3hh.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/wtxbf3hh.aspx</a>  (can read more about master page..)</p>
<h3>How does master page functionality work</h3>
<p><strong>a) Create a master page</strong><br />
You need a master page (i.e. the template) with global layout of your web application, there can be multiple templates if you want different look and feel for different section or can have just one global master page for the entire web app, part of the template you will have to also put in placeholder that can be updated by the developer that will be creating functionality for individual pages.</p>
<p><strong>b)	Create content page</strong><br />
Content page is the actual page that gets shown to the user; it’s the combination of template + the content relevant to that page.   In this page the developer fills in the master page placeholder with page relevant content and there for have full control over what gets rendered to the end user.</p>
<h3>Why is master page required in ColdFusion application?</h3>
<p>Before I even answer this question, lets walk through the scenario of how page template are created in most of the ColdFusion application, normally the header and footer or other section gets broken into separate file like  Header.cfm,   footer.cfm   etc etc,   and the individual content page like  index.cfm  will include  header.cfm on top and then add some html code for the page and finally include footer.cfm something like this.</p>
<p><pre><code>&lt;cfinclude template=&quot;header.cfm&quot;/&gt;
Some content,&nbsp;&nbsp;static, via db or other means.
&lt;cfinclude template=&quot;footer.cfm&quot;/&gt;
</code></pre></p>
<h3>So what’s the big deal?</h3>
<p>Normally this is not a problem when you start with the project, but slowly and slowly as the number of pages for the site increases you start to realize that header and footer has to change on page by page basis,  and you start introducing variables and start having conditional logic in your header and footer pages,  or  another situation can be that for some special pages you need to add css or javascript because those pages are doing special ajax stuff, but you don’t want to add that to header, because it will get included for all pages and that will slow down the site,  so basically start adding the css and javascript withing the content page and after some time your page looks like javascript and css all over the place, plus your header and footer files have ton’s of  conditional logic.<br />
Check out <strong><a href="http://www.sys-con.com/" target="_blank">http://www.sys-con.com/</a></strong>  and perform view source,  scroll through the html and see how css and javascript is pretty much all over the page, and not consolidated in header section, where it should be  right?<br />
 <a href="http://www.cfdesignpatterns.com/application-development/implementing-master-page-concept-in-coldfusion/#more-44" class="more-link">(more&#8230;)</a></p>
<img src="http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~4/490100560" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cfdesignpatterns.com/application-development/implementing-master-page-concept-in-coldfusion/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cfdesignpatterns.com/application-development/implementing-master-page-concept-in-coldfusion/</feedburner:origLink></item>
		<item>
		<title>Strategy Design Pattern in Coldfusion</title>
		<link>http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~3/321762874/</link>
		<comments>http://www.cfdesignpatterns.com/behavioral-patterns/strategy-design-pattern-in-coldfusion/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 02:53:50 +0000</pubDate>
		<dc:creator>akalura</dc:creator>
		
		<category><![CDATA[Behavioral patterns]]></category>

		<category><![CDATA[cfcomponent]]></category>

		<category><![CDATA[cfinterface]]></category>

		<category><![CDATA[coldfusion]]></category>

		<category><![CDATA[coldfusion8]]></category>

		<category><![CDATA[design pattern]]></category>

		<category><![CDATA[example]]></category>

		<category><![CDATA[oops]]></category>

		<category><![CDATA[strategy]]></category>

		<category><![CDATA[strategy design pattern]]></category>

		<category><![CDATA[use case]]></category>

		<guid isPermaLink="false">http://www.cfdesignpatterns.com/uncategorized/strategy-design-pattern-in-coldfusion/</guid>
		<description><![CDATA[In this blog post I will demonstrate the practical use of strategy design pattern in ColdFusion and discuss other possibilities.
So what is Strategy Design Pattern?
 Wikipedia  : “In computer programming, the strategy pattern (also known as the policy pattern) is a particular software design pattern, whereby algorithms can be selected at runtime.”
 Gang of [...]]]></description>
			<content:encoded><![CDATA[<p>In this blog post I will demonstrate the practical use of strategy design pattern in ColdFusion and discuss other possibilities.</p>
<p><strong>So what is Strategy Design Pattern?</strong><br />
<font color="#ff0000"> Wikipedia</font>  : “<em>In computer programming, the strategy pattern (also known as the policy pattern) is a particular software design pattern, whereby algorithms can be selected at runtime.</em>”<br />
<font color="#ff0000"> Gang of four</font> :  “<em>Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.</em>”</p>
<p>So from the various descriptions it’s clear that this pattern can be used in the situation where there is possibility of having difference/multiple calculation and the application has to choose the right one on the fly.</p>
<p>I am going to use a scenario to build the case on why and how this pattern should be used.</p>
<h2> Scenario:</strong></h2>
<p>Let’s say there is a web application which has multiple developers working on it, or have multiple teams working on independent section of the application, in such sort of application its fundamental to have core set of components that the developer use and there is also a possibility that they may be used across multiple applications. In such sort of scenario its inherent that core component be stable and least amount of changes should be done on the core components (i.e. cfc’s ) to avoid large scale impacts to other modules/developers.</p>
<p>So let’s say one of the core components that we have is the Customer.cfc it has some properties and also methods which get used by the appropriate section of the web applications</p>
<p> <a href="http://www.cfdesignpatterns.com/behavioral-patterns/strategy-design-pattern-in-coldfusion/#more-32" class="more-link">(more&#8230;)</a></p>
<img src="http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~4/321762874" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cfdesignpatterns.com/behavioral-patterns/strategy-design-pattern-in-coldfusion/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cfdesignpatterns.com/behavioral-patterns/strategy-design-pattern-in-coldfusion/</feedburner:origLink></item>
		<item>
		<title>observer design pattern in coldfusion</title>
		<link>http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~3/270278529/</link>
		<comments>http://www.cfdesignpatterns.com/behavioral-patterns/observer-design-pattern-in-coldfusion/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 22:19:18 +0000</pubDate>
		<dc:creator>akalura</dc:creator>
		
		<category><![CDATA[Behavioral patterns]]></category>

		<category><![CDATA[code snippet]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[coldfusion 8]]></category>

		<category><![CDATA[coldfusion example]]></category>

		<category><![CDATA[coldfusion observer]]></category>

		<category><![CDATA[design patterns]]></category>

		<category><![CDATA[interface]]></category>

		<category><![CDATA[observer]]></category>

		<category><![CDATA[observer pattern]]></category>

		<guid isPermaLink="false">http://www.cfdesignpatterns.com/behavioral-patterns/observer-design-pattern-in-coldfusion/</guid>
		<description><![CDATA[The observer design pattern is used in application development to observe the state of an object.  The best way to think about it is the publish / subscribe model.  In this pattern you have one object that is being observed (the subject), and a group of objects watching the subject called observers or listeners.  This [...]]]></description>
			<content:encoded><![CDATA[<p>The observer design pattern is used in application development to observe the state of an object.  The best way to think about it is the publish / subscribe model.  In this pattern you have one object that is being observed (the subject), and a group of objects watching the subject called observers or listeners.  This pattern is an excellent example of loose coupling, because our classes can interact with very little knowledge of each other.</p>
<p>(read about the pattern @ <a href="http://en.wikipedia.org/wiki/Observer_pattern">http://en.wikipedia.org/wiki/Observer_pattern</a> )</p>
<p>This post will demonstrate the usage of this pattern in ColdFusion</p>
<p>In the example I am creating a user list and the list if being watched by a logging observers that prints the message out to the browser anytime the new user gets added<br />
 <a href="http://www.cfdesignpatterns.com/behavioral-patterns/observer-design-pattern-in-coldfusion/#more-25" class="more-link">(more&#8230;)</a></p>
<img src="http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~4/270278529" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cfdesignpatterns.com/behavioral-patterns/observer-design-pattern-in-coldfusion/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cfdesignpatterns.com/behavioral-patterns/observer-design-pattern-in-coldfusion/</feedburner:origLink></item>
		<item>
		<title>Exploring Data push with Instant Messaging</title>
		<link>http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~3/259765393/</link>
		<comments>http://www.cfdesignpatterns.com/application-development/exploring-data-push-using-with-instant-messaging/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 17:37:46 +0000</pubDate>
		<dc:creator>akalura</dc:creator>
		
		<category><![CDATA[Application Development]]></category>

		<category><![CDATA[coldfusion]]></category>

		<category><![CDATA[IM]]></category>

		<category><![CDATA[instant messaging]]></category>

		<category><![CDATA[java]]></category>

		<category><![CDATA[prototype]]></category>

		<category><![CDATA[web application]]></category>

		<category><![CDATA[XMPP]]></category>

		<guid isPermaLink="false">http://www.cfdesignpatterns.com/application-development/exploring-data-push-using-with-instant-messaging/</guid>
		<description><![CDATA[Have you ever come across the idea of building an application or functionality that notifies the user of some event, I can think of various examples?

A Real estate side notifying the user that property matching their criteria just got listed
A job side notifying user that a new job matches there keywords
Application server error alert send [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever come across the idea of building an application or functionality that notifies the user of some event, I can think of various examples?</p>
<ul>
<li>A Real estate side notifying the user that property matching their criteria just got listed</li>
<li>A job side notifying user that a new job matches there keywords</li>
<li>Application server error alert send to administrator</li>
<li>Notifying that stock prices went down or up</li>
</ul>
<p>I can think of hundreds of different situation where notification functionality can be use, today’s most of the notification either happens though email or by the fact that user will come to certain section of site to get the updated information, not trying to downplay the fact that there are tools like nagios etc that can pull data from SNMP traps and send notification but that’s require you to implement SNMP protocol in your application which is not a trivial task.</p>
<p>With the every growing popularity of Instant messaging where millions of users are now actively using IM as means of communication both in office and personal environment bring a very promising platform for application development that can provide the notification mechanism that once thought was tough to implement.</p>
<p>Though instant messaging application like MSN, Yahoo Messenger, AOL Instant Messenger, Google Talk etc have implemented their own protocol and don’t cross communicate but there is light at the end of the tunnel. Google Talk uses <a href="http://www.xmpp.org/">XMPP</a> protocol for messaging and looks like yahoo and AOL may follow the suite in future.<br />
<strong><a href="http://florianjensen.com/2008/01/17/aol-adopting-xmpp-aka-jabber/"> http://florianjensen.com/2008/01/17/aol-adopting-xmpp-aka-jabber/</a><br />
<a href="http://www.process-one.net/en/blogs/article/after_aol_yahoo_is_also_experimenting_with_xmpp/"> http://www.process-one.net/en/blogs/article/after_aol_yahoo_is_also_experimenting_with_xmpp/</a></strong></p>
<p><a href="http://www.xmpp.org/">XMPP</a> (Extensible Messaging and Presence Protocol)  aka Jabber, is a light weight XML based messaging protocol for which various libraries exists and can be used for application development.  If all the IM application start supporting XMPP the application development for IM platform will become super simple, but that not the case yet and I think it’s going to be a while before something like this will happen. <a href="http://www.cfdesignpatterns.com/application-development/exploring-data-push-using-with-instant-messaging/#more-23" class="more-link">(more&#8230;)</a></p>
<img src="http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~4/259765393" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cfdesignpatterns.com/application-development/exploring-data-push-using-with-instant-messaging/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cfdesignpatterns.com/application-development/exploring-data-push-using-with-instant-messaging/</feedburner:origLink></item>
		<item>
		<title>Webservices AxisFault Handling in Coldfusion 8</title>
		<link>http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~3/231720670/</link>
		<comments>http://www.cfdesignpatterns.com/code-snippet/webservices-axisfault-handling-in-coldfusion-8/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 23:22:57 +0000</pubDate>
		<dc:creator>akalura</dc:creator>
		
		<category><![CDATA[code snippet]]></category>

		<category><![CDATA[axis]]></category>

		<category><![CDATA[axisfault]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[coldfusion]]></category>

		<category><![CDATA[coldfusion 8]]></category>

		<category><![CDATA[howto]]></category>

		<category><![CDATA[webservice]]></category>

		<guid isPermaLink="false">http://www.cfdesignpatterns.com/code-snippet/webservices-axisfault-handling-in-coldfusion-8/</guid>
		<description><![CDATA[Day was going fine, had my morning coffee attended project related meeting by the time I got back to check the mail I saw a chain of message going back and forth between the coldfusion developers and the backed web services developer regarding the AxisFault subject.
The issue started with the changes that backend/services team implemented [...]]]></description>
			<content:encoded><![CDATA[<p>Day was going fine, had my morning coffee attended project related meeting by the time I got back to check the mail I saw a chain of message going back and forth between the coldfusion developers and the backed web services developer regarding the AxisFault subject.</p>
<p>The issue started with the changes that backend/services team implemented in development environment, where they were throwing axis fault in error situation so that the calling application can trap that information and perform appropriate action, It was a little different then how it used to be down before. <span> </span><span> </span>The main issue for the coldfusion developer was that they were not getting the AxisFault object back, instead in the exception object the fault data was back as a string which they parse and search for the error code and description.</p>
<p>After having the discussion with both the group it was clear that services team wanted to keep the functionality but for frontend/coldfusion team it was additional burden for parsing string and looking for information.</p>
<p><img src="http://www.cfdesignpatterns.com/wp-content/uploads/2008/02/axis_4.JPG" alt="axis_4.JPG" /></p>
<p><img src="http://www.cfdesignpatterns.com/wp-content/uploads/2008/02/axis_1.JPG" title="axis_1.JPG" /></p>
<p> <a href="http://www.cfdesignpatterns.com/code-snippet/webservices-axisfault-handling-in-coldfusion-8/#more-16" class="more-link">(more&#8230;)</a></p>
<img src="http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~4/231720670" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cfdesignpatterns.com/code-snippet/webservices-axisfault-handling-in-coldfusion-8/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cfdesignpatterns.com/code-snippet/webservices-axisfault-handling-in-coldfusion-8/</feedburner:origLink></item>
		<item>
		<title>Using CFQuery for executing stored procedure</title>
		<link>http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~3/231720671/</link>
		<comments>http://www.cfdesignpatterns.com/observation/using-cfquery-for-executing-stored-procedure/#comments</comments>
		<pubDate>Wed, 02 Jan 2008 20:25:21 +0000</pubDate>
		<dc:creator>akalura</dc:creator>
		
		<category><![CDATA[Observation]]></category>

		<category><![CDATA[cf]]></category>

		<category><![CDATA[cfquery]]></category>

		<category><![CDATA[cfstoredprocedure]]></category>

		<category><![CDATA[coldfusion]]></category>

		<category><![CDATA[timeout]]></category>

		<guid isPermaLink="false">http://www.cfdesignpatterns.com/2008/01/02/using-cfquery-for-executing-stored-procedure/</guid>
		<description><![CDATA[Something that all of us wants to avoid is server slow down and crash in the event of application load and that’s what motivates us to look at code optimization, refactoring, frameworks, database optimization etc.
There are various steps that can be taken for application optimization and to have uninterruptible application availability, but for the moment [...]]]></description>
			<content:encoded><![CDATA[<p>Something that all of us wants to avoid is server slow down and crash in the event of application load and that’s what motivates us to look at code optimization, refactoring, frameworks, database optimization etc.</p>
<p class="MsoNormal">There are various steps that can be taken for application optimization and to have uninterruptible application availability, but for the moment I am just going to focus on database side. This wont be the first time you are hearing about database/query optimization for having a healthy application, and assuming you have the best optimization done there are still times when unthinkable happens i.e. network connection to database is slow, database transaction log is full, query is running without using a index etc. The point being unforeseen issue can happen with database and it can bring your site to its knees, and your customers have to suffer.</p>
<p class="MsoNormal">Many of the large scale application uses stored procedure instead of inline SQL queries in CF code and therefore CFStoreproc tag is the ideal choice for running Stored procedure. But one of the biggest disadvantages of using CFStoredproce is the missing timeout attribute, which can lead to slow sites and complete crapping out of server. For whatever reason if the stored procedure executing time goes up then normal expectancy its going to slow down the page processing and eventually result in request queuing for high traffic site and the unavailable server crash.</p>
<p class="MsoNormal"> <a href="http://www.cfdesignpatterns.com/observation/using-cfquery-for-executing-stored-procedure/#more-15" class="more-link">(more&#8230;)</a></p>
<img src="http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~4/231720671" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cfdesignpatterns.com/observation/using-cfquery-for-executing-stored-procedure/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cfdesignpatterns.com/observation/using-cfquery-for-executing-stored-procedure/</feedburner:origLink></item>
		<item>
		<title>Prototype Pattern in ColdFusion 8</title>
		<link>http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~3/231720672/</link>
		<comments>http://www.cfdesignpatterns.com/creational-patterns/prototype-pattern-in-coldfusion-8/#comments</comments>
		<pubDate>Wed, 26 Dec 2007 02:37:44 +0000</pubDate>
		<dc:creator>akalura</dc:creator>
		
		<category><![CDATA[Creational patterns]]></category>

		<category><![CDATA[cf]]></category>

		<category><![CDATA[coldfusion]]></category>

		<category><![CDATA[design pattern]]></category>

		<category><![CDATA[prototype pattern]]></category>

		<guid isPermaLink="false">http://www.cfdesignpatterns.com/?p=14</guid>
		<description><![CDATA[The                                   prototype means making a clone. This implies              [...]]]></description>
			<content:encoded><![CDATA[<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">The                                   prototype means making a clone. This implies                                   cloning of an object to avoid creation. If the                                   cost of creating a new object is large and creation                                   is resource intensive, we clone the object. This article explains how this pattern can be used in coldfusion </font></p>
<blockquote><p>I set out tonight to determine if the Prototype design pattern would be useful in object factories in ColdFusion 8. The Prototype pattern, in a nutshell, is to create a new instance of an object by copying an existing object instantiation. The object to copy is an object instantiated once and then used as a blueprint for future objects of the same type. The thought is that copying an object holds a lesser cost than instantiating a new object.</p></blockquote>
<p><strong><a href="http://www.nictunney.com/index.cfm?mode=entry&amp;entry=FBA55E43-65B8-F252-79C4B1E54C361C38">Read the full Article</a></strong></p>
<img src="http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~4/231720672" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cfdesignpatterns.com/creational-patterns/prototype-pattern-in-coldfusion-8/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cfdesignpatterns.com/creational-patterns/prototype-pattern-in-coldfusion-8/</feedburner:origLink></item>
		<item>
		<title>DAOs and Gateways in ColdFusion</title>
		<link>http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~3/231720673/</link>
		<comments>http://www.cfdesignpatterns.com/j2ee-pattern/daos-and-gateways-in-coldfusion/#comments</comments>
		<pubDate>Sat, 22 Dec 2007 16:54:56 +0000</pubDate>
		<dc:creator>akalura</dc:creator>
		
		<category><![CDATA[J2EE Pattern]]></category>

		<category><![CDATA[cf]]></category>

		<category><![CDATA[coldfusion]]></category>

		<category><![CDATA[dao]]></category>

		<category><![CDATA[design pattern]]></category>

		<category><![CDATA[gateway]]></category>

		<guid isPermaLink="false">http://www.cfdesignpatterns.com/?p=13</guid>
		<description><![CDATA[Brief introduction of DAO and Gateway pattern for coldfusion audience
Data Access Object and Gateways are the names given to ColdFusion components that access information from a database or other external data source. Within the ColdFusion community DAOs and Gateways have pretty much taken on the meaning as follows
Read the full Article
]]></description>
			<content:encoded><![CDATA[<p>Brief introduction of DAO and Gateway pattern for coldfusion audience</p>
<blockquote><p>Data Access Object and Gateways are the names given to ColdFusion components that access information from a database or other external data source. Within the ColdFusion community DAOs and Gateways have pretty much taken on the meaning as follows</p></blockquote>
<p><strong><a href="http://www.stannard.net.au/blog/index.cfm/2007/2/10/DAOs-and-Gateways-in-ColdFusion">Read the full Article</a></strong></p>
<img src="http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~4/231720673" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cfdesignpatterns.com/j2ee-pattern/daos-and-gateways-in-coldfusion/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cfdesignpatterns.com/j2ee-pattern/daos-and-gateways-in-coldfusion/</feedburner:origLink></item>
		<item>
		<title>Object Factory in Coldfusion</title>
		<link>http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~3/231720674/</link>
		<comments>http://www.cfdesignpatterns.com/creational-patterns/object-factory-in-coldfusion/#comments</comments>
		<pubDate>Sun, 16 Dec 2007 11:12:10 +0000</pubDate>
		<dc:creator>akalura</dc:creator>
		
		<category><![CDATA[Creational patterns]]></category>

		<category><![CDATA[cf]]></category>

		<category><![CDATA[coldfusion]]></category>

		<category><![CDATA[design pattern]]></category>

		<category><![CDATA[factory pattern]]></category>

		<guid isPermaLink="false">http://www.cfdesignpatterns.com/?p=12</guid>
		<description><![CDATA[Factory method pattern implementation in coldfusion along with working sample code, This pattern helps to model an interface for creating an object which at creation time can let its subclasses decide which class to instantiate.
For those of you new to this concept, an object factory is nothing but a component whose sole job is to [...]]]></description>
			<content:encoded><![CDATA[<p>Factory method pattern implementation in coldfusion along with working sample code, This pattern helps to model an interface for creating an object which at creation time can let its subclasses decide which class to instantiate.</p>
<blockquote><p>For those of you new to this concept, an object factory is nothing but a component whose sole job is to create components. An object factory is quite simple and small. Its main role is to collect the information necessary to create an instance of the intended object&#8217;s class and then to invoke that class&#8217;s constructor</p></blockquote>
<p><strong><a href="http://www.robgonda.com/blog/index.cfm/2007/2/19/Intro-to-Object-Factories-with-slides-and-code">Read the full Article</a></strong></p>
<img src="http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~4/231720674" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cfdesignpatterns.com/creational-patterns/object-factory-in-coldfusion/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cfdesignpatterns.com/creational-patterns/object-factory-in-coldfusion/</feedburner:origLink></item>
		<item>
		<title>Command Pattern in Coldfusion</title>
		<link>http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~3/231720676/</link>
		<comments>http://www.cfdesignpatterns.com/behavioral-patterns/command-pattern-in-coldfusion/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 21:20:17 +0000</pubDate>
		<dc:creator>akalura</dc:creator>
		
		<category><![CDATA[Behavioral patterns]]></category>

		<category><![CDATA[cf]]></category>

		<category><![CDATA[coldfusion]]></category>

		<category><![CDATA[command pattern]]></category>

		<category><![CDATA[design pattern]]></category>

		<guid isPermaLink="false">http://www.cfdesignpatterns.com/?p=11</guid>
		<description><![CDATA[Object in command pattern are used to represent action and can be used effectively in coldfusion, this Article explains the command pattern by building a demo application.
The tutorial is simple in its presentation but gets the job done and includes a full working application putting everything to good use. You&#8217;ll be creating a home automation [...]]]></description>
			<content:encoded><![CDATA[<p>Object in command pattern are used to represent action and can be used effectively in coldfusion, this Article explains the command pattern by building a demo application.</p>
<blockquote><p>The tutorial is simple in its presentation but gets the job done and includes a full working application putting everything to good use. You&#8217;ll be creating a home automation Remote Control for the appliances in your house. My remote has simple on/off buttons and and undo button but the tutorial will teach you to do more</p></blockquote>
<p><strong><a href="http://www.cfcdeveloper.com/views/commandpattern.cfm">Read the full Article</a></strong></p>
<img src="http://feeds.feedburner.com/~r/coldfusiondesignpatterns/~4/231720676" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.cfdesignpatterns.com/behavioral-patterns/command-pattern-in-coldfusion/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.cfdesignpatterns.com/behavioral-patterns/command-pattern-in-coldfusion/</feedburner:origLink></item>
	</channel>
</rss>
