A picture is worth a thousand words.
A prototype is worth a thousand lines of code.
Prototypes Are For Two-Way Communication
The key element, and the reason for creating prototypes, is to get two-way communication. A prototype is not just a status update about your design.
A prototype is the start of a conversation.
Prototyping is not only useful for design conversations, it is critical to understanding your requirements. Yes, a prototype will you get feedback about the design-execution of your proposed solution. More importantly, a prototype can help you make sure you’re solving the right market problems.
کتاب جدید مارتین فاولر در زمینه
When we have only one relationship between objects, that is called Association. Aggregation and Composition both are specialized form of Association. Composition is again specialize form of Aggregation.
Association is a relationship where all object have their own lifecycle and there is no owner. Let’s take an example of Teacher and Student. Multiple students can associate with single teacher and single student can associate with multiple teachers but there is no ownership between the objects and both have their own lifecycle. Both can create and delete independently.
Aggregation is a specialize form of Association where all object have their own lifecycle but there is ownership and child object can not belongs to another parent object. Let’s take an example of Department and teacher. A single teacher can not belongs to multiple departments, but if we delete the department teacher object will not destroy. We can think about “has-a” relationship.
Composition is again specialize form of Aggregation and we can call this as a “death” relationship. It is a strong type of Aggregation. Child object dose not have their lifecycle and if parent object deletes all child object will also be deleted. Let’s take again an example of relationship between House and rooms. House can contain multiple rooms there is no independent life of room and any room can not belongs to two different house if we delete the house room will automatically delete. Let’s take another example relationship between Questions and options. Single questions can have multiple options and option can not belong to multiple questions. If we delete questions options will automatically delete.
برادر بوعلی :همه چیزش تمام شد
بوعلی :به تو میگویم محمود که این طور نیست
براد بوعلی: او زمانی بوده است و دیگر نیست
بوعلی :به تو میگویم محمود که جسممان از خاک میزاید و به خاک میرود و جزئی از طن خاک میشود
اما نفس از خاک نیست که خاک شود پس او زنده است، در آغاز زندگی