-
Dec 14th, 2008, 09:09 PM
#1
Controller vs Service vs private method on command object.
Which is the better approach?
1.) have the command object be operated on inside the controller via onSubmit
2.) Have the command object be operated on by some private method in the controller (separated out)
3.) Have a interface that operates on the command object.
Example: BlogService
would have createBlog(BlogCommand);
What are the advantagaes and disadvantage of each.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules