Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. what are different design patterns that we follow in web app development?

what are different design patterns that we follow in web app development?

Scheduled Pinned Locked Moved IT & Infrastructure
designhelpquestion
11 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ashu_sharma21
    wrote on last edited by
    #1

    Hi, Can anyone please help me with what are the different design patterns that we follow in web application development? Thanks Ashu Sharma

    C 1 Reply Last reply
    0
    • A ashu_sharma21

      Hi, Can anyone please help me with what are the different design patterns that we follow in web application development? Thanks Ashu Sharma

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Obviously n-tiered. Beyond that, Microsoft Press has some good books on this subject. Christian Graus - Microsoft MVP - C++

      A 1 Reply Last reply
      0
      • C Christian Graus

        Obviously n-tiered. Beyond that, Microsoft Press has some good books on this subject. Christian Graus - Microsoft MVP - C++

        A Offline
        A Offline
        ashu_sharma21
        wrote on last edited by
        #3

        Thanks Christian, But i have also heard of MVC design that is being used in web app development. Please throw some light if you have idea about similar types of other designs. Thanks Ashu Sharma

        C 1 Reply Last reply
        0
        • A ashu_sharma21

          Thanks Christian, But i have also heard of MVC design that is being used in web app development. Please throw some light if you have idea about similar types of other designs. Thanks Ashu Sharma

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Model/view/controller is almost implicit in web design. The idea is this: The model contains all the business rules, the 'model' of what the app does The view shows what the model does to the user, it's the UI The controller accepts user input and then calls the model to process it. Your aspx is basically your view, and the code behind with it's event handling code is your controller. The middle tier and database tier are the model. It's a powerful model for windows apps, because it makes it easy to change what the view or controller is without accessing the model. However, a web app will always have the same view and controller, so it offers no benefits beyond the ones it gives you through being the same as n-tiered development. Interestingly, MVC is how Smalltalk ( from memory ) works, the famous GoF Design Patterns book does not cover MVC in it's catalog, it presents it as an example of an existing pattern in covering the reasons for patterns to exist. Yet, people seem to discuss it a lot, and I certainly do, I've used it in windows apps with great results. Christian Graus - Microsoft MVP - C++

          A 1 Reply Last reply
          0
          • C Christian Graus

            Model/view/controller is almost implicit in web design. The idea is this: The model contains all the business rules, the 'model' of what the app does The view shows what the model does to the user, it's the UI The controller accepts user input and then calls the model to process it. Your aspx is basically your view, and the code behind with it's event handling code is your controller. The middle tier and database tier are the model. It's a powerful model for windows apps, because it makes it easy to change what the view or controller is without accessing the model. However, a web app will always have the same view and controller, so it offers no benefits beyond the ones it gives you through being the same as n-tiered development. Interestingly, MVC is how Smalltalk ( from memory ) works, the famous GoF Design Patterns book does not cover MVC in it's catalog, it presents it as an example of an existing pattern in covering the reasons for patterns to exist. Yet, people seem to discuss it a lot, and I certainly do, I've used it in windows apps with great results. Christian Graus - Microsoft MVP - C++

            A Offline
            A Offline
            ashu_sharma21
            wrote on last edited by
            #5

            Thanks for your time Christian. I am sure this info will help me. Ashu Sharma

            C 1 Reply Last reply
            0
            • A ashu_sharma21

              Thanks for your time Christian. I am sure this info will help me. Ashu Sharma

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              No worries, design pattern questions are my favourite sort to answer :-) I'd suggest you'll get more visibility and more replies if you ask in the ASP.NET forums next time. I doubt many people read this one. Christian Graus - Microsoft MVP - C++

              A 1 Reply Last reply
              0
              • C Christian Graus

                No worries, design pattern questions are my favourite sort to answer :-) I'd suggest you'll get more visibility and more replies if you ask in the ASP.NET forums next time. I doubt many people read this one. Christian Graus - Microsoft MVP - C++

                A Offline
                A Offline
                ashu_sharma21
                wrote on last edited by
                #7

                Thanks Christian, actually i was asked this question in an interview 'name the design pattern that you follow in your application' and for that i could only answer that i follow n-tier approach. They were in insisting on the design pattern for the application so i got confused. Thanks anyways mate! Ashu sharma

                A 1 Reply Last reply
                0
                • A ashu_sharma21

                  Thanks Christian, actually i was asked this question in an interview 'name the design pattern that you follow in your application' and for that i could only answer that i follow n-tier approach. They were in insisting on the design pattern for the application so i got confused. Thanks anyways mate! Ashu sharma

                  A Offline
                  A Offline
                  ashu_sharma21
                  wrote on last edited by
                  #8

                  Mate, a question out of the context...what do i need to do to become an MVP. Can you guide me a little on this if you dont mind. Thanks Ashu sharma

                  C D 2 Replies Last reply
                  0
                  • A ashu_sharma21

                    Mate, a question out of the context...what do i need to do to become an MVP. Can you guide me a little on this if you dont mind. Thanks Ashu sharma

                    C Offline
                    C Offline
                    Christian Graus
                    wrote on last edited by
                    #9

                    ashu_sharma21 wrote: what do i need to do to become an MVP MVP is an award that Microsoft gives, you can't ask for it, but it's an award that shows you're both knowledgable, and that you share your knowledge with others. So answering a lot of questions on newsgroups, writing articles, getting published in magazines, writing books, these are all ways to increase your odds of becoming an MVP. Christian Graus - Microsoft MVP - C++

                    A 1 Reply Last reply
                    0
                    • C Christian Graus

                      ashu_sharma21 wrote: what do i need to do to become an MVP MVP is an award that Microsoft gives, you can't ask for it, but it's an award that shows you're both knowledgable, and that you share your knowledge with others. So answering a lot of questions on newsgroups, writing articles, getting published in magazines, writing books, these are all ways to increase your odds of becoming an MVP. Christian Graus - Microsoft MVP - C++

                      A Offline
                      A Offline
                      ashu_sharma21
                      wrote on last edited by
                      #10

                      Thanks Christian! Best Regards Ashu Sharma

                      1 Reply Last reply
                      0
                      • A ashu_sharma21

                        Mate, a question out of the context...what do i need to do to become an MVP. Can you guide me a little on this if you dont mind. Thanks Ashu sharma

                        D Offline
                        D Offline
                        David Crow
                        wrote on last edited by
                        #11

                        ashu_sharma21 wrote: ...what do i need to do to become an MVP. Do those things that Christian suggests and then get nominated. Nominees are then approved (or not) by Microsoft.


                        "One must learn from the bite of the fire to leave it alone." - Native American Proverb

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups