📜 ⬆️ ⬇️

Case "Designing a web service for booking tickets." Business analysis. Domain Description

In parallel with the description of business processes , context and profiles of stakeholders it is necessary to study the subject area. The main tools here are a glossary of terms (which is better to be made together with a domain expert) and an entity diagram, which depicts what entities are and what relationships between them exist.

Iv. Domain Description


Legislative restrictions

- The viewer must be more than 14 years old (for bargaining).
- An additional user agreement is required, in which the user will need to give consent to the use of his personal data.
- The agreement should also state that the reservation service is provided free of charge.

Glossary

Entity diagram

Do not confuse the entity diagram with the logical data model! It is created at the so-called conceptual level, the attributes of entities are not intentionally indicated at it, and the entities themselves are not the final way to store information in the database, on the contrary, this diagram represents the basis for compiling a logical data model.



Entity attributes will be described during the grocery analysis phase in the data dictionary.
')
Entity State Diagrams

After the main entities are defined, it is necessary to describe their life cycles. In this case, it tells what happens to the ticket and film show, what basic states they pass through. How is the transition from one state to another? Transitions will further become the basis for writing options for using the system (which will appear in the technical phase of analysis and design).

Film Session Life Cycle

Ticket life cycle


Subject Area Business Rules

All that is difficult to express using the described tools, it is desirable to fix in the form of atomic requirements - expressions that reveal what limitations exist in this subject area.

BR-1 - If the reservation was not purchased within 20 minutes. before the session, it is removed.
BR-2 - You can not book a ticket in less than 20 minutes. before the start of the session.
BR-3 - You can not book more than 5 tickets for one or several sessions simultaneously.
BR-4 - You can book tickets only for movie screenings, which will be shown in the next 2 days and approved for display in the Cinema's schedule.

[Contents of a series of articles]

Source: https://habr.com/ru/post/108290/


All Articles