Giter Club home page Giter Club logo

domain-driven-design-example's People

Contributors

zkavtaskin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

domain-driven-design-example's Issues

Question about DomainEvent and others.

Hi,

Appreciate your work. I've been reading about DDD recently as I have been using old school layered architecture with Anemic Domain Models. If you don't mind, I'd like to ask you some questions. I would greatly appreciate some clarifications.

  1. What is the purpose of "DomainEvents". I see that you are rising some events, for example when Cart is created. Is that used as logger?
  2. In few cases you pass concrete object implementations into functions inside Domain Object. Doesn't it create coupling between them?
  3. Why still need for a service layer? Why not inject repositories into Domain Object? Do you prefer using the service layer as a sort of aggregator to manage Domain Objects and DAL? If so why?
  4. How do you decide which piece of business logic goes into the service and which into the Domain Model?

Thank you very much,
Hubert

Remove IDE generated files.

Could you remove .vs/config and packages folder from this repository ?
It should be better when client has to resolve the packages using package.config instead of downloading every libraries from github.

Thanks

UnitOfWork implementation

How would the UnitOfWork be implemented in this project?
More specifically;
In the CustomerService.Update method it ends with

customer.ChangeEmail(customerDto.Email);
this.unitOfWork.Commit();

But I dont see any implementation which actually makes this work.
The MemoryUnitOfWork contains nothing but comments.
Maybe i'm missing something?

Can't start webservice

Hello,

i want to start your application for learning purposes, but if i try to start the eCommerce.WebService i get the following error:

Server Error in the Application /.

Resource can not be found.

Description: HTTP 404. The resource you are looking for or one of its dependencies may have been removed, renamed, or temporarily unavailable. Check the following URL and make sure it is spelled correctly.
Requested URL: /

How i resolve this? Thank you in advance!

Services and Specs

Hello,

I really appreciate your DDD repository.
I am aware of Services and Specification acts as navigator among the models.
Beside that, Let me know what are the differents between Services and Specification.

Cheers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.