thanks Nathan, the way you explained it is so understandable. very much 
appreciated and glad to know we are on the right track :)




>Hey richard,
>I think it sounds like you're doing a good job so far. What I would do from
>here is, in your test object, add a getProjects() method and in the project
>object, add a getTests() method. Each of these would probably call the
>associated GW and return a query of all the found items based on that
>linking table.
>
>You can do this because when you have an instance of the test cfc, a test
>object, it represents one single test. That test has properties and methods,
>and also linked data, so it makes sense that it's all linked directly from
>that test object.
>
>This approach is pretty generic and you will find it out in the wild here &
>there, such as in the Reactor ORM, which creates these methods for you based
>on the relationships you define in your xml config file.
>
>To get ALL your tests, or ALL your projects, drop methods in your services,
>TestService.getAllTests() and ProjectService.getAllProjects(), each would
>call the respective GW and return a query.
>
>HTH.
>
>nathan strutz
>http://www.dopefly.com/
>
>
>
>
>> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312110
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to