sudo chmod -R 777 /* to give permission to the folder and all its contents recursively
Tuesday, September 25, 2018
installation of visual studio code for angular
- download .deb 64 bit package for ubuntu from https://code.visualstudio.com/download
- open terminal and goto the location where the file exists
- type the following
- sudo dpkg -i code_1.27.2-1536736588_amd64.deb
- goto search bar
- type visual studio code
- lock it to launcher
Monday, September 24, 2018
Wednesday, August 8, 2018
Tuesday, August 7, 2018
domain driven design
- books “Domain-driven Design” by Eric Evans and “Implementing Domain-driven Design” by Vaughn Vernon
- value object is the object of a class whose constructor is private and which is constructed with the help of factory method inside it. they are not treated as entity. and two value objects having same state are considered to be equal.
- https://deviq.com/value-object
- they are small
- they are immutable
- https://martinfowler.com/bliki/ValueObject.html
- https://enterprisecraftsmanship.com/2016/01/11/entity-vs-value-object-the-ultimate-list-of-differences/
- value objects can be considered as @component
- address is a good example of value object
- value object should not be in a separate table.
- value object should not have own identity
- aggregates
Subscribe to:
Posts (Atom)