Tagged Questions
MVC (Model-View-Controller) is a software architecture pattern that enforces separation of concerns.
0
votes
1answer
78 views
Are there any tutorials available like NerdDinner but for Java?
I found the NerdDinner tutorial really helped me teach others who knew basic C#/.NET programming but had no web programming or MVC experience. The main things I found that made it easy for those ...
1
vote
1answer
66 views
Difference between Controller and Dispatcher in MVC for web frameworks?
In MVC applied to WSGI or Java EE, is the Servlet a controller, dispatcher, or both? I think I've seen system diagrams where the controller and the dispatcher are different. Could the controller ...
0
votes
2answers
96 views
Using alternative MVC framework
I am new to ASP.NET MVC and EF. I read about open source implementations of MVC pattern like Spring, FubuMVC, Castle etc.
I want to know how flexible these alternatives are when compared with ASP.NET ...
1
vote
3answers
89 views
Can you call any php model class in an MVC from the controller?
I'm creating a simple MVC at the moment and am wondering if it's 'correct' to be able to call any model class directly from the controller to get the data to send to the view?
I have the following ...
2
votes
2answers
257 views
How can I design a model layer without ORM, and when should I use it?
I'm a PHP developer who started with CodeIgniter. In it, designing models was easy: it seemed like each method defined in models was the equivalent of static methods in a normal, objected-oriented ...
6
votes
1answer
150 views
Defining classes in JavaScript that exist in your back-end
Doesn't it seem relatively duplicative to define your Models in your backend code AND on your front end for a rich internet application?
I'm porting a GUI application I had written to have a web ...
18
votes
8answers
768 views
What is MVC, really?
As a serious programmer, how do you answer the question What is MVC?
In my mind, MVC is sort of a nebulous topic — and because of that, if your audience is a learner, then you're free to ...
5
votes
5answers
227 views
Where should date formatting take place in an MVC pattern?
Suppose that you want to show a user list, on a web application having to handle custom date formats (depending on current selected interface language).
Several locations for applying the date format ...
2
votes
2answers
54 views
Pattern for user interaction and confirmation
Suppose a FileWriter class that needs validation that it will not erase a file already present, if one is found. It would have two functions:
public bool FileExists(string filePath) //...
public bool ...
1
vote
1answer
141 views
Pattern for a web application
I'm developing a web application for a university project. My professor wants we to use a multi-tier architecture (Client, Web, Business and Data tiers) with EJB. For the Web and Business I have ...
0
votes
1answer
49 views
MVC JSon Request architecture
I am finding myself building up a whole bunch of JSON calls all through my application, which are basically actions spread across various controllers. I am considering creating a JSON Controller to ...
1
vote
3answers
136 views
Is there a canonical resource on ASP.NET MVC ?
I want to learn ASP.NET MVC. I have a solid background in asp.net web forms. Are there any resources that you can recommend to help me make the change? I'm ideally looking for videos which touch on ...
2
votes
1answer
268 views
Are JavaScript MVC Frameworks only for 'single-page' apps?
I've been looking into several of the JavaScript MVC Frameworks (Backbone.js, Spine, SproutCore,etc.) and it seems to me that all of these are designed to act as 'single-page' applications. All of the ...
5
votes
2answers
396 views
Use-cases for node.js and c#
I do quite a bit of ASP.NET work (C#, MVC), but most of it is typical web development. I do Restful architecture using CRUD repositories. Most of my clients don't have a lot of advanced requirements ...
-2
votes
1answer
67 views
In Objective-C with no nib is MVC to have the logic together with the view? [closed]
When I work in Objective-C programatically with out nib files, and have the logic in my:
appViewController.m
What is going on with that view, as well as with the View elements? Is this against ...