MVC (Model-View-Controller) is a software architecture pattern that enforces separation of concerns.
4
votes
3answers
113 views
Clean, Modular Code vs MV* Frameworks
I've been hearing a-lot about the "new" MV* frameworks. I've tinkered with KnockoutJS, creating an invoicing application, but I much prefer to write clean, modular code in raw JavaScript - leveraging ...
1
vote
1answer
99 views
Good practice for object instantiation in MVC
In MVC the Domain Models(from Model Layer) should instantiate other Domain Models or all the Domain Models should be instantiate in the controllers and passed down using Dependency Injections?
How do ...
15
votes
4answers
571 views
MVC Architecture — How many Controllers do I need?
I have been coding for a while, but mostly scripts and simple applications. I've moved into a new role where it is all about developing Web Apps and using a proper MVC architecture, so I am ...
2
votes
1answer
111 views
Do MVC web frameworks favor anemic domain model in order to avoid duplication?
Binding directly the form to your model helps a lot to get rid of boiler plate code, but that means that your model must have a getter/setter for each property otherwise it wouldn't be possible. ...
0
votes
0answers
55 views
Best CMS for asp.net MVC (for social website) [on hold]
Don't normally ask questions like this, not sure if its the right place either but I'm sure someone will tell me very soon.
I would Love to know what CMS solutions people can suggest for me to use ...
31
votes
5answers
2k views
What are the downfalls of MVC? [closed]
I've been using MVC/MV* since I started actually organizing my code years ago. I've been using it so long that I can't even think of any other way to structure my code and every job I've had after ...
2
votes
0answers
68 views
Should I use JavaFx properties?
I'm usually very careful to keep my Model, View, and Controller code separate. The thing is JavaFx properties are so convenient to bind them all together. The issue is that it makes my entire code ...
1
vote
4answers
286 views
Is it fair to call a database or a document a “Model”, as in Model/View/Controller?
Part of my job is working on line-of-business applications built around client-side databases, such as Access or FoxPro. Other times these local LOBA's have direct document access, such as an exact ...
0
votes
0answers
37 views
Zend Framework 2 - Keeping all the models and mappers in Application module?
I am in process of planning web application by following the best practices and approaches of software development. I am building this application using zend framework 2 and going through its ...
4
votes
2answers
129 views
Breaking Up A Model Class - MVC
I am not sure whether there is a 'right' or 'wrong' answer to this one, but I was curious about the general consensus.
I have a User model that currently performs user functions (such as retrieving ...
0
votes
0answers
22 views
First attempt at an MVC javascript pattern [migrated]
I would really appreciate a review of my interpretation of MVC here.
http://jsfiddle.net/zuVkt/
It's as bare bones and clear as possible, i've based it on some in-depth reading but I don't know if I ...
-4
votes
1answer
62 views
How to use MVC4 tuple with multiple list parameter [closed]
I did this to bind two stored procedures.
The stored procedures return table/list data.
var P1_PT_Pct_Thrown = pp.ppsproc_P1_PT_Pct_Thrown(_pid, _vs);
...
1
vote
1answer
113 views
What is a good strategy for binding view objects to model objects in C++?
Imagine I have a rich data model that is represented by a hierarchy of objects.
I also have a view hierarchy with views that can extract required data from model objects and display the data (and ...
1
vote
2answers
84 views
Does a group of Select Statements count as a valid model?
I'm making a facebook app and I'm trying to follow MVC properly. But I was wondering if I had a class that was a bunch of fql queries (getting data from facebook) should I have keep these in a ...
-1
votes
3answers
106 views
Host an MVC 3 with Razor syntax app on old server
I just started a new job, I have to create a web app for them and host it on their intranet on an Windows 2003 R2 server with SQL server 2008.
As said in the question, I'll work on a MCV3 with Razor ...