<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>Application Generation - LightWire</title>
			<link>http://www.pbell.com/index.cfm</link>
			<description>A series of occasional musings on architecting, securing, optimizing and generating web based applications. By Peter Bell.</description>
			<language>en-us</language>
			<pubDate>Fri, 24 May 2013 04:51:11 -0400</pubDate>
			<lastBuildDate>Sat, 09 Jan 2010 15:26:00 -0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>test@test.com</managingEditor>
			<webMaster>test@test.com</webMaster>
			
			
			
			
			
			<item>
				<title>Critical LightWire Error in Setter Injection for Transients</title>
				<link>http://www.pbell.com/index.cfm/2010/1/9/Critical-LightWire-Error-in-Setter-Injection-for-Transients</link>
				<description>
				
				LightWire is a lightweight Dependency Injection engine for CFML that I wrote a while back and is being used by a number of developers and projects.

Many thanks to Micky Dionisio for finding and documenting a critical error in LightWire. I saw the posting yesterday, but didn’t get a chance to replicate the error and post a patch until this morning.

&lt;a href=&quot;http://appgen.pbell.com/2010/01/09/critical-lightwire-error-in-setter-injection-for-transients/&quot;&gt;This posting&lt;/a&gt; clarifies what the error is and how to patch it.
				
				</description>
				
				<category>CFML</category>
				
				<category>LightWire</category>
				
				<pubDate>Sat, 09 Jan 2010 15:26:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2010/1/9/Critical-LightWire-Error-in-Setter-Injection-for-Transients</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Critical Error in LightWire - Patch Available</title>
				<link>http://www.pbell.com/index.cfm/2008/3/5/Critical-Error-in-LightWire--Patch-Available</link>
				<description>
				
				Thanks &lt;a href=&quot;http://www.1pixelout.net/about-me/&quot;&gt;Martin&lt;/a&gt; for catching the critical lack of a var scoping on a couple of variables in LightWire. While I&apos;ve been using the unpatched version on over 40 projects without issue, under load (creating lots of transient objects) this could be a real problem, so please update your LightWire.cfc and BaseConfigObject.cfc either from &lt;a href=&quot;http://lightwire.riaforge.org/index.cfm?event=page.svnbrowse&quot;&gt;the svn repo&lt;/a&gt; (or in svn go to http://svn.riaforge.org/lightwire) or by downloading &lt;a href=&quot;http://lightwire.riaforge.org/index.cfm?event=page.svnzip&quot;&gt;the latest zip file&lt;/a&gt;.

The ColdBox team are aware of the issue, so you may see a separate patch directly from them. Both versions include the autowiring code added by Luis, so you should be able to use either version with Coldbox.
				
				</description>
				
				<category>LightWire</category>
				
				<pubDate>Wed, 05 Mar 2008 10:01:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2008/3/5/Critical-Error-in-LightWire--Patch-Available</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Coldbox and Lightwire</title>
				<link>http://www.pbell.com/index.cfm/2007/8/13/Coldbox-and-Lightwire</link>
				<description>
				
				One of the many stories I didn&apos;t get a chance to mention recently was the great efforts by Aaron Roberson and &lt;a href=&quot;http://www.luismajano.com/&quot;&gt;Luis Majano&lt;/a&gt;. &lt;a href=&quot;http://lightwire.riaforge.org&quot;&gt;LightWire&lt;/a&gt; is now a supported DI engine in &lt;a href=&quot;http://www.luismajano.com/blog/index.cfm/2007/8/3/ColdBox-203--Dashboard-221-now-available&quot;&gt;Coldbox&lt;/a&gt;.

Great work guys - many thanks!
				
				</description>
				
				<category>Dependency Injection</category>
				
				<category>Frameworks</category>
				
				<category>LightWire</category>
				
				<pubDate>Mon, 13 Aug 2007 18:10:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/8/13/Coldbox-and-Lightwire</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>LightWire: Paul Marcotte on the new &quot;mixin&quot; tag</title>
				<link>http://www.pbell.com/index.cfm/2007/6/27/LightWire-Paul-Marcotte-on-the-new-mixin-tag</link>
				<description>
				
				One of the differentiators of LightWire is the concept of &quot;mixin injection&quot;. It could more properly be called generic setter injection and the idea is to provide the benefits of setter injection (the ability to handle circular dependencies) without having to clutter up your classes with a bunch of setters that you&apos;re never actually supposed to call.

Paul has added a tag to allow you to describe your mixin injections using an XML config file. Check out &lt;a href=&quot;http://www.fancybread.com/blog/index.cfm/2007/6/27/LightWire-XML-Configuration-Update-Now-Supporting-Initmethod-and-Mixin&quot;&gt;his posting&lt;/a&gt; for more information.
				
				</description>
				
				<category>Dependency Injection</category>
				
				<category>LightWire</category>
				
				<pubDate>Wed, 27 Jun 2007 17:45:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/6/27/LightWire-Paul-Marcotte-on-the-new-mixin-tag</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Lightwire Updated</title>
				<link>http://www.pbell.com/index.cfm/2007/6/27/Lightwire-Updated</link>
				<description>
				
				Just a quick note that &lt;a href=&quot;http://www.fancybread.com/blog/&quot;&gt;Paul Marcotte&lt;/a&gt; made some improvements and added some documentation regarding ColdSpring XML in LightWire. It only took me a month to finally get round to uploading - sorry Paul :-&lt;

Available via svn or download at the &lt;a href=&quot;http://lightwire.riaforge.org&quot;&gt;project site&lt;/a&gt;.
				
				</description>
				
				<category>LightWire</category>
				
				<pubDate>Wed, 27 Jun 2007 11:37:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/6/27/Lightwire-Updated</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>LightWire Preso Recording Available Online</title>
				<link>http://www.pbell.com/index.cfm/2007/5/16/LightWire-Preso-Recording-Available-Online</link>
				<description>
				
				As &lt;a href=&quot;http://www.cfframeworks.com/&quot;&gt;Nick&lt;/a&gt; just mentioned, the LightWire recording is now &lt;a href=&quot;https://admin.adobe.acrobat.com/_a200985228/p93508928/&quot;&gt;available online&lt;/a&gt;.

The presentation provided a brief intro to Dependency Injection, a short overview of ColdSpring and then ran through how to use &lt;a href=&quot;http://lightwire.riaforge.org&quot;&gt;LightWire&lt;/a&gt; and why you might consider it for some use cases.

If you&apos;re interested in why you might want to use a programmatic config file, &quot;mixin injection&quot; or &quot;ghetto annotations&quot;, check it out. Good Q&amp;A at the end, and as always, &lt;a href=&quot;http://www.firemoss.com/&quot;&gt;Joe&lt;/a&gt; had the last word (&lt;a href=&quot;http://www.coldspringframework.org&quot;&gt;ColdSpring Forever&lt;/a&gt; *grin*).
				
				</description>
				
				<category>Presentations</category>
				
				<category>Dependency Injection</category>
				
				<category>LightWire</category>
				
				<pubDate>Wed, 16 May 2007 16:05:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/5/16/LightWire-Preso-Recording-Available-Online</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Programmatic Config Files and Automagic Configuration</title>
				<link>http://www.pbell.com/index.cfm/2007/5/16/Programmatic-Config-Files-and-Automagic-Configuration</link>
				<description>
				
				Something I was getting really tired of in my framework was that every time I added a new feature (controller) or custom data type, not only did I need to write the CFC, but I also had to add the bean definition to my config file. With the programmatic config file in &lt;a href=&quot;http://lightwire.riaforge.org&quot;&gt;LightWire&lt;/a&gt;, I was able to write a script to automagically instantiate and inject all of the custom data types and features by looking at all of the CFC&apos;s in the appropriate directories . . .
				 [More]
				</description>
				
				<category>Dependency Injection</category>
				
				<category>LightWire</category>
				
				<pubDate>Wed, 16 May 2007 10:38:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/5/16/Programmatic-Config-Files-and-Automagic-Configuration</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>ONLINE LightWire Preso at 2pm EST Today</title>
				<link>http://www.pbell.com/index.cfm/2007/5/16/ONLINE-LightWire-Preso-at-2pm-EST-Today</link>
				<description>
				
				Just realized I hadn&apos;t made it at all obvious. The preso today at 2pm is online. Just click &lt;a href=&quot;https://admin.adobe.acrobat.com/_a200985228/pbonlightwire/&quot;&gt;here&lt;/a&gt; just before 2pm EST if you&apos;d like to attend!

This is a redo of last weeks which was marred by some technical glitches. Thanks to the &lt;a href=&quot;http://www.cfframeworks.com/&quot;&gt;CF Frameworks&lt;/a&gt; crew for putting this together.
				
				</description>
				
				<category>Dependency Injection</category>
				
				<category>LightWire</category>
				
				<pubDate>Wed, 16 May 2007 10:23:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/5/16/ONLINE-LightWire-Preso-at-2pm-EST-Today</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>Programmatic Configuration and Virtual Beans</title>
				<link>http://www.pbell.com/index.cfm/2007/5/16/Programmatic-Configuration-and-Virtual-Beans</link>
				<description>
				
				Something else I&apos;m going to be &lt;a href=&quot;https://admin.adobe.acrobat.com/_a200985228/pbonlightwire/&quot;&gt;presenting&lt;/a&gt; today at 2pm EST in terms of the kinds of benefits you can get by using a Dependency Injection engine with a &lt;a href=&quot;http://lightwire.riaforge.org&quot;&gt;programmatic config file&lt;/a&gt; . . .
				 [More]
				</description>
				
				<category>Dependency Injection</category>
				
				<category>LightWire</category>
				
				<pubDate>Wed, 16 May 2007 10:18:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/5/16/Programmatic-Configuration-and-Virtual-Beans</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>An Example of the Benefits of a Programmatic Config File for Dependency Injection</title>
				<link>http://www.pbell.com/index.cfm/2007/5/16/An-Example-of-the-Benefits-of-a-Programmatic-Config-File-for-Dependency-Injection</link>
				<description>
				
				I&apos;m giving a &lt;a href=&quot;https://admin.adobe.acrobat.com/_a200985228/pbonlightwire/&quot;&gt;presentation&lt;/a&gt; at 2pm EST today on LightWire. As part of that I decided to finally take a few minutes to mock up what a small part of my config file would actually look like if I did it in XML rather than programmatically . . .
				 [More]
				</description>
				
				<category>Dependency Injection</category>
				
				<category>LightWire</category>
				
				<pubDate>Wed, 16 May 2007 09:43:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/5/16/An-Example-of-the-Benefits-of-a-Programmatic-Config-File-for-Dependency-Injection</guid>
				
				<enclosure url="http://www.pbell.com/enclosures/Archive.zip" length="2969" type="application/x-zip-compressed"/>
				
			</item>
			
		 	
			
			
			<item>
				<title>When NOT to Use Dependency Injection (introductory)</title>
				<link>http://www.pbell.com/index.cfm/2007/5/15/When-NOT-to-Use-Dependency-Injection-introductory</link>
				<description>
				
				While I can&apos;t imagine any non-trivial OO project that I wouldn&apos;t use dependency injection for, there are specific tasks within a project that don&apos;t necessarily need DI. Someone asked me a question earlier today which raised a good point when getting comfortable with DI - the difference between a dependency and a runtime bean request . . .
				 [More]
				</description>
				
				<category>Dependency Injection</category>
				
				<category>LightWire</category>
				
				<pubDate>Tue, 15 May 2007 14:33:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/5/15/When-NOT-to-Use-Dependency-Injection-introductory</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>InitMethod Added to LightWire</title>
				<link>http://www.pbell.com/index.cfm/2007/5/12/InitMethod-Added-to-LightWire</link>
				<description>
				
				I just had a use case where I needed the ability to call a custom init() method after fully initializing a bean but before returning it from LightWire (I needed a config method for my #BusinessObjectName#Metadata config beans to automagically add any config properties I hadn&apos;t explicitly set for an object). In the past I&apos;d just called super.config() at the end of the init() method, but that didn&apos;t allow for metadata inheritance (if you called MyUserMetadata that extended UserMetadata config would get called twice and it&apos;d get nasty). So, I have officially added support for an InitMethod property to the addSingleton(), addTransient() and addBean() config methods. This has not been added to the ColdSpring XML reader, but I&apos;ll have a word with Paul and wouldn&apos;t be surprised if this got done soon. For now I&apos;ve just updated the &lt;a href=&quot;http://lightwire.riaforge.org&quot;&gt;LightWire&lt;/a&gt; svn repo for anyone in a rush to use the feature :-&gt;
				
				</description>
				
				<category>Dependency Injection</category>
				
				<category>LightWire</category>
				
				<pubDate>Sat, 12 May 2007 13:03:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/5/12/InitMethod-Added-to-LightWire</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>LightWire Preso - Apologies</title>
				<link>http://www.pbell.com/index.cfm/2007/5/9/LightWire-Preso--Apologies</link>
				<description>
				
				To the few, the trusty who sat through almost 40 minutes of technical issues, many thanks for hanging in there :-&gt;

After resolving sound, screen sharing and connectivity issues, we finally gave up the ghost when my Internet went down hard for almost 10 minutes.

The preso will be rescheduled, and the preso will be fully debugged so it should be nice and smooth next time. I&apos;ll post the new time when I get confirmation from Nick.
				
				</description>
				
				<category>Dependency Injection</category>
				
				<category>LightWire</category>
				
				<pubDate>Wed, 09 May 2007 16:03:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/5/9/LightWire-Preso--Apologies</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>LightWire Preso - Link</title>
				<link>http://www.pbell.com/index.cfm/2007/5/9/LightWire-Preso--Link</link>
				<description>
				
				Here is a link to the connect room for the LightWire Preso at 2pm EST today: &lt;a href=&quot;https://admin.adobe.acrobat.com/_a200985228/pbonlightwire/&quot;&gt;https://admin.adobe.acrobat.com/_a200985228/pbonlightwire/&lt;/a&gt;.

If you want to review the benefits of Dependency Injection or see how programmatic configuration, mixin injection and perhaps even &quot;ghetto annotations&quot; can hep you to develop quicker, more agile OO apps, come along and check it out.

Thanks &lt;a href=&quot;http://www.cfframeworks.com&quot;&gt;Nick&lt;/a&gt;!

&lt;a href=&quot;http://upcoming.yahoo.com/event/186522/&quot;&gt;More information . . .&lt;/a&gt;
				
				</description>
				
				<category>Dependency Injection</category>
				
				<category>LightWire</category>
				
				<pubDate>Wed, 09 May 2007 09:46:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/5/9/LightWire-Preso--Link</guid>
				
			</item>
			
		 	
			
			
			<item>
				<title>LightWire Preso 2pm EST Tomorrow</title>
				<link>http://www.pbell.com/index.cfm/2007/5/8/LightWire-Preso-2pm-EST-Tomorrow</link>
				<description>
				
				If you&apos;re interested in finding out more about how &lt;a href=&quot;http://lightwire.riaforge.org&quot;&gt;LightWire&lt;/a&gt; works, check out the &lt;a href=&quot;http://www.cfframeworks.com/blog/index.cfm/2007/4/27/cfFrameworkscom-workshop-Peter-Bell-on-Lightwire&quot;&gt;Preso&lt;/a&gt;    tomorrow at 2pm EST put together by the &lt;a href=&quot;http://www.cfframeworks.com/&quot;&gt;CF Frameworks&lt;/a&gt; crew.

I&apos;ll provide a brief overview of DI/IoC, but this will really be focused on how LightWire works (including ColdSpring XML support) and the use cases I&apos;ve found for programmatic config files, Mixin injection and &quot;Ghetto annotations&quot;. If you&apos;d like to learn more about alternative approaches to Dependency Injection in the ColdFusion world and how they can support more rapid development for certain use cases, it should be an hour well spent.
				
				</description>
				
				<category>Dependency Injection</category>
				
				<category>LightWire</category>
				
				<pubDate>Tue, 08 May 2007 08:52:00 -0400</pubDate>
				<guid>http://www.pbell.com/index.cfm/2007/5/8/LightWire-Preso-2pm-EST-Tomorrow</guid>
				
			</item>
			
		 	
			</channel></rss>
	

