So, on to the newbie question(s). In all the how-to's, examples,
quickstart guides, etc.. There is case after case after case of
people creating chains of CFCs, DSN's that inject in to DAO's, that
inject in to Services, that inject in to Factories, that create Domain
objects, etc... and they use terms like "Gateway" and "Service", in
what appear to be completely different context's... and quite frankly,
I'm confused..
I also have a DAO, (which I suppose I could make a bean, but
haven't... is there a need?) and a Record (which I have made a bean,
for testing purposes.) but I also realize that this is probably not
appropriate, and I need a generic Factory that will create and delete
these types of Objects as needed?
I'm banging my head on the door here, because I feel like I'm i just
rolled my pants up and got my feet wet, and.. well.. I just have to be
missing something.. Either that, or EVERY other how-to I've read, has
to custom create models, and services, and gateways.. because they
aren't using an ORM?
So, now that you're bored.. here are my primary questions. In Sean's
FW/1 UserManager examples, he has both controllers, and services that
somewhat mirror each other in that they have setters and getters on
the object, and define the dependancies between departments and
users.. But I don't really need that, do I? Do I need to mimic the
inheritance of my database in services that call the Reactor beans? I
just can't see why that would make sense, but I can't help but think
that I'm simply missing something.
The other thing I can't fully wrap my head around is the whole concept
of "Gateways".. the Reactor Gateways are simply a window in to a
table.. and I can't see why I would need to inject any one of them in
to any other..
Some examples show a userService that is
injected with any number of related objects. Is that what I should be
shooting for? Creating a userService that is injected with
userRecord, userProfile, userType, userSubType, location,
userProfileEmail, etc, etc.. and then create an actual /services/
user.cfc that handles all these transactions in one full swoop?
--
You received this message because you are subscribed to the Google Groups "ColdSpring-Users" group.
To post to this group, send email to coldspri...@googlegroups.com.
To unsubscribe from this group, send email to coldspring-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/coldspring-users?hl=en.