The amazing adventures of Doug Hughes

Archive for April, 2008

Sign Up from My One-Day Model-Glue Class before CFUnited!

It’s not yet common knowledge, but Teratech has kindly invited me to give a one day class on Model-Glue before CFUnited 08. I’ll be giving an abbreviated version of my four day Enterprise ColdFusion with Model-Glue class.

Up to this point, the class description has been a bit vague. However, here are the details of the class:

Model-Glue is a fantastic framework for creating robust and maintainable applications using the Model View Controller (MVC) design pattern. Unfortunately, it can be quite challenging for a programmer to learn how to be productive with such a framework without prior experience.

Luckily, Doug Hughes, a member of Team Model-Glue has been working with Model-Glue since version 0.4 and has advised and assisted with the development of the framework.

This class will cover a range of topics including:

  • Foundational concepts including a comparison of traditional development techniques to techniques employed with Model-Glue.
  • An Introduction to the Model-Glue framework. We’ll learn how to configure the framework and about the structure of a standard Model-Glue application.
  • From there we’ll dive in head first and learn the details of event handlers, controllers, and other important details.
  • Towards the end of the class we’ll cover some important details regarding Service Oriented Architecture using ColdSpring and advanced Model-Glue features.

You should take this class if…

  • you want to learn how to build more robust applications which are easier to maintain.
  • you want to build more easily maintainable applications.
  • you want to lower the total cost of ownership of your applications.
  • you want to use a system which helps to facilitate team development.
  • you want to build applications using Object Oriented techniques.
  • you want to learn about some common design patterns.
  • you’ve started down the road with Model-Glue and could use a hand getting up to speed.
  • you want to learn an extremely valuable job skill. Many companies are looking for developers who know how to work with Model-Glue and they pay a premium for this experience.

To succeed with this class you need to have experience working with CFCs. In particular, you should understand the basic syntax of CFCs. Knowledge of best practices with CFCs would be helpful as there will be no review of this in the class.

At only $449 this class is an absolute steal. Register now!

I hope to see you in the class!

HA – Clustering ColdFusion Part 1 – Installing CF

This will be the first post in a series relating to clustering ColdFusion. In this first series of posts we will be looking at clustering CF at a software level using ColdFusion 8 Enterprise. Hopefully later on, we can move to a Hardware-Software set-up with examples.

I mentioned in a previous post that what I will detail is drawn from my experiences from either creating clusters for clients or working on existing clusters. There are no doubt other ways to do this.

Firstly, I always create what I call a “master instance”, typically the first instance which is created from a multiple-instance install. Here are some important steps from that… As the install progresses select “Multiserver configuration”.

Install Multi Server

At the point where you are asked to select a webserver select the “Built-in webserver”. We will use this to run CF Admin and eventually use with wsconfig utility to connect to our Production web server…

Select Built In Webserver

We let the installation complete, successfully and at this point we have one ColdFusion instance (cfusion) and a JRun instance (admin). We do not need the JRun admin instance so we can go into Windows services and set it to manual start. Next we take a look at the ColdFusion Administrator GUI on the single instance created during the install.

The thing to note about this instance is the bottom section on the left navigation pane “ENTERPRISE MANAGER” with that section there are two sub sections “Instance Manager” and “Cluster Manager”. This section and it’s sub sections will not be present in the instances we create. This is why I consider this first instance created during the install of CF8 to be a master instance. Its job from now on will be to manage the cluster.

We will next create our first instance, go into ENTERPRISE MANAGER > Instance Manager to create the first instance, obviously give this instance whatever name you wish, I tend to make it meaningful to the web site it will support and then number {instance_name_1}, {instance_name_1} etc…

Instance Mnager

Repeat these steps to create your second instance, once again you use the master cfusion instance to do that. Once this is complete you will have two instances in Instance Manager…

Two instances

At this point we have installed ColdFusion and created two new instances, the next step is to create a cluster for these to sit in. Before we do that one thing that is good to do at this point is to connect each instance, individually to your Production web server just to make sure that they are fully functional individually…


Once we have verified that all instances function as expected/needed we are ready to move on to clustering them, which will be the subject of the second article in this series.

Tag Cloud