Heavy controller actions? The Message Bus Pattern to the rescue!(trycatchfail.com)

submitted by Matt_TCFMatt_TCF(946) 2 years ago

I recently derailed (badly) while working on a simple requirement for RageFeed: new user registration. I found myself adding a lot of code to facilitate the registration workflow, but I realized I had a bigger problem when I stopped and looked at the tremendous number of test cases for my controller. I had drifted so slowly into a bad design. Fortunately, all was not lost. A design pattern from the distributed computing domain came to save the day.

add a comment |category: |Views: 86

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:
information Login or create an account to comment on this story