2
votes
0answers
17 views

Where to put queries for lookup lists in PHP MVC app

I have a PHP MVC application. My 'M' has Domain, Mapper and Factory layers, and these are accessed via a Service layer. Often I need to generate a list of id/value pairs for a html select box. To ...
1
vote
1answer
41 views

How to achieve MVP or MVC in Scala-Swing?

Does anybody know some well-written sample projects showing how to achieve MVP or MVC architecture in Scala+Swing?
2
votes
0answers
64 views

In general MVC design pattern: What to do about those page specific little classes that don't seem to fit as Models or Libraries

In my current implementaion of the MVC design pattern (demonstrated using PHP and CodeIgniter): Let's say I have a "page" located at "www.mysite.com/blue/page" that is ultimately generated by the ...
0
votes
1answer
24 views

Business rules implementation in MVC

So after my first question about MVC and some answers from esteemed stackoverflow memebrs, I read a few books about MVC especially by Scott Alen. My question is that how do we implement show/hide ...
-1
votes
2answers
49 views

MVC with swing implementation java [closed]

I am confused how MVC will work with GUI swing application. I have worked with PHP MVC but that is totally different. I understand what MVC stands for. But what making me confused is different ...
0
votes
1answer
40 views

Is MVVM pattern a symbiote of MVC + PAC patterns?

I've surfed Wikipedia and have found such an article: http://en.wikipedia.org/wiki/MVC4WPF A part from the link upper: MVC4WPF is an open-source, extensible, automated code pattern developed at ...
0
votes
1answer
35 views

How does Core Data fit into MVC model objects?

This is more of a theoretical question, but how does/should Core Data objects fit into an application's "model"? At the simplest level, the "model" could just be the Core Data objects directly, but ...
0
votes
1answer
29 views

Use MVC with SDL makes sense?

I was wondering is it makes sense in real world programming to use the Model View Controller design pattern in a SDL based game? I mean, what are the pros and cons for it?
1
vote
3answers
136 views

Dependency Injection Container vs Registry pattern

I understand that the Dependency Injection principle is all about decoupling code. Instead of making new instances in the classes, instead you inject them, which make them loosely coupled. Now if I ...
0
votes
0answers
31 views

Nested MVC issue

I am using Nested MVCs in my application and its MVCs in a MVC composition. I have a Task which has 3 parts. Grid/Table : Displays collection data Charts : Displays charts for the collection data ...
2
votes
1answer
49 views

How do I keep value objects from the server?

I communicate with the server through jsons, which both in Nodejs and in Actionscript are objects (serialized through string). Those objects I use in my client, by reading / modifying them and also ...
0
votes
2answers
44 views

How are exceptions handle in a MVC architecture?

Where are exceptions handled in the MVC architecture? Say, I am uploading a file using AJAX and an exception occurs. Where is it handled? What is the best practice for this? Should it be in the ...
2
votes
3answers
74 views

Should I move my custom methods to model from controller?

Let's say I have a Product model and ProductsController. Controller has all the standard CRUD method and Product does all kinds of validations etc. Here is an issue. I have several custom very ...
1
vote
0answers
46 views

MVC pattern idea with BlockingQueues [closed]

I'm designing multiplayer Snake game spin-off. I'm trying to make it more entertaining and fast. I decided to use concurrency and multithreading. I have to use MVC design pattern. Is it OK to ...
1
vote
3answers
76 views

what the difference between singleton and Registry design pattern or classes

I have some confusion between the two. singleton Check if instance exists return it, or create new one. Registry Check if instance exists return it, or create new one and store it. What the ...

1 2 3 4 5 39
15 30 50 per page