Components (CFC) for creating objects
Hi all,
I constanly run into a problem when designing new CFCs which I'm hoping you can help me with. It's easier to explin by using an example so here goes...
Imagine that I want to create a new Car which involves the car object being created in the database. I'm not sure if it's the responsibility of the Car components to write to the database or whether I should create a new component e.g. CarManager which would take responsibility.
I'm not sure if I'm making a whole lot of sense but I hope you get the gist of it.
Cheers
