ColdFusion Community

The online ColdFusion / CFML community website

Hi All.

Is there a place where I can find a full working sample of a MG application? I read the quick start guide but I really don't have too much use for a Pig Latin Translator.

I'm trying to put together an application, my first MG app actually and I'm struggling with the concept of validation and committing.

I'm also reading Ray Camden and Dan Wilson's series on MG but the validation part goes over my head. Not only I'm new to MG but to the whole OOP in Coldfusion.

I just want to see and play with code that's already out there so I can understand the concepts a little better.

Reply to This

Replies to This Discussion

Hi Fernando

I'd recommend you to read the following article series:

http://www.nodans.com/index.cfm/2007/1/19/So-you-want-to-create-a-M...
and
http://www.coldfusionjedi.com/index.cfm/2006/3/13/Building-your-fir...
(there should be links to the following parts)

I'm just working on my first Model Glue project myself so I'm not much of an expert but I think this 2 article series should get you a good starting point.

Good luck

Reply to This

Thanks Mathias
I'm already familiar with both series and I'm still trying to get a grip on creating objects out of thin air with coldspring. I don't even want to start looking into scaffolding because that's a sure headache for me right now.

I did find two things that look really promising into trying to understand the whole OOP and Model Glue.
  • First one Ray Martin http://roy.empiregn.com/blog he has a neat 35 minute video presentation on hoe to refactor a purely Spaghetti code page into components. He's preparing the stage to introduce Model Glue concepts after that. Refactoring-Inline-Coldfusion-Towards-MVC
  • Second one, from the Jedi himself. I found that he has a full application www.coldfusioncookbook.com running under MG and he has the code open out there for people to download and see how he did things. Exactly the kind of thing I was looking for. ModelGlue-Sample--Cookbook
  • I think I'm on a good way to learn this stuff, there are great resources out there is just a matter of digging for them.

    if somebody else has links to good MG tutorials or presentations that can help a noobie, please don't be shy and post back here.

    çB^]\..

Reply to This

Hi,

This is how I mastered Model-Glue and ColdSpring.

First I dowloaded both frameworks also Reactor and gone through tutorials comes with that - not fully clear and was very interested to see a sample useful application and there comes Rays model-glue series. I downloaded the PDF and followed the series thoroughly and completed the sample app. After that I felt very confident with MG and started my first app and during the development I also reviewed the reference comes with MG.

After successfully completing three MG apps, I was eager to learn ColdSpring and want to effectively use it in my coming MG apps. There comes NoDans series. It helped me a lot to use CS very nicely with MG (also please go through orginal CS docs if you have time) and now I use both very effectively in our current projects.

Reply to This

you may find some help at cfFrameworks.com

Reply to This

RSS

Specialists in ColdFusion Development
Tagged.com

> Place your advert here /h3>

Latest Activity

Sagar H Ganatra and Nikhil Saxena are now friends
13 hours ago
Nikhil Saxena and Chandan Kumar are now friends
14 hours ago
Sagar H Ganatra updated their profile photo
yesterday
Sagar H Ganatra has set up their private workspace using Huddle Workspaces.
yesterday
Sagar H Ganatra added 3 photos
yesterday
Bill Dempsey and Sagar H Ganatra joined ColdFusion Community
yesterday
on Monday
2 members updated their profile photos
on Monday
Sally Georgeson added 8 photos
on Sunday
Sally Georgeson added a video
on Sunday
Sally Georgeson updated their profile
on Sunday
Naveen Krishnamurthy, Sally Georgeson and John di Stefano joined ColdFusion Community
on Sunday

Members

  • Frank Wreath
  • Kalyan Dhar
  • Celina William
  • Renu Deshpande
  • OWL76
  • Brian Massey
  • Sagar H Ganatra
  • Jinesh.k
  • Carol McKenzie-Harvey
  • Joe Danziger
  • Nico Knaepen
  • Dustin Martin

Translate this page

© 2010   Created by Nick Tong

Badges  |  Report an Issue  |  Terms of Service

Sign in to chat!