making progress with the Glue

ModelGlue No Comments »

I’m making really good progress (i think) with Model-Glue. I now have a project to work on - a scoring application for my Radio Control Helicopter flying. Next year in August the UK is hosting the European Championships for a discipline of flying (F3C) I’m involved with. Each pilot (around 50 or so) flies a preset schedule of manouevres and is scored by 5 (or more) judges. My job is to take all the scores, process them and then get them out to the web ASAP. So far I’ve built a pretty neat application that is super flexible. In fact, it’s so flexible that it will probably work scoring any event that needs scoring - with a few tweaks here or there. I’m using the technique Ray uses in BlogCFC so I can change all the lingo used in the app from heli stuff to whatever event is being scored. I’m really digging Model-Glue, I have run into the occasional oddity but I hear that Model-Glue 1.0 will fix those problems (mostly relocating after doing something). Anyway, when i’ve got it more into a state where I feel happy showing it off I’ll post a link back here.

ModelGlue bookstore

ColdFusion, ModelGlue 3 Comments »

As promised, here is my first bash at building an MG application. Granted, Brian Kotek had done most of the work and written the CFCs so I’ve come along and butchered a few of them and wired it up as an MG application. Most of the butchering I’ve done is in the product bean, I couldn’t get Brians original bean to return what I expected so I rewrote it. I’m not expecting it to be perfect, but hey - we all gotta start somewhere! Let me know what you think.

making the glue stick

ColdFusion, ModelGlue 3 Comments »

Over the past few weeks (time allowing) I’ve been keen to learn Model-Glue. I don’t proclaim to be an OO person in any shape or form but i kinda understand the principles now. Coming from procedural programming into the OO world and having to think about DAOs, Gateways and Beans is certainly daunting to some. Keen to learn ModelGlue I took Brian Koteks Bookshop sample applications available in Fusebox and Mach-II and turned them into a ModelGlue version. Doing it this way I don’t have to worry about the how and why’s of OO and can just get on with learning MG and worry about them later. With the existing objects in the model layer I adapted the managers into ModelGlue controllers and changed the Mach-II event arguments into Model-Glue event arguments. At the moment I have about 80% of it converted over to ModelGlue so once it’s finished I’ll put it up here (with Brian’s ok) for folk to critique.

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in