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

> Place your advert here <


Latest Activity

Justin Mclean and Emma Morris are now friends
1 hour ago
pk added 5 discussions
20 hours ago
pk updated their profile
20 hours ago
M. Taake updated their profile
yesterday
on Sunday
I think it is because Coldfusion isn't viewed as a good development language. The people making decisions hear .NET, Java, or PHP... so coldfusion isn't really looked from a management point of view. What they don't seem to understand is that it is…
on Thursday
M. Taake added a discussion
The company I currently work for are wanting to convert from Coldfusion / Oracle to Sharepoint / MSSQL.  I was wondering if anyone had any thoughts on this?   Also, how hard will it be for me to get use to .Net?
on Thursday
John Gagliarid updated their profile photo
on Thursday
John Gagliarid is now a member of ColdFusion Community
on Thursday
Jim Priest added an event
NCDevCon at College of Textiles - NC State University
May 22, 2010 to May 23, 2010
The Triangle Area ColdFusion User's Group (TACFUG), associates, and sponsors are organizing the NCDevCon 2010 Conference (NCDevCon) to be held May 22-23, 2010 on the Centennial Campus of NC State University in Raleigh, North Carolina. The conferenc…
March 2
This group is a place to see some of the latest CF open source projects.
March 2
Nikhil Saxena added a discussion to the group CFTwitter
Dear All,   Hope all of you are doing good. I am working as a soft. eng. in a Organigation. we purchase a Imagecroping tool It is working with 32 bit OS perfectly but after some time we move on 64 bit OS with CF 9.0 we are not able to register it. S…
March 2

Members

  • Justin Mclean
  • Rick Turner
  • pk
  • Vishnuprasad
  • M. Taake
  • Richard Reece
  • Kjeld
  • Erik-Jan Jaquet
  • Matt Gifford AKA coldfumonkeh
  • Will Wilson
  • Gary Blinth
  • dickbob

Translate this page

© 2010   Created by Nick Tong

Badges  |  Report an Issue  |  Privacy  |  Terms of Service

Sign in to chat!