locked
.net design patterns RRS feed

  • Question

  • User-14001990 posted

    Dear All,

    What is the difference b/w design patterns  and Architecture?

    I went to the following link:

    http://wiki.asp.net/page.aspx/276/design-patterns/

    But it is not clear what they r for or when they r to be used.No examples.

    Coming to Architecture what are the different types of Architecture?

    I know the following:

    1) 3 tier Architecture

    2) n tier Architecture

    3) Service orinted Architecture

    4) MVC Architecture

    Let me know if you aware of any more of these types.

    How to build an application using SOA? Pls send links and e-books.

     

    Thanks fo ur effort.

    Monday, March 1, 2010 1:31 PM

Answers

  • User559104930 posted

    Before you try to tackle design patterns, you should have an understanding of good design principles.

    http://www.lostechies.com/blogs/chad_myers/archive/2008/03/07/pablo-s-topic-of-the-month-march-solid-principles.aspx

    http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod


    Head First is a series of excellent beginning books. This is a link to their design patterns book. The code is written in Java, but don't let
    that throw you.

    http://www.amazon.com/First-Design-Patterns-Elisabeth-Freeman/dp/0596007124/ref=sr_1_1?ie=UTF8&s=books&qid=1267472024&sr=8-1

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 1, 2010 2:36 PM
  • User-952121411 posted

    Well there are some great links and several good books on design patterns and architecting .NET applications.  You asked what is the difference and I say that the makeup of your architecture is based on the design pattern you implement within your application. 

    Here are a couple of decent links in regards to architecture and design patterns:

    Design Patterns (each design has a decent description):

    http://www.dofactory.com/Patterns/Patterns.aspx

    Microsoft Application Architecture Guide:

    http://msdn.microsoft.com/en-us/library/dd673617.aspx

    Also there are several good books, including one I am told by a frequent member of this forum Scott Millett and his book Professional Enterprise .NET
    I have not read the book yet, but from what I see it has a good outline of Enterprise .NET development and speaks to some of the questions you have posed.

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 1, 2010 4:30 PM
  • User-952121411 posted

    Have you looked into the links I provided earlier (i.e. Microsoft Application Architecture Guide)?

     

    I want to understand the architectures possible and want to do hands on by

    creating a small application corresponding to each architecture.

    I do not know if there is a comprehensive reference + tutorial on all architecture patterns available.  You may need to read a few books and attempt the code examples in each.  Here is another book you may want to look at as well since you are referring to how Microsoft would implement these patterns in .NET:

    Microsoft .NET: Architecting Applications for the Enterprise:

    http://www.microsoft.com/learning/en/us/Book.aspx?ID=12863&locale=en-us

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 2, 2010 2:25 PM
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 2, 2010 4:08 PM
  • User-1199946673 posted

    There is nothing "illegal" about websites hosting free e-books.If that had been the case, then www.rapidshare.com would have been declared an illegal site and it would not have had millions of users.Even I can keep my books in my website for my friends to share.There is no law which bars someone from sharing a book.

    Really? I just picked one of my (e-)books (that I puchased), and then on one of the first pages I read this:

    All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher

    Which part of this sentence don't you understand? I'm certainly not a legal expert, but I do understand what this line means!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, March 4, 2010 10:32 AM

All replies

  • User559104930 posted

    Before you try to tackle design patterns, you should have an understanding of good design principles.

    http://www.lostechies.com/blogs/chad_myers/archive/2008/03/07/pablo-s-topic-of-the-month-march-solid-principles.aspx

    http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod


    Head First is a series of excellent beginning books. This is a link to their design patterns book. The code is written in Java, but don't let
    that throw you.

    http://www.amazon.com/First-Design-Patterns-Elisabeth-Freeman/dp/0596007124/ref=sr_1_1?ie=UTF8&s=books&qid=1267472024&sr=8-1

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 1, 2010 2:36 PM
  • User-952121411 posted

    Well there are some great links and several good books on design patterns and architecting .NET applications.  You asked what is the difference and I say that the makeup of your architecture is based on the design pattern you implement within your application. 

    Here are a couple of decent links in regards to architecture and design patterns:

    Design Patterns (each design has a decent description):

    http://www.dofactory.com/Patterns/Patterns.aspx

    Microsoft Application Architecture Guide:

    http://msdn.microsoft.com/en-us/library/dd673617.aspx

    Also there are several good books, including one I am told by a frequent member of this forum Scott Millett and his book Professional Enterprise .NET
    I have not read the book yet, but from what I see it has a good outline of Enterprise .NET development and speaks to some of the questions you have posed.

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 1, 2010 4:30 PM
  • User-14001990 posted

    Hi

    Thanks to both of you for your replies.

    Pls answer my questions regarding the different types of Architecture.

    Also pls give the links,e-books on implementing each type of Architecture.

     

    Thanks again. 

    Tuesday, March 2, 2010 12:08 AM
  • User559104930 posted

    Here is a list of different architectures:
    http://en.wikipedia.org/wiki/Software_architecture

    Tuesday, March 2, 2010 7:44 AM
  • User-14001990 posted

    Here is a list of different architectures:
    http://en.wikipedia.org/wiki/Software_architecture

    Although the link speaks abt different Architectures nothing is

    mentioned about the ones implemented by MS for ASP.NET 2.0/3.5

    I want to understand the architectures possible and want to do hands on by

    creating a small application corresponding to each architecture.

    I need the necessary links, e-books in this regard.It should be practical oriented

    and not just theory as in the previous link.

    Thanks for ur reply.

    Tuesday, March 2, 2010 2:08 PM
  • User-952121411 posted

    Have you looked into the links I provided earlier (i.e. Microsoft Application Architecture Guide)?

     

    I want to understand the architectures possible and want to do hands on by

    creating a small application corresponding to each architecture.

    I do not know if there is a comprehensive reference + tutorial on all architecture patterns available.  You may need to read a few books and attempt the code examples in each.  Here is another book you may want to look at as well since you are referring to how Microsoft would implement these patterns in .NET:

    Microsoft .NET: Architecting Applications for the Enterprise:

    http://www.microsoft.com/learning/en/us/Book.aspx?ID=12863&locale=en-us

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 2, 2010 2:25 PM
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, March 2, 2010 4:08 PM
  • User-952121411 posted

    Another staple of design patterns I forgot to mention since it almost is always recommended:

    Design Patterns: Elements of Reusable Object-Oriented Software: 

    http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612

     

    Wednesday, March 3, 2010 4:06 PM
  • User-14001990 posted

    Hi,

    Thanks to both of you for ur replies.

    The following link is an excellent one

    http://msdn.microsoft.com/en-us/library/dd673617.aspx

    But the other book links you have provided all point to amazon i.e expensive books.

    While the books seems to be good I need free e-book(pdf's) on those topics.

    Can u provide me with e-books on the topics.




    Thursday, March 4, 2010 1:03 AM
  • User559104930 posted

    You can spend some time on goolge searching for e-books and pdf versions of the books listed. The truth is, this is something we all have to face. You are correct, these books are not cheap, but it is the cost of knowledge and being a professional. Think of it as an investment in yourself. These books are going to take you months if not years to read, study, and understand, so you don't have to purchase them all at one time.

    Thursday, March 4, 2010 7:35 AM
  • User-1199946673 posted

    While the books seems to be good I need free e-book(pdf's) on those topics.
     

    If everybody would have this attitude, soon, there will be no books available anymore! Why would someone even consider writing a book, when everybody want's to have a free e-book?

    Can u provide me with e-books on the topics.

    Don't expect people to post illegal links here. You know now where to get them and how much they cost

    Thursday, March 4, 2010 7:49 AM
  • User-952121411 posted

    But the other book links you have provided all point to amazon i.e expensive books.

    While the books seems to be good I need free e-book(pdf's) on those topics.

    Can u provide me with e-books on the topics.

     

    You best bet for free information on this topic is undoubtedly the MSDN.  In fact they port a lot of their MSDN articles into the MSDN online for reading which is nice.  eBooks are going to cost money as well, so it might be worth the $100-$150 to save up and buy a few good books if this is important.  If you have a company that will support your training, a site like Safari Books Online (http://techbus.safaribooksonline.com/) is an excellent resource with access to thousands of full text books on development and related technologies.  There is an annual cost, but then you don't have to find that '1' do it all book.  You other option is to find some decent blogs that center around architecture and design patters such as Martin Fowler's Blog (http://martinfowler.com/bliki/).

    Good Luck! Smile

    Thursday, March 4, 2010 9:00 AM
  • User-14001990 posted

    Hi Hans,


    If everybody would have this attitude, soon, there will be no books available anymore! Why would someone even consider writing a book, when everybody want's to have a free e-book?


    You are wrong.It is impossible for everyone to have free e-books bec' companies need to purchase books.Moreover free versions of all books that are published are not available.Only a few large-hearted individuals make a e-version of their purchased books and keep it in their websites so that others who don't afford can also benefit from it.

    Note that I have stated "large-hearted individual" and not "chicken-hearted individual".So it is not your cup of tea.

    Don't expect people to post illegal links here. You know now where to get them and how much they cost

    There is nothing "illegal" about websites hosting free e-books.If that had been the case, then www.rapidshare.com would have been declared an illegal site and it would not have had millions of users.Even I can keep my books in my website for my friends to share.There is no law which bars someone from sharing a book.

    So it better not to comment on a subject with limited knowledge.



    Thursday, March 4, 2010 9:33 AM
  • User-1199946673 posted

    There is nothing "illegal" about websites hosting free e-books.If that had been the case, then www.rapidshare.com would have been declared an illegal site and it would not have had millions of users.Even I can keep my books in my website for my friends to share.There is no law which bars someone from sharing a book.

    Really? I just picked one of my (e-)books (that I puchased), and then on one of the first pages I read this:

    All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher

    Which part of this sentence don't you understand? I'm certainly not a legal expert, but I do understand what this line means!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, March 4, 2010 10:32 AM
  • User-14001990 posted

    All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher

    The above statement is the one of the publisher who publishes & sells the book.It has no VALUE unless it is supported by the legal framework of the country in which he is selling the book.

    So if you r in USA this statement should be supported by some Law in that country say for eg Copyright Law.

    Such a wildcard statement is not supported by the Law of most countries.Atleast it is not valid in USA,India(I am very sure about it).

    PROVE ME WRONG if u can by quoting the appropriate section.

    If u can't prove me wrong then it means that U R WRONG.


    Which part of this sentence don't you understand? I'm certainly not a legal expert, but I do understand what this line means!

    There is no problem with my understanding.But there is something wrong with your undertanding,possibly bec' of lack of knowledge on the subject.


    Friday, March 5, 2010 12:51 AM
  • User-14001990 posted

    Hi atconway,Aquaren

    Thanks a lot for ur suggestions.


    Friday, March 5, 2010 12:56 AM
  • User-1199946673 posted

    http://en.wikipedia.org/wiki/Copyright_law

    I can't prove that you're wrong, since I'm not an (international) copyright law expert. So according to your "logic" I must be wrong.  I can't and won't "compete" against stupidity....

     

    Friday, March 5, 2010 8:19 AM
  • User-967169866 posted

    This thread confuses me.  .net design patterns aren't any different than any language design pattern.

    It's my understanding that design patterns are language agnostic, and should remain so.  

    Design Patters are more like Singleton, Abstract Factory, Flyweight, Visitor.. You can go further to point out the Martin Fowler patterns found in a series of books that I suggest everyone read.

    N-Tier Architecture is such an old buzz phrase I wish would go away.
    SOA is also not isolated to .net.  
    MVC was around from before .net

     

    Sunday, March 7, 2010 4:23 AM
  • User-952121411 posted

    This thread confuses me.  .net design patterns aren't any different than any language design pattern.

    It's my understanding that design patterns are language agnostic, and should remain so.  

     

    Absolutely true.  I think the questions where more about, "How do I apply (or get information about) the common design patterns (i.e. Abstract, Factory, Singleton...etc) using a .NET language"

    Monday, March 8, 2010 9:03 AM