In my last post in the Project Learn series I installed the cfcPowerTools code generator. My intention was to fully evaluate the tool and provide an objective review of it's functionality. Unfortunately something happened that has changed that plan. I had a nice quiet house to myself all day Sunday so I decided to do a little more research in my framework quest. I decided to sniff a little glue. That's right, Model-Glue. I have mixed feelings about this decision, but I'm pretty sure that my mind is made up about it. In this post I'll try to lay out some of the factors that influenced this change of heart.
One of the biggest barriers to my learning a framework was a general lack of knowledge of OO. To be honest, in all of the research that I have done regarding frameworks I never really felt intimidated about learning the framework itself. After all, a framework is really nothing more then a structured and documented way of organizing your code and templates. Sure there is a little more to it then that, but learning new tags and functions and methodologies is not really all that difficult. Learning how to implement beans and DAOs and gateways and tying those in to the framework seems to be the challenging part. So what does any of this have to do with Model-Glue and how does that make MG better then Mach ii? Well, it doesn't have anything to do with it really and I can't really say that one framework is better then another at this point. The bottom line in my decision was that the documentation and community discussions surrounding MG seemed to be more OO focused.
I started reading Dan Wilson's series on MG:Unity series and things just started clicking for me. I've read Ray Camden's series before but I'm not sure I really had enough background at the time that I read it to grasp everything that he laid out (and that's no fault of Ray's - his series is very well written and easy to follow). Dan's series has been very helpful to me this time around. I'm still feeling a little intimidated by all of this but I feel much more confident then ever now. Dan's series focused on integrating and utilizing MG's built in ColdSpring support. He does a good job laying the OO groundwork and showing how to build the MG application from the ground up. The amazing thing to me is the feeling I'm getting that leveraging this framework will lead to extremely rapid application development. I'm not sure if this is a misconception - I'll obviously answer that question for myself as I continue in my learning.
As a side note, Dan's series recommends using the Roobios code generator. For my learning I've decided to stick with Brian Rinaldi's Illudium code generator to do the dirty work for me. There are a few reasons I made this decision and a few of them have to deal with Brian himself. First of all, I don't want to waste any more time evaluating anything else. Secondly, Brian is a really good dude who has been very helpful to me in answering questions and explaining a lot of these concepts to me so I want to support his tool and help him get some exposure with it. Thirdly and most importantly, I really liked the format of the code produced by his tool. It feels easy to work with to me. From what I've done so far with MG the code his tool has produced for me has integrated well.
I don't think there is a need for me to formally document the learning process of MG as Ray and Dan have, but I will definitely be sharing my experiences as I continue along with it. As others have said, I'm definitely sniffing the glue.