I'm not sure I completely follow the scenario you're trying to lay out,
since to me an Administrator IS a User, just a different Role than a
"normal" User.  It all depends upon your design.  I think it is a bad idea
to have CRUDs for multiple tables living in the same DAO.  Does that answer
your question?

Your Business Objects are the objects that carry out the business of your
application.  Examples of such might be: User, BlogPost, ShoppingCart, or
WebPage.

Your Factory is an object that you call upon to create your various Business
Objects.  This allows you to have all of your createObject() calls in one
place, making maintenance simpler.

Your Service Layer is a layer that helps your Controllers and/or Business
Objects communicate with one another.

There are LOTS of blog posts and articles floating around that discuss all
of these in much greater detail.  It's a lot to get your mind around, but
when it finally "clicks", it's pretty cool stuff.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to