Hi,

we have been doing alot of work on understanding OO development using CFC's and 
model glue.

we have one issue that we don't quite understand and hope someone can help

to simplify the problem: we have 2 objects: projects, and tests

we have ensured that each of these objects have a DAO cfc for single db record 
access. and a GW for multiple db record access. we also have a service cfc for 
each of these objects.

this is good as projects can be created, removed, searched etc... and the same 
with tests

however tests can be linked to projects. there is a table in the database that 
is called projecttests and contains the projectID and testID as primary keys 
and foreign keys.

the problem comes when understanding how to link this in the cfc's - where 
exactly will this fit in?

would it fit into the projects cfc - so it could appear as 
project.linktest(#testobject#) - but then i would also need functions such as 
project.getAllTests(#projectobject#) etc...

i am a little confused and would really appreciate any help in understanding 
how to best achieve this

thanks

richard 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:312094
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