business-logic
Default time zone per user, set in the business logic
I have an application where all the DateTime\'s are always the time of the server. That means one time zone. The idea is to make the application compatible all over the world. The first step is to con[详细]
2023-03-20 02:29 分类:问答What is the difference between a validation rule and a business rule?
What is the difference between a validation rule and a business rule ? As per my understanding, \'if the state of the business object/objects is not as expected, then throw an error message\' is a v[详细]
2023-03-18 04:34 分类:问答How to extend an existing Ruby model to support persistence
I have a gem which implements my entire business logic, so that I can use it in different applications. Now, one of these applications requires persistence. How do I easily extend my existing Ruby mod[详细]
2023-03-17 19:48 分类:问答How to better avoid the LazyInitializationException?
Currently I have a child entity that has a @ManyToOne association to it\'s parent entity. Previous developers have set this field as lazy=\"false\" to get the parent whenever needed when the session i[详细]
2023-03-15 04:05 分类:问答What types of code are appropriate for the service layer?
Assume you have entities, a service layer, and repositories (with an ORM like NHibernate).The UIs interact with the service layer.[详细]
2023-03-15 03:00 分类:问答Application design - modifiable business rules
Am looking for some advice on the design of an application. As I\'v signed an NDA I can\'t reveal too much about the actual business but will try to explain the requirement.[详细]
2023-03-14 03:56 分类:问答How to avoid casting between the DL - BL - UI layers ? (C#)
I designing an applications which basically has 3 different logic layers: DB connector (implemented by ADO.NET).[详细]
2023-03-14 02:52 分类:问答C# - Usage of transactions in business layer (SQLServer 2005+ , Oracle) - good examples
I am gonna build a service using 3-tier architecture and I am really worried about how to handle operations in a transacted way.[详细]
2023-03-12 05:53 分类:问答Dependencies Symfony2
I\'m wondering if there is a proper way to check the dependencies. For example I\'ve got a NewsBundle. Now 开发者_JS百科I\'ll have to check if there is a CommentBundle. If there is one, it should exe[详细]
2023-03-09 04:30 分类:问答Business Logic + ASP.NET MVC
I\'ve an MVC application, which is divided into 3 layers: - Presentation - ASp.NET MVC - Busines Logic - Here we have entities and object services. We alo have mappers between DAL objects and BL objec[详细]
2023-03-08 13:34 分类:问答