Never mind the controller, here is the orchestrator(www.simple-talk.com)

submitted by dpetersondpeterson(4397) 7 months, 7 days ago

The Model-View-Controller pattern of the ASP.NET MVC allows the separation of the business logic from the input and presentation logic. Although it permits the independent development, testing and maintenance of each component, it doesn’t guarantee clean code. Dino Esposito offers a modified approach in which an Orchestrator component helps to keep your controllers small, clean and manageable

2 comments |category: |Views: 359

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by NoldorinNoldorin(829) 7 months, 6 days ago 0

Interesting idea, for sure. I'm not wholly convinced it's the way forward, but it's definitely worth a few thoughts. It seems to be bringing MVC more in line with MVVM, where the controller is acting almost like the ViewModel in this new "Orchestrator" pattern.

Reply

posted by vijaystvijayst(1311) 7 months, 6 days ago 0

Very interesting idea. I have already kept my ViewModels in MVC in a distinct folder from Models. Models are better abstractions of database tables and the underlying business entities. ViewModels are more specific to the View and is similar to what we have in WPF / Silverlight MVVM pattern.

Whenever the controller logic bloats up, I create business helper classes. These are just classes with static methods which does the work of getting the ViewModel for me.

In the MVVM world, the Navigation service or helper class acts more of a controller. In the MVC world, we have some work to do to get the ViewModels for the Views. So, are we creating a MVVMC model in the Net world?

Reply

information Login or create an account to comment on this story