Model View Controller (MVC)

Model View Controller (MVC) 


MVC  (M = Model (Database we can say storage part ) , V = View ( Design or we can say Structure from any one thing) and C = Controller) Write logic from the user or we can say moving or run the code from the user or controller.




mvc (model view controller)
Model View Controller (MVC)




Model View Controller is a part from every server-side programming language.  like Hibernate(ORM),Spring,Struts,JSF all those MVC  from java programming language and Django from python programming , React-Native , Node Js, Anderjs , ScotsbyJs these are  full stack development MVC .


All high levels or all server-side  programming language depend on MVC    

i m telling you some server-side or full-stack development  programming language MVC here.


 MVC in programming Language


PROGRAMMING        =        MVC


1.  Java    =   Hibernate(ORM),Struts, String, JSF, JMS and alos on.
2.  Python   =   Django and flask
3.  iOS  =  Swift
4. Full stack   =  Nodejs is part from linux, Ander-js, Angular-js, react-js, react-native-js, scotby-js, Gatsb-js, and also include with M= Mongo,E= Express, A= Angular and N= Node js - stack development .
5.  .Net  =  Silverlight (WCF /  WPF), Linq, entity framework
6. Web Services  =  API   

Role of MVC 


Due to the arrival of MVC   your speed of working is big and your time is saved.  If you want to make a website so you will first create a development file, then make a designing file and if there is connectivity with the database then you will make a connection. Otherwise, you will work without database.

 So without any MVC it used to take a few minutes and hours to create each file. Because it was not time MVC Technologies.

Let us assume that it took me 1-2 hours to make all these files. But if we do the same work in MVC  , then all the work will be done within 30 minutes.

Because it does not create a single file at the same time. While MVC is to prepare the whole package of all the files at the same time. This is the man difference in the MVC and without MVC  .


Work of MVC


Let me explain this to you by an example - Suppose you have a Honda city car. Now what is the use of MVC   in this car, I will now tell you step by step.




working of model view controller (mvc)
Working of Model view controller (MVC)



1. The design of the car or the structure of the car is that. Which we call View.

2. Now the driver of this car has become the driver or user who will drive it. Which we call Controller.

3. Now if there is no petrol, diesel or gas in the car then how will the car run. So the car has a fuel. That is the storage of this car which we call model.


MVC in API


Today of all the API  that are being created or made in the world. the most important role is of MVC. it's does' not depend the API is created on which programming language . Because Dynamic API cannot be built without MVC  .

An API is a very sorted and simple user interface of any software or application.

In the same way all the work of MVC   is done in every programming language. And all the ways that web services also work on this MVC base.














Summery 

I have explain in this article how can use model view controller (MVC  ) . How many type of MVC  . why are need for MVC  and what is scope of mvc and if you want to more details please read and watch for this article .

1 comment:

Please don't write any spam text or message

Mega Menu in MDB

 Mega Menu in Material Design Bootstraps    Install MDB CLI 1. first intall or  download and install Node.js ...

Powered by Blogger.