Thanks for the comment. I'm happy with others having their own opinions ;-) Yes, I did see Ayende's post after this, and as you would expect he has approached it from a code review perspective. And yes, he is absolutely correct about all his code concerns.
However, I am less concerned with code implementation and more concerned with architecture patterns, and despite the bad code I still think the pattern has merit. I believe its always better to understand how other people approach tasks like this even if there's clear holes. By understanding , you've just learnt something or reinforced you own already established ideas. It gives you more options next time you are designing your next application.
I don't think Cesar intended this to be a copy and paste template where you fill in the blanks. Obviously you don't design an architecture without a problem domain.
Hi,
ReplyDeleteHave you seen Ayende (Oren Eini) reviewing this sample on his blog:
http://ayende.com/blog/35841/review-microsoft-n-layer-app-sample-part-xndash-architecture-for-the-space-age
It seems he doesn't have quite same opinions with you :)
Thanks for the comment.
ReplyDeleteI'm happy with others having their own opinions ;-)
Yes, I did see Ayende's post after this, and as you would expect he has approached it from a code review perspective. And yes, he is absolutely correct about all his code concerns.
However, I am less concerned with code implementation and more concerned with architecture patterns, and despite the bad code I still think the pattern has merit. I believe its always better to understand how other people approach tasks like this even if there's clear holes. By understanding , you've just learnt something or reinforced you own already established ideas. It gives you more options next time you are designing your next application.
I don't think Cesar intended this to be a copy and paste template where you fill in the blanks. Obviously you don't design an architecture without a problem domain.
Cheers
Also worth noting Cesar has posted a v2 directly to address Ayende's concerns.
ReplyDeletehttp://blogs.msdn.com/b/cesardelatorre/archive/2011/07/21/about-ayende-s-blog-posts-series-reviewing-the-nlayered-sample-app.aspx