3 min

What is MVC‪?‬ Dotnet Bees

    • Technology

Hey Everyone,

Thank you for tuning in, you are listening to Prashant and here I will talk only about dotnet and sometimes other technologies as well

Today we are going to talk about what is MVC and I am not going to tell you the definition but I will try to convey it by some interesting story

We will try to connect why we needed MVC as architecture? What was the problem which we were facing while developing code before MVC

If you are someone who wrote code for windows forms and web forms then you can relate much but I will try to cover basics so that newbies can also understand.

Let’s take real estate example to explain MVC, There was a rich guy he wanted to build a 60 floors building in between the city and he asked his architects to design the building structure. Architects came up with the design and they build a 60-floor building in the city.  the building became very popular in the state and people from different states started to come and visit the building.

One day geology department broadcasted a warning for an earthquake. It created panic in builders and architects on how to safeguard the building, they tried to find many solutions but nothing was promising because of building size. They couldn't save the building in an earthquake. It was a huge loss for a builder and all those people who were living in that apartment.

After that loss, they thought about the mistakes they made while designing and architecting the building.

Next year they planned to rebuild the building, this time they decided to build three-building instead of one and implement different design internally to protect them in such calamities.

The same year again earthquake came and one of their building affected little but the other two were safe. 

One thing which we can draw from the story and implement in software is by keeping pieces apart relative to their use cases will save us if anything fails.

So a bigger building is nothing but web forms and three smaller building are MVC

MVC stands for the Model view controller

Where Model consists of all the business-related logic adding manipulation data etc

The view contains the presentation layer 

The controller is the mediator between the model and view.

In dotnet core, MVC pattern is been used heavily and this architecture has changed the way we thought about software architecture and deployment model.

This is all about MVC, Thank you for tuning in. Will meet you in next episode till then keep sharing the knowledge






---

Send in a voice message: https://podcasters.spotify.com/pod/show/prashantmaurya/message

Hey Everyone,

Thank you for tuning in, you are listening to Prashant and here I will talk only about dotnet and sometimes other technologies as well

Today we are going to talk about what is MVC and I am not going to tell you the definition but I will try to convey it by some interesting story

We will try to connect why we needed MVC as architecture? What was the problem which we were facing while developing code before MVC

If you are someone who wrote code for windows forms and web forms then you can relate much but I will try to cover basics so that newbies can also understand.

Let’s take real estate example to explain MVC, There was a rich guy he wanted to build a 60 floors building in between the city and he asked his architects to design the building structure. Architects came up with the design and they build a 60-floor building in the city.  the building became very popular in the state and people from different states started to come and visit the building.

One day geology department broadcasted a warning for an earthquake. It created panic in builders and architects on how to safeguard the building, they tried to find many solutions but nothing was promising because of building size. They couldn't save the building in an earthquake. It was a huge loss for a builder and all those people who were living in that apartment.

After that loss, they thought about the mistakes they made while designing and architecting the building.

Next year they planned to rebuild the building, this time they decided to build three-building instead of one and implement different design internally to protect them in such calamities.

The same year again earthquake came and one of their building affected little but the other two were safe. 

One thing which we can draw from the story and implement in software is by keeping pieces apart relative to their use cases will save us if anything fails.

So a bigger building is nothing but web forms and three smaller building are MVC

MVC stands for the Model view controller

Where Model consists of all the business-related logic adding manipulation data etc

The view contains the presentation layer 

The controller is the mediator between the model and view.

In dotnet core, MVC pattern is been used heavily and this architecture has changed the way we thought about software architecture and deployment model.

This is all about MVC, Thank you for tuning in. Will meet you in next episode till then keep sharing the knowledge






---

Send in a voice message: https://podcasters.spotify.com/pod/show/prashantmaurya/message

3 min

Top Podcasts In Technology

Barış Özcan ile 111 Hz
Podbee Media
Farklı Düşün
Seyfeddin Başsaraç, Mert Bulan
Zihnimin Kıvrımları
M. Serdar Kuzuloğlu
Haftalık Gündem Değerlendirmesi
TeknoSeyir
Lex Fridman Podcast
Lex Fridman
TED Radio Hour
NPR