I have not seen any tutorials like that but I would take a look at Mangoblog as a good example, this seems to be a very easy app to write plugins for.
One key thing is to use CFC's and make use of the EXTENDS attribute, this allows any plugins to simply extend your core components. Custom tags seem to have been dismissed by menu in favour of CFC's, but they are still immensely useful, especially for outputting dynamic content. One trick that I use is to use <cfimport> without a prefix then you can create custom tags that will replace all occurrences of HTML tags. e.g. <cfimport prefix="" taglib="customtags"> create a file called div.cfm in your taglibs folder every time a <div> tag is encountered it will be replaced with your CFML :-) I find this very extensible as you can use a different taglib on every page so great for plugins. Also make sure you make all your variables easily accessible, either by putting then in application scope or via methods in a cached component. just a few ideas.... On Tue, May 3, 2011 at 8:59 PM, Richard Beck <[email protected]> wrote: > > Right, I've done some of that already. I was hoping to find a barebones > tutorial so i wouldnt have to sift through other stuff. > > >Hm. Well, I'm not sure this is the easiest/best answer...but...you could > >look at a popular framework/app, dig into the source code, and see how > they > >handle plugins. Two that spring immediately to mind are: > > > >http://cfwheels.org/plugins/ > ><http://cfwheels.org/plugins/>http://www.mangoblog.org/docs/plugins > > > > > > > >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344200 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

