An Architect's View

CFML, Clojure, Software Design, Frameworks and more...

An Architect's View

Entries Tagged as coldspring

My cf.Objective() 2009 Schedule

May 11, 2009 · 2 Comments

In the absence of a printable schedule - sorry, Joe Rinehart says it's a problem with the Media3 hosting and he's been trying to get them to fix it for months! - here is my schedule for cf.Objective() 2009:

[Read more →]

2 CommentsTags: adobe · air · architecture · cfobjective · coldbox · coldfusion · coldspring · flex · iphone · j2ee · jquery · machii · orm · oss · ria · saas · swiz · tdd

Installing Frameworks via the Railo Administrator

April 17, 2009 · No Comments

One of the neat features of the Railo Administrator console is that you can easily install pre-packaged applications with just a few clicks. As part of my recent presentation comparing application frameworks, I installed ColdBox, ColdSpring, Mach-II and Model-Glue via the Web Administrator. There are a couple of "gotchas" about the current default settings for those installations that I wanted to cover in a blog post.

[Read more →]

No CommentsTags: coldbox · coldfusion · coldspring · machii · modelglue · railo

Getting Started with Swiz

January 09, 2009 · No Comments

Brian Kotek has begun a series on using Swiz, the Dependency Injection framework created by Chris Scott of ColdSpring fame. Brian's first post just shows the very basic setup (how to specify the classes that Swiz manages and how to load them into your application). If you're using ColdSpring today in CFML and you're interested in learning Flex, Brian's series might be very useful to you. If you're tired of the boilerplate code that Cairngorm makes you write (or generate), Swiz might be just what you're looking for and Brian's series will be good reading for you too. We use Swiz at Broadchoice, in our Workspace for Salesforce desktop application (built with Flex and AIR) and we all love working with the framework!

No CommentsTags: air · broadchoice · coldspring · flex · oss · ria · swiz

2008 in review

January 04, 2009 · 4 Comments

As "usual", I start the year with a round-up of the highlights of last year, based on things that I blogged. It's been a strange year for me. After (seven) years with Macromedia / Adobe and most of 2007 spent freelancing, I took a full-time job with a startup and hired some amazing CFers to be part of my team. I (finally) learned Flex (and AIR). I learned a new language (Groovy) and did a lot less CFML programming than I've done in years while at the same time joining first the Open BlueDragon Steering Committee and then the CFML Advisory Committee, as well as attending more ColdFusion-related conferences than usual (cf.Objective(), Scotch on the Rocks, CFUNITED, Wee Dram of Scotch, MAX).

[Read more →]

4 CommentsTags: adobemax08 · air · bacfug · bluedragon · broadchoice · cfdevcon08 · cfml-advisory · cfobjective · cfunited08 · cfunited09 · coldfusion · coldspring · edmund · flex · fusebox · grails · hosted · iphone · openbd · oss · personal · railo · ria · saas · scotch08 · tdd · weedram08

Broadchoice Workspace Available To Everyone!

November 14, 2008 · No Comments

Today was our official launch, just in time for MAX! Now anyone can download the Broadchoice Workspace AIR application and create a 30-day trial account. Commercial use will be just $99/user per year with educational licenses at $49/user per year. Registered non-profit organizations can get free licenses. If you're also a Salesforce user, you'll love the integration between groups in Workspace and your company's Salesforce account, allowing you to see open opportunities directly in the Workspace and create collaborative spaces based on opportunities so that you can work with your non-Salesforce peers on closing deals! Working with Brian Kotek, Joe Rinehart and Ray Camden on this application has been a wonderful experience. We've all learned a lot from each other as we've learned a lot about Flex, AIR, Groovy, BlazeDS, Spring, Hibernate and integration with CFML via Model-Glue 3 (Gesture) and ColdSpring! Also, for Workspace users on-the-go, there is an iPhone-compatible web application (with plans for full Blackberry support by year end).

No CommentsTags: air · broadchoice · coldfusion · coldspring · flex · iphone · modelglue · ria · saas

A Wee Dram of ColdFusion

September 25, 2008 · 2 Comments

Adam Lehman kicked off the day with some upbeat news about ColdFusion 8 (about 75,000 new developers since 2007!) and then covered potential features for Centaur. I'll blog more about this later. Next up was Mark Drew, covering ColdSpring. A great introduction to basic ColdSpring then on to AOP and remote proxies. I acted as a "bean factory" that helped Mark get ready for work: he asked me for his jacket and I ensured that it contained his iPod and his cigarettes, which in turn meant adding his headphones and his lighter. His examples were amongst the best I've seen for introducing ColdSpring concepts. Peter Bell is up now, giving his Rapid OO talk - similar to what he did at Scotch. Some good, pragmatic advice about when to bend (or even break) the "rules" of OO that can make you more productive. After lunch, it's Mike Brunt (Clustering), me (Subversion branches), Kurt Wiersma (development environment) and Gert Franz (Railo 3.1). More on that later.

2 CommentsTags: adobe · coldfusion · coldspring · weedram08

ColdSpring 1.2 Released!

September 12, 2008 · No Comments

ColdSpring has a brand new website and an official 1.2 release that you can download immediately! There is a brand new quick start guide fully updated for the 1.2 release courtesy of Broadchoice's own Brian Kotek. It covers everything from the most basic usage of ColdSpring up to AOP and remote proxies and includes parent beans and factory beans, both of which I use a lot.

No CommentsTags: coldfusion · coldspring

A Wee Dram - location and more details

September 02, 2008 · No Comments

A Wee Dram of Scotch has a location - The Square Pig in Holborn - and has posted the full schedule for the day:
  • Adobe Keynote - Adam Lehman and Claude Englebert
  • ColdSpring - Mark Drew
  • RAD Object-Oriented CFML Development - Peter Bell
  • High Availability: Clustering ColdFusion Applications - Mike Brunt
  • Subversion: Better Living Through Branches - Sean Corfield
  • Setting up a Solid Local Development Environment - Kurt Wiersma
  • Railo 3.1: The Open Source Story - Gert Franz
Gert is a new addition to the schedule - it'll be great to hear an update on Railo going open source! Mark's talk went over extremely well at cf.Objective() this year - if you're curious about ColdSpring or just starting down that path, this will be an excellent talk for you! Kurt's talk was also very well received at cf.Objective(), as was Mike's. Both talks have a lot of solid, "from the trenches" experience in them. Peter's talk was very well received at both Scotch on the Rocks and CFUNITED - I really enjoyed this talk at Scotch and learned a lot from it! Mine is a new talk I was planning for CFDevCon, that looks at how Broadchoice is using Subversion for more than just simple version control.

No CommentsTags: adobe · coldfusion · coldspring · railo · weedram08

BACFUG - Wednesday 20th August - CANCELLED!

August 20, 2008 · No Comments

Our original speaker had a schedule conflict and our backup speaker just pulled out so there will be no BACFUG meeting tonight. Sorry. We'll be back in September with Seth Duffey and image manipulation.

No CommentsTags: 360flex · bacfug · coldfusion · coldspring

Better Living Through Transfer and ColdSpring

August 15, 2008 · No Comments

We have a live system with customer data and a new requirement comes along that a particular piece of customer data must be encrypted in the database from now on. We already encrypt some columns (using Triple DES - which you might have guessed given the recent posts on my blog and here about mimicking ColdFusion's encryption in Java/Groovy). What is the smallest possible code change to ensure that as any user updates their data in future, this item will automatically be encrypted - whilst still handling the case of legacy data being unencrypted? We use Transfer for all our persistent business objects and almost all of our business objects have a decorator defined (for validation or some additional business logic). We also use Brian's TDOBeanInjectorObserver to automatically inject services into our business objects - just add a setter for a service and the bean injector takes care of the rest. Here's the bean injector definition in our ColdSpring file:
<bean id="transferObjectInjector" class="coldspring.transfer.TDOBeanInjectorObserver">
   <constructor-arg name="transfer"><ref bean="transfer" /></constructor-arg>
   <constructor-arg name="suffixList"><value>service,datasource</value></constructor-arg>
   <constructor-arg name="debugMode"><value>true</value></constructor-arg>
</bean>
Normally you would declare it non-lazy but we already do other non-lazy initialization so in our ColdSpring factory initialization code, we do this:
<cfset bf.getBean("transferObjectInjector") />
to force the bean injector to be initialized which, in turn, registers itself as a Transfer event listener (so that it can intercept object creation). The suffixList specifies that any set*Service() method or set*Datasource() method on the business objects managed by Transfer should be matched to beans defined in ColdSpring and injected. So how do we add the on-demand encryption to our business object's data?

[Read more →]

No CommentsTags: coldfusion · coldspring · orm