Domain Driven Design: Domain Service, Application Service [closed]

Services come in 3 flavours: Domain Services, Application Services, and Infrastructure Services. Domain Services : Encapsulates business logic that doesn’t naturally fit within a domain object, and are NOT typical CRUD operations – those would belong to a Repository. Application Services : Used by external consumers to talk to your system (think Web Services). If … Read more

Logout: GET or POST?

Use POST. In 2010, using GET was probably an acceptable answer. But today (in 2013), browsers will pre-fetch pages they “think” you will visit next. Here is one of the StackOverflow developers talking about this issue on twitter: I’d like to thank my bank for making log off a GET request, and the Chrome team … Read more