locked
design pattern RRS feed

  • Question

  • User-1075092149 posted

    i am going to develop a web based application with c#

    but i am very upset that how to design a good pattern

    how to code to let the program more efficient. 

    Sunday, May 30, 2010 1:57 AM

Answers

  • User-1618234021 posted

    Hi

    There are 2 terms:

    1) Architecture

    2) Design Pattern

    There is a little difference between them. Architecture is the physical implementation of the application logic. MVC and 3-Tier (Business Layer, Data Access Layer and Presentation Layer) are examples of architecture.

    Whereas Design Pattern is the solution to recurrent problems according to the best prectices. For example: Singleton Pattern, Message Facade, SessionFacade etc

    You can find more about design .NET patterns on the following links:

    http://wiki.asp.net/page.aspx/276/design-patterns/ (Very Nice Link)

    http://www.designpatternsfor.net/

    http://www.devx.com/dotnet/article/33695



    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, May 30, 2010 7:57 AM

All replies

  • User197322208 posted

    I will organize first in 3 layers :

    DAL  -Data Access Layer (EF, L2S, NHibernate)

    BusinessLayer - (maybe binding with AutoMapper or POCO)

    GUI (web, windows)

    Then you add additional layers (security...)

    Sunday, May 30, 2010 3:24 AM
  • User-1618234021 posted

    Hi

    There are 2 terms:

    1) Architecture

    2) Design Pattern

    There is a little difference between them. Architecture is the physical implementation of the application logic. MVC and 3-Tier (Business Layer, Data Access Layer and Presentation Layer) are examples of architecture.

    Whereas Design Pattern is the solution to recurrent problems according to the best prectices. For example: Singleton Pattern, Message Facade, SessionFacade etc

    You can find more about design .NET patterns on the following links:

    http://wiki.asp.net/page.aspx/276/design-patterns/ (Very Nice Link)

    http://www.designpatternsfor.net/

    http://www.devx.com/dotnet/article/33695



    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, May 30, 2010 7:57 AM
  • User-1237044210 posted

    @adeelehsan: It's so good reference, man! Thanks.

    Tuesday, June 1, 2010 1:42 PM