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
