Doug's Resume
OO Lexicon
Chat with Doug!
Recent Entries
You may also be interested in...

heaters
hotels boeken in 7 sec
Engagement Rings
Online Dating Australia




SURF'S UP!
You:
Your Web Site:
<< May, 2008 >>
SMTWTFS
123
45678910
11121314151617
18192021222324
25262728293031
Search Blog

ColdFusion Jobs
Recent Comments
Re: Viewing Option Text (in IE7) that's Wider than the Select List (by Dan Roberts at 5/15 2:38 PM)
Re: Viewing Option Text (in IE7) that's Wider than the Select List (by Dan Roberts at 5/15 10:06 AM)
Re: Inline CSS and Ajax Issue with IE (by Ben Nadel at 5/14 11:50 AM)
Re: The Perfect Alternative to Gas Powered Vehicles (by Thomas Messier at 5/09 12:47 PM)
Re: Promoting Family Unity: Lowering Your Utility Bills! (by Fernando Lopez at 5/07 10:12 PM)
Re: Why I Hate ORMs (a solicited rant) (by Richard at 5/06 10:56 AM)
Re: Why I Hate ORMs (a solicited rant) (by dougboude at 5/06 10:27 AM)
Re: Why I Hate ORMs (a solicited rant) (by Richard at 5/06 6:50 AM)
Re: Why I Hate ORMs (a solicited rant) (by Sean Corfield at 5/06 1:40 AM)
Re: Why I Hate ORMs (a solicited rant) (by Steve Bryant at 5/05 5:07 PM)
Categories
Archives
Photo Albums
Funnies (5)
Family (3)
RSS
Reciprocal Links

Powered by
BlogCFM v1.11

04 October 2007
Yet Another Model-Glue Quickstart...
Jim Pickering, the manager of the Kansas City CF User group, recently started a group project to rebuild their UG's web site. The project has the secondary agenda of promoting team development and learning Model-Glue, so he invited me to participate by setting up a skeleton app with basic security and then giving his volunteers a "Model-Glue Quickstart".  The entire presentation is just over an hour long, and includes:

  • Jim giving an overview of setting up the local development environment (minutes 0 through 2),
  • a Model-Glue overview and dissection of the basic security functionality (minutes 2 through 34),
  • and the adding of a new piece of functionality to the app (minutes 34 through the end).

There are places where the visuals and the dialog got a bit out of whack (minutes 15 or so and onward), but it levels out enough to not be irritating around minute 25.

So if you're interested in yet another high speed "Model-Glue for The Rest of Us" style preso, here it be!

https://admin.adobe.acrobat.com/_a200985228/p70824254/



Posted by dougboude at 12:51 PM | PRINT THIS POST! |Link | 7 comments
Subscription Options

You are not logged in, so your subscription status for this entry is unknown. You can login or register here.

Re: Yet Another Model-Glue Quickstart...
Hi, I have watched the video that you created for the Model-Glue security. And was wondering if there is any place i can grab the files that you were using?

Thanks
Posted by j buda on October 15, 2007 at 5:41 AM

Re: Yet Another Model-Glue Quickstart...
Hi J. I do have a skeleton MG app with nothing but security in it available on another post: http://www.dougboude.com/blog/1/2007/09/My-Approach-to-Basic-Security-in-a-ModelGlue-Application.cfm
Posted by dougboude on October 15, 2007 at 10:33 AM

Re: Yet Another Model-Glue Quickstart...
Hi, thanks for your reply. I did find the other thread while browsing you blog.
I have a quick question....

Why installing the app, does it have to be directly in the wwwroot to work?
I tried to put it into a sub-dir called security, but all the mappings were wrong. Would i need to update all the mappings in the files to make it work in a sub-dir?

Thanks
Posted by j buda on October 15, 2007 at 10:43 AM

Re: Yet Another Model-Glue Quickstart...
Hey J. To move this app to a subdirectory, there are two things to consider: returntype values, and the modelglue config bean in coldspring.xml. Both of those use paths that will change when the app lives in a subdirectory. For instance, in the controller.cfc we're injecting the user object, which has a returntype of "model.user". If we put the app in a subdirectory, the returntype would have to be "mysubdirectoryname.model.user". Now, an alternative to that is to replace any non-model glue specific returntypes (injections, etc.) with a value of "Any" as opposed to a specific path. In fact, that's probably what I should have done, looking back. As far as the model-glue config values, you will have to change the paths there to things like "/views"...will be "/mysubdirectory/views". Let me know if you need more input!
Doug :0)
Posted by dougboude on October 15, 2007 at 10:58 AM

Re: Yet Another Model-Glue Quickstart...
Hi Doug
Thanks for your reply.
I ended up changing all the paths to include the subdirectory name. However, i realised this could be a problem. As im attempting to distribute an application that im building using model-glue/coldspring there could be several instances of the app on the same server....and using a generic name for the subdir will cause problems! I would need to keep changing the paths within the app each time i decide to create a duplicate of the app. still with me!?

So you propose to change the returntypes to 'Any' and then the only place that would need to have a the sub-dir is the config file?

Thanks again
Posted by j buda on October 16, 2007 at 3:16 AM

Re: Yet Another Model-Glue Quickstart...
Hi Doug
Just trying to get my head around Model-Glue and i have another question for you.

With regards to Application scope, where should session timeouts be set? Should this all remain in the application.cfm or added to the xml config files?

Thanks
Posted by j buda on October 17, 2007 at 10:02 AM

Re: Yet Another Model-Glue Quickstart...
Is it just me or is that presentation missing the audio from jim? I believe the only thing that had a microphone icon next to it for the presentation was Doug?
Posted by Roy Martin on November 5, 2007 at 9:06 PM

Name:   Required
Email:   Required your email address will not be publicly displayed.

Want to receive notifications when new comments are added? Login/Register for an account.

Time to take the Turing Test!!!

What letter comes two place(s) before the letter L?
Type your answer exactly three time(s) in the designated box.

Type in the answer to the question you see above:

Your comment:

Sorry, no HTML allowed!