Click here to Skip to main content
15,888,089 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
What is MVC Approach ?

Like Code first or database first approach ?
Posted
Comments
Sergey Alexandrovich Kryukov 4-Mar-14 13:01pm    
What do you mean "like"? Not quite. What's wrong about just reading on the topic?
—SA
Gaurav Gupta A Tech Guy 5-Mar-14 5:20am    
the problem is that if someone asked me about approaches to develop MVC Application. so what will me my answer ? thats why i am asking about term like code first and database first.
Sergey Alexandrovich Kryukov 5-Mar-14 9:25am    
Please see my comment to another answer.
—SA

 
Share this answer
 
Comments
Gaurav Gupta A Tech Guy 5-Mar-14 5:20am    
the problem is that if someone asked me about approaches to develop MVC Application. so what will me my answer ? thats why i am asking about term like code first and database first.
Sergey Alexandrovich Kryukov 5-Mar-14 9:24am    
We are not teaching how to do blah-blah-blah, we are helping with computer science, software development and related intellectual and creative topics. You sound as if you say: "don't help me to get knowledge, help me to answer a question". If this is what you want: my advice would be: get away from the engineering field and never approach it again. Or would you rather change this attitude? :-)
—SA
Sergey Alexandrovich Kryukov 5-Mar-14 9:24am    
Voted 4. It's more important to know about MVC as of software pattern; please see my answer.
—SA
Krunal Rohit 5-Mar-14 9:25am    
Of course.!

-KR
The following articles are might be helpful to you:

Database First Approach

Code First Approach
 
Share this answer
 
v2
MVC:-Model View Controller
there are three approaches to it as in :-
1.Code First Approach:- In this approach first the classes are defined and then Migrations is used.

2.DB First Approach:- In this approach first Database is formed and then ADO.NET Entity Model, else trivial ADO.NET Connections are used.

and
3.Model First Approach

Happy Coding
Enjoy SD's :)
 
Share this answer
 
Just remember, keep the screen / view and database data separate.
Let the controller work on on the mediator between the model and the view.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900