Archive

Archive for February, 2009

Using class properties on custom components to reduce the size of Flex applications

February 28th, 2009

When you build a custom component inheriting from UIComponent and you want to provide the ability for the end user to configure your component using different modes, you have to provide a property that will let him choose which mode to…

admin elixir ,

Building a Groovy / CFML Project: Core Concepts and Tools

February 27th, 2009

This document was prepared by Joe Rinehart for Alagad, Inc. Introduction Building a CFML project with a Groovy model is a productive choice. In my experience, Groovy just "feels" better for modeling a domain, and its complimentary tooling (Hibernate, Spring) "just works." It’s a complicated beast, however, and having a guide to setting it up is handy. I’ve spent a good deal of time, both on my own and at Broadchoice, learning both the concepts of JEE Web Applications and the ins and outs of setting up these hybrid projects. This document is intended to walk you through the concepts and tools used in such a setup. Actually setting up the environment is individual to your situation, and something we’ll work on together. A lot of this is still rough around the edges. Eventually, I’d like to document a "template" of two different models of Groovy+Spring+Hibernate+CFML applications. Any attempt to do so now, however, would be obsolete the moment the environment was complete: each time through is a learning experience!

Source:Building a Groovy / CFML Project: Core Concepts and Tools

admin Alagad

Help Suport Joe and Dale

February 27th, 2009

As many people in the ColdFusion and Adobe development community may already know, shortly after Chrismas 2008 Joe Rinehart’s wife, Dale Rinehart, was diagnosed with multiple sclerosis Joe and Dale have both blogged extensivly about this life changing diagnosis and the impact it’s had on them.

In an attempt to show support for Joe and Dale, several people pulled together a site where concerned people can offer monitary support to Joe’s family.

Please visit the site here: http://www.helpsupportjoeanddale.com.

The site says it better than I can. Please visit the site consider offering your support.

Source:Help Suport Joe and Dale

admin Alagad

My Interview With CFConversations

February 27th, 2009

In late December last year I was offered the opportunity to be interviewed by Dan Wilson for CFConversations. I really enjoyed the conversation and the opportunity to talk about topics that I find very interesting. For those of you who want to listen to the podcast you can go to http://www.cfconversations.com/index.cfm/2009/1/18/CFConversations-27-Interview-17–Doug-Hughes. Thanks to CFConversations for having me on!

Source:My Interview With CFConversations

admin Alagad

Viewing MJPEG Streams in Flex

February 27th, 2009

So, I’m learning Flex at long last. The reason for me finally taking up this challenge is that I finally found a project I believed it well suited to. You see, my family has lots of digital photos. About 9000 at last count. We keep these stored on a NAS in my office. All of our computers are set to show these photos as our screen savers. However, I’ve wanted a nice wireless digital picture frame that would randomly pull from this pool of images. Well, to make a long story short, I was unable to find a single wireless picture frame that could read from a Samba share. (And trust me, I’ve tried a lot of things.)

Source:Viewing MJPEG Streams in Flex

admin Alagad

'Hackproofing Your ColdFusion Applications' Presentation Files

February 27th, 2009

Its been a busy week since I got back from MAX and I am just now getting around to posting the files from my presentation, ‘Hackproofing Your ColdFusion Applications. The session seemed to be well received and the room was packed (by far the largest group of people I spoken in front of since my days as a stand-up comic).

I thought MAX was a great experience. I spent a great deal of time at the "CF Unconference" which was run by Ray camden. The Unconference was chock-full of great speakers on interesting topics, I really hope Adobe cintinues that trend in future MAX events.

See the link below for the presentation files.

Source:'Hackproofing Your ColdFusion Applications' Presentation Files

admin Alagad

OSX 10.5 and FlexBuilder 3: You CAN have JVM Goodness(tm)

February 27th, 2009

Over the course of the last 48 hours I’ve been trying to nail down the last few issues in moving to OSX 10.5 64-bit. I’ve run into ColdFusion/Apache 2.2 configuration issues (that’s a whole other blog post), I’ve run into issues that one always runs into when changing systems, and I ran into one file, and potentially excruciating issue that I want to address here. That issue is (in my opinion incorrectly) addressed in Adobe technote kb405284 titled "Flex Builder 3.x not supported with 64 bit Java 1.6 on Mac OS X" wherein Adobe asserts that the only solution to running FlexBuilder 3 on OSX is to revert the JVM to the 32-bit Java 1.5.0 that comes with the computer. This posed a serious dilemma.

Source:OSX 10.5 and FlexBuilder 3: You CAN have JVM Goodness(tm)

admin Alagad

Getting Started with Groovy, Spring, Hibernate and More with ColdFusion

February 27th, 2009

The Alagad battleship is turning. For years now we have followed more or less the same process for developing applications. Namely, we’ve made use of now-traditional ColdFusion frameworks such as Model-Glue, ColdSpring, and Reactor. We’ve played around with various alternative frameworks and techniques, but essentially, this is what we’ve done for several years now. And through those years of experience we’ve learned a few valuable lessons. For example, I’ve learned it’s a heck of a lot easier to not manage your own requests and let Model-Glue do that. I’ve learned the beauty that is Inversion Of Control. And, sadly, I’ve learned that ColdFusion Components are really, really, heavy. Over the least few years we’ve had a number of applications we’ve created which, to me, never felt as performant as I felt they should. Granted, tuning ColdFusion and JRun makes a big difference, but more and more we’ve had to apply techniques to work around ColdFusion’s shortcomings in this respect.

Source:Getting Started with Groovy, Spring, Hibernate and More with ColdFusion

admin Alagad

Intro 101

February 27th, 2009

I’m sure this post will quickly skyrocket to the top of the ‘most viewed’ list, so I wont keep anyone waiting!

My name is Chris Peterson, and I started working for Doug with Alagad 4 weeks ago as a full time contract programmer. My first day on the job I dove head first into a Model-Glue / Coldspring / Transfer clustered application and haven’t looked back since. It’s great to be working with other people who get excited as much as I do about event gateways, autowired remote proxies, and event construction.

Source:Intro 101

admin Alagad

Sproc to Cascade Deletes In SQL Server

February 27th, 2009

As a developer, from time to time you need to delete an record out of a database. And, if that record has a number of tables that refer to it by foreign key (and heaven forbid those tables are themselves referenced), deleting a single row can be quite a headache. This wouldn’t be so bad if your foreign keys were set to cascade deletes, but they rarely are. In these cases you’re pretty much stuck writing a lot of SQL to delete one single record. For situations like this I’ve created a stored procedure which will automatically cascade delete records for you. Here’s the complete sproc:

Source:Sproc to Cascade Deletes In SQL Server

admin Alagad