Web development Book & notes
Open in Telegram
Web development language 1.HTML. 2.CSS. 3.javascript. 4. React js. 5.PHP. 6.python and many more languages. 7.web project. 8.web learning Books. 9.Web development rode maps. Admin --- @mr_dinesh_2005
Show more2 480
Subscribers
+1824 hours
+1437 days
+62230 days
Posts Archive
Domain-Driven Design (DDD)
DDD was introduced in Eric Evans’ classic book “Domain-Driven Design: Tackling Complexity in the Heart of Software”. It explained a methodology to model a complex business. There is a lot of content in this book, so I'll summarize the basics.
The composition of domain objects:
- Entity: a domain object that has ID and life cycle.
- Value Object: a domain object without ID. It is used to describe the property of Entity.
- Aggregate: a collection of Entities that are bounded together by Aggregate Root (which is also an entity). It is the unit of storage.
Read More
S - Single Responsibility Principle 👩💻👨💻
Each class/module should have only one reason to change. Keep your code focused on doing just one thing - it leads to easier maintenance and enhances readability. 🧐
O - Open/Closed Principle 🌐🔒
Software entities should be open for extension but closed for modification. Build systems that allow you to add new features without altering existing code. 🛠
L - Liskov Substitution Principle 🧩✅
Derived classes should be substitutable for their base classes without affecting the correctness of the program. Ensuring compatibility and consistency in your object-oriented design. 🧬
I - Interface Segregation Principle 📦🕹
Clients should not be forced to implement interfaces they don't use.
D - Dependency Inversion Principle 🔄🔗
High-level modules should not depend on low-level ones; both should depend on abstractions. Decouple components and promote better scalability and testability.
Source
