none
Which one is Best Project Design Pattern ??? RRS feed

  • Question

  •  

    Hi,

     

     I  want develop a scalable Asp.net(3.5) Project .

     please suggest me which  design pattern i need to follow and can i use  more than one design pattern for single project.

     

     

      any suggestion would be appreciated.

     

      ---------------------------------------

         Santosh Gautam

          Delhi (INDIA)

      

     

    Monday, January 5, 2009 12:32 PM

All replies

  • You can use as many design patterns as you like.  Bear in mind their is often a tradeoff between complexity and flexibility when applying design patterns.

     

    how you design your application depends how you want to scale; traffic growth, data growth or maintainability.

     

    It's hard to advise anything without a specific goal so can only give general advise.  

     

    I would try to reduce the number of HTTP requests the client makes and the number of database roundtrips required to get the clients data.

     

    To reduce HTTP requests consider caching content (images for example), use image maps , css sprites and combine scripts.  Compression can also help if you have the cpu power (I posted on compression here http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4170474&SiteID=1).

     

    To reduce the number of roundtrips from the web server to the database use batch sql statements to return multiple recordsets. 

     

    I would also look at caching some of the less transactional data.  Take a look at the velocity project http://msdn.microsoft.com/en-us/data/cc655792.aspx

     

    Hope this helps.

     

     

    Monday, January 5, 2009 4:04 PM
  • I agree with G Moore. however, important point to remember is the fact that design patterns (DPs) are solutions to some common problems. You should not be using DPs just because you can but only if you a "problem".

     

    Post more of your requirements and we can figure what you should use and what you shouldn't

     

    Hope this helps

     

    --Pavan

    Monday, January 5, 2009 6:21 PM
  • This might be of interest;

     

    http://www.codeplex.com/AppArchGuide

     

    Tuesday, January 13, 2009 12:11 PM
  • Very useful link.

    Thanks

    Saturday, January 24, 2009 12:01 AM