Jun 12 2006

Ten Reasons to use Model-Glue:Unity

Posted by Joe Rinehart at 12:10 PM
16 comments
- Categories: Model-Glue

I've got a really long (as in 20 minute+) process running that keeps from doing much of anything but running notepad. I decided it'd be a good time to stop and reflect on why I've continued developing Model-Glue past the 1.x codebase.

So, without any further fluff, here's ten reasons why you should be interested in using Model-Glue:Unity (when it's released!):

1. Expression over depression.

Ever spent a day writing basic CRUD sql, list views, and edit forms? That's nowhere near as fun as writing a great UI along with powerful business logic. By letting you work expressively instead of repetitively, Model-Glue:Unity makes developing a more rewarding, productive, and fun experience.

2. Near-instant applications.

Create a new Model-Glue:Unity application. Create a database. Add a table with some columns. Add one tag to ModelGlue.xml, and you've now got UI to let you list, view, edit and delete records in the table. This even includes one-to-many and many-to-many relationships.

3. MVC without the guesswork.

Model-Glue:Unity applications have three directories with very specific names: /model, /controller, and /views. Its rules for "what goes where" are just as clear.

4. It does CRUD for you.

If you're up on using Beans, Gateways, DAOs, etc., you're probably also tired of writing Beans, Gateways, DAOs, etc. By transparently working with the Reactor framework, Model-Glue:Unity writes them all for you.

5. It makes OOP easier to learn.

If you're not already using Beans, Gateways, DAOs, etc., and you'd like to write more flexible and reusable applications, Unity greatly flattens the learning curve associated with writing database-driven ColdFusion applications in an Object-Oriented style.

6. Already got CFC code? Reuse it effortlessly.

By using ColdSpring (a ColdFusion port of the Java Spring framework), business logic you've already written inside of CFCs can instantly be made available to your application.

7. Don't like something? You can change it.

Model-Glue:Unity uses ColdSpring to organize itself. If you don't like something, like how it merges URL and FORM or how it handles SES URLs, you can write your own component and instruct the framework to use your version instead. This even applies to HTML scaffolds: you can instruct the framework to use custom .XSL files to generate scaffold code, or even add entirely new scaffold events!

8. It's fast.

Current benchmarks of private builds have Model-Glue:Unity outperforming all previous (including unreleased) versions.

9. It's free.

Model-Glue:Unity has never cost anything. It never will.

10. It's open source.

Released under the Lesser GPL, you're welcome to modify the source code to your heart's content, as well as use it in commercial, for-profit code. Because some of the best-known minds in the ColdFusion community use the framework for their own work, you can rest assured there's a good deal of quality code under the hood.

Comments

Ryan Guill

Ryan Guill wrote on 06/12/06 12:28 PM

Sounds amazing. Cant wait to see it!
salvatore

salvatore wrote on 06/12/06 12:58 PM

hey Joe, when do you plan to deploy your great work?
i hope this is as soon as possible.
regards
salvatore
Scott Stroz

Scott Stroz wrote on 06/12/06 1:12 PM

11. it's much more gooderer than then original.
Sam Farmer

Sam Farmer wrote on 06/12/06 2:10 PM

Those are some very compelling reasons. Great to see more marketing going on for Model-Glue:Unity.
Sami Hoda

Sami Hoda wrote on 06/12/06 3:03 PM

**Shiver**

Joe, I'd also recommend some notes on what MG Unity is NOT good for. There is always early adoption and fall out from people who just dont understand when and where to use frameworks. Also some talk about transitioning apps to a point where they can be easily converted to MG 2 is also good.

And Joe... great work as always.
Matthew Lesko

Matthew Lesko wrote on 06/12/06 4:24 PM

Good Choices

* Coldspring as the business and controller (i.e. Model-Glue) object container.
* Scaffolding views via XSLT
Mark Drew

Mark Drew wrote on 06/12/06 4:32 PM

When will you add the coffee scaffold? I mean it does everything for me at the moment and its super great tastic!
Sean Corfield

Sean Corfield wrote on 06/14/06 1:43 AM

Damn, you're making it a hard act to follow!

Fusebox 5 doesn't have ORM pluggability or scaffolding... I have a lot of work to do for Fusebox 5.1 to play catch up!

But, hey, I have an extensible grammar through custom lexicons :)
Mark Mazelin

Mark Mazelin wrote on 06/14/06 8:41 AM

Joe, as always you continue to amaze me. Thanks for your hard work on this, promoting frameworks and rapid application development to the ColdFusion community. MG really launched me into OO on CF and I love it! Looking forward to the released code (too bad I can't make CFUnited for the MG/Reactor party!).
Mark Drew

Mark Drew wrote on 06/14/06 8:45 AM

There's an MG/Reactor party? and no one invited me???

Pah!
Teddy R Payne

Teddy R Payne wrote on 06/14/06 11:30 AM

The party is at CF United!
Roger Yong

Roger Yong wrote on 06/21/06 10:44 AM

Pity that Reactor did not support Microsoft Access though.
Sean Corfield

Sean Corfield wrote on 06/21/06 10:54 AM

Roger, I guess you haven't listened to Matt Woodward and Peter Farrell's podcast where they talk about why MachBlog won't support MS Access? :)

MS Access is a pretty crippled database and doesn't provide the features necessary for frameworks like Reactor to introspect the structure sufficiently in order to do their job. However, since Reactor is open source and the database support is provided by two files (Convention.cfc and ObjectDAO.cfc), you're welcome to attempt to add MS Access support for the benefit of the community...
Roger Yong

Roger Yong wrote on 06/22/06 4:29 AM

I think I missed that. Since I am a newbie in Model-Glue, but I will give it a try....
Arindam Biswas

Arindam Biswas wrote on 06/23/06 2:45 PM

This is salivating stuff! Reactor, ColdSpring, Scaffolding etc, this is the mother of all coldfusion framework marriages.
Momma Jo Rinehart

Momma Jo Rinehart wrote on 07/08/06 9:00 PM

Glad teaching you about the importance a sense of humor (as well as a job well done) is paying off, Joe. Most important reason to use Modle-Glue? To make Joe's mom proud(er)!

Write your comment



(it will not be displayed)