September 2010
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30

What I'm reading
I am currently reading The Amber Spyglass by Philip Pullman

Thought for the day
Live as if you were living a second time, and as though you had acted wrongly the first time.
Viktor Frankl, author, neurologist and psychiatrist, Holocaust survivor (1905-1997)

Download the code
You can download the code for the Fuseblog here

Categories

Syndicate this Site - RSS 0.92
Syndicate this Site - RDF

Sep 2010

2002 2003 2004 2005 2006 2007 2008 2009

The Future of Fuseblog
Being Ben Nadel - Mach-II listeners and service layers
CF411 launches
Diary of a Project - PingPong
Thursday - Changing The Game
Thursday - Event Driven Programming
Thursday - HostMySite keynote
Thursday - Continuous Integration with Flex, FlexUnit and ANT
Thursday - Testing CF Applications
Wednesday - BOF - SciFi discussion
Wednesday - Accessibility and RIAs
Wednesday - Head First Mach-II
Wednesday - RAD OO by Peter Bell
Wednesday - Adobe Keynote
Wednesday - Teratech Keynote - Michael Smith
At CFUNITED 2008
Resetting the ColdFusion Administrator password on a Mac
CFNuke making a comeback
Two frameworks talks with the Onlince ColdFusion Meetup Group
CF9 artwork leaked out

Wednesday - Head First Mach-II

I was around when Mach-II first arose from the Fusebox world. I never really did understand it when Ben Edwards and Hal Helms tried explaining it at conferences so I figured I'd give it another try at Matt Woodward's Head First Mach-II session.

I came away this time having a better feeling for how Mach-II works. I'm certainly not an expert but I think I can now at least dig around inside the code and probably break things. But after I break them I think I can learn from the experience and maybe fix them again.

Mach-II (the II stands for Implicit Invocation) is an event driven framework that uses the MVC (Model-View-Controller) pattern. An event is passed in the URL of a page, which then fires off processes behind the scenes. The important thing to take away from the session was the htree steps that occur when an event is triggered in the framework:

  1. An event is announced (usually through a URL parameter but could be passed in a form)
  2. shtuff happens
  3. additional events are announced or the request ends

The framework allows for high cohesion (does one thing and does it well) and loose coupling (the degree that components rely on each other.)

It uses XML config files.

I'm looking forward to getting home and setting aside some time to play with this framework after the conference.

Posted by jhusum - 11:30 PM - General - Comments - Link to this entry

There are no comments for this article at this time.

Post your comment:
Fields marked with R are required.

Your name R:
Your e-mail:
Your webpage:
Your comments:

How much is 3 + 2?