Contact Doug!
Learn About Doug!
View Doug Boude's online resume
updated 11/18/2009

View Doug Boude's profile on LinkedIn
Link to me!

Follow Doug Boude on Twitter
Follow me!

Be Doug's friend on Facebook
Befriend me!
(I promise not to follow you home)
OO Lexicon
Chat with Doug!
Recent Entries
You may also be interested in...
Florida web site design



Czech your Page Rank!
Check Page Rank of any web site pages instantly:
This free page rank checking tool is powered by Page Rank Checker service
Surf's Up!
Visit Egosurf.org and massage YOUR web ego!
My Score: 9,001
Doug's Books

Read (and recommend)

  • Men are from Mars, Women are from Venus
  • The Wisdom of Crowds: Why the Many Are Smarter Than the Few and How Collective Wisdom Shapes Business, Economies, Societies and Nations
  • Blink: The Power of Thinking Without Thinking
  • Head First Design Patterns
  • Transact-SQL Programming
  • What's So Amazing About Grace?
  • Just So Stories (Rudyard Kipling collection)

Reading

  • Prayer: Does it Make Any Difference?
  • Data Mining (Practical Machine Learning Tools and Techniques)
<< October, 2007 >>
SMTWTFS
123456
78910111213
14151617181920
21222324252627
28293031
Search Blog

Recent Comments
Categories
Archives
Photo Albums
Funnies (5)
Family (3)
RSS

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 | 8 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

Re: Yet Another Model-Glue Quickstart...
Doug,

Thanks for the informative tutorial!

However, I can't seem to grab the project files from the presentation's SVN link provided:
svn://www.kcdevcore.net:3690/kccoregroups

Checkout from svn://www.kcdevcore.net:3690/kccoregroups, revision HEAD, Fully recursive, Externals included
Can't connect to host 'www.kcdevcore.net': A connection attempt failed because
the connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to respond.

Is this file still available somewhere else? Thanks!
Posted by Mac Flores on April 27, 2009 at 10:47 AM

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!!!

20 plus 11 equals
Type in the answer to the question you see above:

Your comment:

Sorry, no HTML allowed!