data-access-layer
CakePHP business logic layer
CakePHP doesn\'t seem to ever mention separating the business logic and data access layers of an app.This is my first MVC app and my \"fat models\" are turning out to be very fat because they contain[详细]
2023-04-07 19:53 分类:问答What would you put into the unit test of a repository class (data access layer)?
I\'d like to write a unit test for my data access layer to make sure that everything works allright in it.[详细]
2023-04-05 11:32 分类:问答Better solutions for a Database Access Layer than my .NET assembly solution?
For an upcoming effort I\'ll be looking at a partial rewrite of an existing system.One piece of it is a DAL which is implemented as a .NET assembly that is referenced by a few applications and provide[详细]
2023-04-04 12:01 分类:问答Data access layer design in DDD
Excuse me for my poor English. Ok, I\'m thinking about DDD approach now and it sounds great but... There is one little question about it. DDD says that the domain model layer is totally decoupled fro[详细]
2023-04-04 00:36 分类:问答TDD Data Access layer
In TDD, I\'ve been testing business logic by mocking data access functionalities. but in reality I need the layers below the business layer also to be implemented for the application to work.[详细]
2023-04-03 09:30 分类:问答Using a lambda for a model default in Web2py
I\'m try to use a lambda to set a default value based on a value in another table. Here is my model: db.define_table(\'trip_instance\', timestamp, sos_table,[详细]
2023-04-02 17:31 分类:问答Circular dependency between MODEL and BLL
Assuming an architecture as such. MODEL > BLL > DLL Trying to implement lazy loading in my MODEL I have run into a circular dependency between my MODEL and BLL..[详细]
2023-04-01 20:40 分类:问答How do you perform basic CRUD on a database using windows forms?
I have used the .Net framework extensively for backend processes and web pages but I have never needed to use Windows Forms. The only experience I have with Windows form type technology is with Delphi[详细]
2023-04-01 20:12 分类:问答Generic Methods signature
I have a data开发者_如何学JAVA access class that loads reference data. Each type of entity will execute it\'s own stored procedure and return a result set specific for that entity type. Then I have a[详细]
2023-04-01 09:24 分类:问答Generic Method Signature for DAL Update method
I am working with a multi-purpose Stored Procedure that does either an insert or update for either Claim or Policy. I would like to only create one DAL method to call this update/insert.[详细]
2023-04-01 08:57 分类:问答