domain-object Questions

3

Solved

In Domain Layer or Data access layer?
Calvities asked 13/3, 2010 at 12:17

4

Solved

Are domain objects the same as JPA entities? If I have a value object (e.g. a dollar bill), how can I (or even should I) store that in the datastore as a reference object? What are the subtleties ...
Haystack asked 1/5, 2012 at 7:11

4

Solved

Can someone explain these 3 concepts and the differences between them with respect to an MVC framework along with an example. To me these appear almost equivalent, and it seems they are used interc...

7

Solved

I have just taken over an ASP.NET MVC project and some refactoring is required, but I wanted to get some thoughts / advice for best practices. The site has an SQL Server backend and here is a...
Phillip asked 16/1, 2017 at 13:20

2

Solved

I started playing with DDD recently. Today I'm having a problem with placing validation logic in my application. I'm not sure what layer should I pick up. I searched over the internet and can't fin...

3

Solved

I've been very busy with trying to understand the concepts of ddd and Model layer lately. Read tons of articles, examples, Q and A's, spent many hours on it. And still I'm not sure if I got some pr...
Antibes asked 1/8, 2016 at 9:36

4

Solved

When using the ACL implementation in Symfony2 in a web application, we have come across a use case where the suggested way of using the ACLs (checking a users permissions on a single domain object)...
Takeover asked 8/7, 2011 at 7:21

4

Solved

What are domain objects and domain services in software architecture? I am not familiar with them or how they differ from the business logic layer?
Panteutonism asked 8/4, 2011 at 0:30

3

Solved

I have the following example in which I tend to use a couple of classes, to create a simple web app. The file hierarchy seems like this. > cupid - libs - request - router - database ...
Martingale asked 17/7, 2015 at 17:43

4

Solved

Could you please explain the difference between Transfer objects and Domain objects in simple terms ? And if u could give a Java example, that would be great..
Irretentive asked 18/7, 2011 at 11:21

1

Solved

I'm fiddling with an MVC framework, and I stumbled upon a problem I'm not sure how to solve. I want to make a DomainObjectFactory for the Model layer of my application, however, each Domain object...

3

Solved

By looking to the example of a Domain Object into Zend Quickstart tutorial, and other examples considering a DAO/VO patterns, they both seem to be very similar. Can we deduce that to say "Value O...

1

In our application based on Symfony2 we would like to create a list of which of the users in the system that has permissions for a given domain object. We are using ACL and our immediate instinct w...
Counterstamp asked 7/7, 2011 at 12:52

1

Solved

How do I use the GORM .get to retrieve an object o, modify some fields, and call o.validate() to find errors without Hibernate saving the object to the DB. discard by itself does not prevent the sa...
Goldfinch asked 12/10, 2011 at 19:36

2

Solved

Is it a bad practice to use domain objects in Sets or as keys in Maps? In the past I've done things like this a lot Set<Book> someBooks = [] as Set someBooks.addAll (Book.findAllByAuthorLik...
Wilkison asked 9/6, 2011 at 2:41

2

I know that domain logic should be placed into domain objects. But what if my domain logic needs data from the database ? (e.g. checking unique value, computed values.. etc ) I think injecting repo...
Delenadeleon asked 15/5, 2011 at 17:44

1

Solved

I have a domain class which has two dates in it and I want one of them populated with the current time when a record is created for the object, like a create timestamp... class Contact { Date ini...
Mislike asked 27/1, 2010 at 13:41
1

© 2022 - 2024 — McMap. All rights reserved.