hi guys

I've identified a basic "task" object to turn into a CFC. But I was thinking of adding a "getAll()" and a "getAllByType(typeID)" to return collections of "tasks" (really just simple queries). At the moment I really only need the taskID and TaskName in the collections. I'm thinking back to my (now rusty) VB days and collections of objects.

should I extend the "task" CFC and have those collection methods as a seperate CFC or keep in the same as additional methods? I want to add iterator and enum methods so I can loop over the collections easily eg: <cfloop condition="#obj.hasNext()#">, etc..

any suggestions?

thanx
barry.b

 


--

__________________________________________________________
Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup

--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to