What design model am I using?

I studied web application development and was initially amazed at the number of schools of thought around design patterns, as well as on all the different platforms and technologies that programmers used.

I settled on the "template" of some kind, and I wonder if it has a name, or if others use this template, or if there is a better way to do something. I use:

  • HTML / CSS for presentation.
  • JQuery AJAX accesses ASPX for ASP.NET for ASP.NET (SQL Server) connections that return JSON
  • JSON is parsed and then displayed in a browser using jQuery
+4
source share
2 answers

This is not a template. This is architecture, in particular three-level architecture . The levels you have

1) View
2) Data Processing (ASP / NET)
3) database

A design pattern is a code pattern to solve a common problem. For example, the Singleton pattern is a solution to the problem of ensuring that the application has only one instance of something.

Architecture is a general approach to developing an application as a whole. In your case, you have a web client, a processing layer, and a data layer.

Please note that depending on your design, client-side code may be considered as your own application, which may have its own architecture (for example, MVC architecture).

+9
source

I believe that you are talking about the MVC pattern. But this is a little different.

MVC on Wikipedia

+1
source

Source: https://habr.com/ru/post/1391533/


All Articles