Posts

Showing posts from April, 2009

ColdFusion in an Enterprise Environment - Part 2 - Choosing ColdBox

There is many reasons I have picked coldbox over other CF frameworks, but I don't want this to get into why, should I, or you idiot you shouldn't of picked coldbox because -x- framework is better. Rather, I'd rather explain how I are using the framework to make development easier with an office of developers. The following are seven of the reasons I choose coldbox 1.) ColdBox.org provides a lot of great documentation, and almost overstates the amount of documentation. It does have a lot of great documentation, especially some of its competitors. But some of the documentation is not layed out well for someone jumping into a framework. But this is one of the reasons I choose coldbox. 2.) Provides MVC!!!! And it provides it by forcing you to code. Providing you the most powerful MVC capabilities, not wrapped into AOP, forcing a developer to design it out before he just starts coding and expecting the framework to do it for him/her. Sorry this was a little strong opi...

ColdFusion in an Enterprise Environment - Part 1 - Understanding how to use SubVersion (SVN)

Subversion can be used in many ways, so this isn't the holy grail of how you need to use subversion, but it does add application management to subversion. What does application management mean? Well, the definition for this article is how to control what gets released into production. This article is not going to go into how to setup version, or how to add an external to the repository tree. But how in concept to use SVN and an external to achieve application management. First of course you need a SVN repository, which for the purpose of this article our repository will be noted as "/". Second we need to know that will we still be using the concepts of trunk, tags, and branches, they just won't live in the root of the repository. The trunk is the current working copy of development, while the tag folder is to version releases (by tagging). Branches will be used when "new" development is going on and emergency coding is required on the existin...

mxunit and validation exceptions

WIthin my models I use "doValidate" functions that throw an exception of "validationExceptions", which you can read about here ,  I am now getting into unit testing with MXUnit!!  So, I wanted to unit test my validation exceptions, therefore, i needed away to capture the exception and compare the number of validation errors returned to how many i expected. The following is one of my mxunit test functions that trap the validationException error: <cffunction name="testValidateForPassword2" displayname="password and verified password do not match" access="public" returntype="void">     <cfscript>         oFpsGTW = createObject("component","fps.model.FpsGTW").init(fpsServerURL="#variables.instance.fpsURL#");                 oFpsDTO = setupGoodDTO();                 //SET check not equal passwords  ...

ColdFusion in an Enterprise Environment - Overview

Over the past 12 plus years, I have been Coldfusion programming. Early on I coded within Coldfusion very inefficiently, because of both Coldfusion being young, and because I was young. And since 2001 I have coded in a "object" methodology within Coldfusion . I started with CFObjects (url used to be cfobjects.com). And until late last year I really haven't expanded my object oriented capabilities. Over the past year, I had the opportunity to take a java class with a great instructor and I also had the opportunity to review all the Coldfusion frameworks. With learning the MVC concept and design patters I am now ready to take the endeavor of using MVC and design patterns in an enterprise. Good or bad I have chosen Coldbox to help implement MVC concept in our enterprise applications. The reason I'm blogging about it, I haven't seen to many explanations on how a group might use it for an enterprise application, or set of applications that work together. ...