separation-of-concerns
Entity Framework, application layers and separation of concerns
I\'m using the Entity Framework 4.1 and ASP.Net MVC 3 for my application. MVC provides the presentation layer, an intermediate library provides the business logic and the Entity Framework sort of acts[详细]
2023-03-05 08:56 分类:问答To use interceptors or not interceptors in MVC application framework?
Does using interceptors for controlling the flow of events in a MVC framework == business logic coupled with, or leaked to, the framework?[详细]
2023-03-03 21:02 分类:问答Does user input go to the controller or model?
Right now I have my model split out, but my controller and views are still combined in a 12k line file. I\'ve been looking to create a true MVC system for this, splitting out the views, but while look[详细]
2023-03-03 17:18 分类:问答Is using template tags to pull data a violation of separation of concerns?
I\'m wondering if the django generic flatblocks app is a violation of the separation of concerns principle.[详细]
2023-02-28 18:45 分类:问答Is passing ORM entities into templates acceptable in MVC pattern frameworks?
Is passing ORM entities directly into templates acceptable? In a hypothetical python framework is this worse[详细]
2023-02-26 19:40 分类:问答MVVM + Implementation of View specific functionalities called by the ViewModel
here is my \"problem\" I want to resolve: I have got many \"View only\" specific functionalities for example:[详细]
2023-02-26 09:51 分类:问答Command Query Separation violation
What do you think about if(!D开发者_运维知识库oSomething()) return; In Clean Code this is viewed as violation of Command Query Separation.[详细]
2023-02-25 08:55 分类:问答ASP.NET MVC Architecture - Generic repository pattern
I\'m new to ASP.NET MVC and I\'m trying to figure out the right way of coding in it. I\'m trying to implement a multi-layer architecture with a generic repository for data access.[详细]
2023-02-22 00:45 分类:问答Separating Progress Tracking and Loop Logic
Suppose i want to track the progress of a loop using the progress bar printer ProgressMeter (as described in this recipe).[详细]
2023-02-16 13:47 分类:问答ASP.Net MVC How to separate view models from DB models?
I can\'t quite decide how to go about separating my view models from my DB models. I\'m using an ActiveRecord pattern for my DB access. Meaning I get a User class instance for each User row in the da[详细]
2023-02-16 05:54 分类:问答