13 Nov 2023



Intermediate

Here are some real-world examples of Ubiquitous Language in different domains:

  1. Finance and Banking Domain:

    • Account: In this domain, an "account" typically refers to a financial record where transactions, such as deposits and withdrawals, are recorded. Everyone involved, whether they're developers, financial analysts, or customers, understands and uses this term consistently.
    • Transaction: It's a widely recognized term representing any movement of money between accounts. This could be a deposit, withdrawal, transfer, etc.
    • Interest: Describes the additional amount paid for borrowing money or the return earned on invested money. It's a fundamental concept in the financial world.
    • Balance: Denotes the amount of money in an account at a specific point in time. It's a term universally understood in financial contexts.
    • Loan: Represents money borrowed with an agreement to repay it along with an additional sum (interest).
  2. Healthcare Domain:

    • Patient: Refers to an individual receiving medical care, ensuring that regardless of who is discussing the topic, everyone knows they're talking about the person under medical attention.
    • Diagnosis: Refers to the identification of a disease or condition by examination or analysis, ensuring a consistent understanding across medical professionals and supporting staff.
    • Prescription: Denotes a written order for medication or treatment by a healthcare professional.
    • Medical Record: Represents a compilation of information about a patient's health, treatment history, diagnoses, etc.
    • Treatment Plan: Outlines the steps to be taken to address a patient's health issues, ensuring clarity in the course of action for all involved.
  3. E-commerce Domain:

    • Cart: Signifies the temporary holding place for items a customer intends to purchase, ensuring everyone involved, from developers to marketers, understands this term uniformly.
    • Checkout: Denotes the process of finalizing a purchase, indicating a crucial stage in the purchasing journey.
    • Product: Represents an item available for sale in an online store, ensuring consistency in discussions about items being sold.
    • Inventory: Signifies the stock of products available for sale, ensuring clarity in discussions related to available stock.
    • Shipping: Indicates the process of delivering purchased items to the customer, ensuring a consistent understanding of the delivery process.
  4. Education Domain:

    • Curriculum: Refers to the set of courses, materials, and educational content taught within a specific program or institution.
    • Grade: Denotes the level of achievement or performance in a course or educational program, usually represented by letters or numbers.
    • Enrollment: Signifies the process of registering or officially joining a course or program.
    • Semester/Term: Represents the academic period within which courses are taught, usually divided into specific durations.
    • Transcript: Indicates an official record of a student's academic performance, containing grades, courses taken, and credits earned.
  5. Real Estate Domain:

    • Property: Refers to land, buildings, or real estate assets available for sale, purchase, or rent.
    • Listing: Denotes a property advertised for sale, rent, or lease in the real estate market.
    • Mortgage: Represents a loan taken to purchase property, usually secured by the property itself.
    • Appraisal: Signifies the estimation of a property's value, conducted by a certified appraiser.
    • Closing: Indicates the final steps in a real estate transaction, where all legal and financial obligations are fulfilled.
domain-driven-design-ddd
ubiquitous-language
examples