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

8 hours ago
17 hours ago
Chandan Kumar added a photo
19 hours ago
19 hours ago
John Farrar About a month ago my second book "ColdFusion 9 Developers Tutorial" hit the press. You can find it on amazon.com and packtpub.com both.
yesterday
Shirak Grigor added a blog post
There are a communication issues between three technologies together Flex, CF, and .Net. The issue is around null values and how each technology treating it. Flex support null values for String, Object, and Dates only as far as my knowledge up to Fl…
on Tuesday
Mark Parratt and Kathy Elliott joined ColdFusion Community
August 24
Discussion, Q&A, and fellowship amongst those interested in the ColdFusion on Wheels framework.
August 23
Thanks Jamie
August 20
This is currently being discussed in the Wheels Google Group: http://groups.google.com/group/cfwheels/browse_thread/thread/832e0a5010f96a53?hl=en
August 20
Jamie Martin updated their profile
August 20
I use layerblue http://www.layerblue.com/ they've been good to me, the are only on cf7 though... but depends what you need.
August 20

Members

  • Tariq Ahmed
  • Francisca Espi Puig
  • Chandan Kumar
  • Pradeep
  • John Farrar
  • Ram
  • Vijay Manickaraja
  • Jan van Hellemond
  • Shirak Grigor
  • Wil Genovese
  • David Harris
  • JC

Translate this page

© 2010   Created by Nick Tong

Badges  |  Report an Issue  |  Terms of Service

Sign in to chat!