ContentsClose contents
Available
Chapter 1 · The Problem and the PeopleCHAPTER 01

Working towards: Plan ready (Chapter 5). A product brief, written requirements, web vocabulary, a checked Python setup, and a proposed architecture. Django is not installed yet. All milestones

CHAPTER ONE

The Problem and the People

Stage 1: Requirements and first project (Chapters 1 to 8)

Prerequisites: none; this is where the book begins

What you’ll build: a short brief covering Otahque’s problem, its people, the desired outcome, and the first-version scope.

Why This Matters

Before writing code, we need to know whose problem it should solve. A community event looks simple until Sam is reconciling a form, a spreadsheet, and a chat thread to answer one question: who is actually coming?

That question is the reason Otahque exists, and this chapter stays with it before any technology appears. We meet the people who will use the application and what each of them needs; we decide what the first version must do and what it can safely leave for later; and we write the first business requirements in plain language, so that every later chapter can be checked against them.

By the end of the chapter, you will be able to:

  • explain the registration problem behind Otahque;
  • describe its people, their tasks, and the limits of their access;
  • say what the first version includes and what it defers;
  • write a business requirement in plain language.

You will produce a short brief covering the problem, people, desired outcome, and first-version scope.

PAGE 001

What You Need to Know

A place at the workshop

Before we write our first line of Django code, let us meet the people our application will help.

Imagine you are Sam, organizing a small Python workshop. There are twenty places. You publish the details on a community page and share a registration form. Whenever someone fills it in, a new row appears in a spreadsheet.

At first, this seems sufficient. The event page explains the workshop, the form collects responses, and the spreadsheet gives you a list of names.

Then three messages arrive.

“I submitted the form twice. Did you receive it?” asks Sai.

“I cannot make it on Saturday,” Raj tells a volunteer.

“Is there still a place for me?” asks Soni.

Each person has a reasonable question. To answer correctly, you need to know what the registrations look like now, after duplicates and cancellations have been taken into account.

That everyday difficulty is where Otahque begins.

Three tools and one missing answer

The event page, form, and spreadsheet each do a useful job. The difficulty is that a change in one place does not always reach the others.

Sai’s second submission adds another row, but it does not represent another person. Raj’s message changes his plans, but the spreadsheet will not know about it until someone updates it.

Before replying to Soni, you must bring those pieces together.

Three boxes linked by arrows: the event page answers what is happening, the registration form records who submitted, and the spreadsheet is meant to show who is attending. Below them: someone must keep these records consistent.
Figure 1.1 — Separate tools leave someone responsible for keeping the records in agreement.

Suppose the spreadsheet has twenty rows. Two belong to Sai, and one belongs to Raj. If every other row represents a different person who is still attending, there are eighteen attendees, not twenty.

The calculation is simple. The challenge is having the right information when you need it.

Pause and think: if Raj tells only a volunteer, what must happen before you can give Soni an accurate answer?

One change with a clear result

Now imagine that Raj opens his registration and selects Cancel. The application records that change. When the organizer next opens the attendee list, Raj is no longer counted among the people attending.

Raj also sees that his registration is cancelled. Both people can understand the result without exchanging another message.

An attendee who registers or cancels sends one change to Otahque’s current registrations; the organizer sees the current list. The attendee gets a confirmation and the organizer gets an updated record.
Figure 1.2 — Otahque connects an attendee’s action to the registration record the organizer uses.

This is the starting idea for Otahque: a community application where people can find events, register, and manage their participation, while organizers work from an up-to-date record.

The diagram shows the behaviour we want. It does not yet describe servers, databases, or how the code works. We will introduce those ideas when we need them.

We will keep the first version deliberately small. Step 1 in How We Build It decides exactly what it includes.

New Concept: requirement

What problem exists? People describe what they want as solutions: “a spreadsheet”, “a button”, “an app”. Built literally, those solutions may not solve the real problem.

What did people do before? Teams often built the requested feature literally, without first checking which outcome the person needed.

What is a requirement? An outcome or behaviour the product must support, stated so that others can check it. A business requirement names an outcome the organization needs; a functional requirement names something the product must do.

Why start here? A requirement keeps the reason for a feature visible, so that a different, better solution can still meet it.

Now let’s describe the need behind Otahque.

Describe the need before the solution

We can express the problem in two sentences:

Organizers need to know who is registered for their events. Attendees need to know whether they have a place and how to change their plans.

A statement like this helps us decide what the application should do. For example, confirmation is useful because it answers Sai’s question. Cancellation is useful because it lets Raj update his participation.

When we describe an outcome that the product must support, we call it a requirement. For now, ordinary sentences are enough:

  • A visitor can read the details of a published event.
  • A person who registers can see whether it succeeded.
  • An organizer can see the current attendee list.
  • A registered attendee can cancel and see the updated result.

As the application grows, we will organize these requirements in a document and connect them to the features we build.

Notice what we have left undecided. We have not chosen a database, designed every screen, or explained registration rules in detail. We still need to decide when registration closes and what should happen if two people request the last place together.

Those questions will guide later lessons. Recording a question is useful progress, even before we know its answer.

In practice: finding the record behind an answer

Situation. A community organizer is asked whether a cancellation mentioned in a chat has reached the event list.

Application. Map where the request arrived, who updates the record, and where an attendee checks the result. This reveals the handoff a future application must support.

Consideration. A new screen cannot resolve an unclear responsibility. Agree which record represents the current state before designing the screen.

Try it yourself

Think of an event you have organized or attended. Choose a moment when someone was unsure what to do.

Write two sentences explaining who was affected and what made their task difficult. Describe the experience before suggesting a feature.

For example: “The event location changed. I could not tell whether my confirmation had the correct address.”

Questions and answers

Que. 1 In our workshop example, why did twenty spreadsheet rows represent only eighteen attendees?

Flip to check your answerFold answer back

Answer. One row was Sai’s duplicate, and one belonged to Raj, who had cancelled. Removing those two entries leaves eighteen attendees.

Que. 2 After Raj cancels, what should Raj see? What should the organizer see?

Flip to check your answerFold answer back

Answer. Raj should see that his registration is cancelled. The organizer should see an updated attendee list that no longer counts Raj as attending.

Que. 3 Which describes a need: “Use a blue button” or “Let attendees check whether they are registered”?

Flip to check your answerFold answer back

Answer. Letting attendees check their registration describes a need. Button colour is a design choice; it does not explain what the person needs to accomplish.

Que. 4 What would a strong answer to the exercise include?

Flip to check your answerFold answer back

Answer. It names the person affected and the moment of difficulty, then says what they could not tell or do. For example: “Two attendees received different start times. Neither could tell which message was correct.” It describes the experience, not a feature such as a reminder button.

Next: meet Otahque’s users and explore their responsibilities.

Meet the people

An application can keep its records perfectly and still make life difficult for the people using it. Before choosing screens or writing code, we need to understand what each person is trying to do.

Return to our Python workshop. Soni has heard about it from a friend. She wants to know where it is, when it starts, and whether beginners are welcome. She has not registered yet. At this point, she is a visitor: someone exploring a published event.

Sai has already registered. She wants to check that she has a place. Raj has registered too, but his plans have changed. He needs to cancel his own registration. Both are attendees, although the actions they need are different.

Sam is organizing the workshop. He needs to publish accurate details and see the current attendee list. If the venue changes, he must be able to update the event information.

These descriptions give us three starting roles: visitor, attendee, and organizer. A role describes the part someone plays in a particular situation. It helps us explain what they need to see and what they should be allowed to change.

Start with the task

Instead of asking only “Who uses Otahque?”, ask “What has this person come here to do?” Sai is not looking for a dashboard full of numbers. She wants a clear answer to a small question: am I registered?

New Concept: role and permission

What problem exists? The same person can organize one event and attend another, so “Sam is an organizer” is not a safe basis for deciding what he may do.

What did people do before? Many systems gave each person one fixed label, which granted too much access in one situation and too little in another.

What are roles and permissions? A role is the part someone plays in a particular situation: visitor, attendee, or organizer. A permission says whether a person may perform a particular action, here on a particular event.

Why separate them? So that the question is always “may this person do this action on this event?”, which later chapters can enforce and test.

Now let’s see Sam in two roles.

One person can play different roles

Sam organizes the Python workshop, but he also wants to attend a photography walk run by another organizer. He is an organizer in the first event and an attendee in the second.

This matters because responsibility has a boundary. Organizing one event should not automatically let Sam edit every event in the community.

Two cards for the same person, Sam. In the Python workshop he is the organizer and can update event details and view the attendee list. In the photography walk he is an attendee and can view and cancel only his own registration.
Figure 1.3 — A person’s role can change from one event to another.

We do not need to decide how to store these roles yet. We first need to agree on the behaviour. Later, when we design the data and write Django code, this example will help us judge whether the implementation matches the intended rules.

For now, write the boundary in ordinary language: an organizer may manage the events they are responsible for. An attendee may manage their own participation.

Separate a need from permission

A need tells us what someone wants to accomplish. A permission tells us whether they are allowed to perform a particular action. The two are connected, but they answer different questions.

Raj needs to change his plans. Giving him permission to cancel his own registration supports that need. Giving him permission to cancel Sai’s registration does not.

Likewise, Soni needs to understand the workshop before joining. She should be able to read its published details. That does not mean she needs access to the attendee list or other people’s contact information.

Make the boundary visible

If Raj opens a registration page on a shared computer, how will the application know that the registration belongs to him?

Later, we will introduce signing in and ownership checks. For now, the rule is enough: opening a page must not automatically grant permission to change its records.

What about volunteers?

Raj tells a volunteer that he cannot attend. Helping at the venue does not automatically make that volunteer an organizer inside Otahque.

Our first version will not have a separate volunteer role. Volunteers can pass questions to the organizer. If check-in later requires access to attendee records, we will define its limits first.

In practice: handing an event to another organizer

Situation. An organizer is unavailable, and another person is asked to help prepare the event.

Application. Use the role-and-task discussion to identify the work that needs a handover and the information needed for that work.

Consideration. An informal request to help does not itself grant application access. Who can assign responsibility remains a product decision.

Try it yourself

Imagine that Sam is preparing the workshop while Soni is deciding whether to attend. Write one sentence for each person: what do they need to accomplish, and what information would help?

Then add one action each person should not be allowed to perform. Use a specific example rather than saying “they should have limited access”.

Questions and answers

Que. 5 Can Sam be both an organizer and an attendee?

Flip to check your answerFold answer back

Answer. Yes. He can organize the Python workshop and attend the photography walk. His responsibilities depend on the event.

Que. 6 Raj needs to cancel. Should he be able to change Sai’s registration too?

Flip to check your answerFold answer back

Answer. No. His need concerns his own participation. He should be able to cancel his registration without gaining control over someone else’s.

Que. 7 Does helping at the venue automatically give a volunteer organizer access?

Flip to check your answerFold answer back

Answer. No. A real-world responsibility does not automatically grant access in the application. We must first define which tasks require access and to which records.

Que. 8 What could your sentences for Sam and Soni say?

Flip to check your answerFold answer back

Answer. Sam needs to publish accurate workshop details and see who is currently registered; he should not be able to edit another organizer’s photography walk. Soni needs the date, place, and level of the workshop to decide whether to attend; she should not be able to see who else has registered.

We now have a starting set of people, tasks, and boundaries. Keep these examples nearby: they will help us explain requirements, design screens, and test the behaviour we build.

Next: decide what the first version of Otahque should include.

PAGE 002

How We Build It

Starting point: the problem and the people from What You Need to Know. Work on paper or in a text file; there is no code. The three steps produce the first-version scope, a short business requirements document, and a brief you could hand to a new contributor.

The Custom Way: start with the screens

A common way to begin is to sketch screens: an event page, a registration form, an organizer dashboard. Screens are concrete and satisfying, but they hide the decisions that matter. They do not say what happens when an event is full, who may see the attendee list, or what “registered” means once someone cancels. The steps below start from the outcome and the journeys instead, and leave the screens until the requirements say what they must show.

Step 1: Choose the first version

Sam now has a list of ideas for Otahque. People could register for workshops, pay for tickets, join waiting lists, receive reminders, and download certificates. Every idea has a possible use. Building all of them together would make it difficult to finish a working application or understand each part.

We need a boundary around our first version. This boundary is called scope: the work we agree to include, together with the work we deliberately leave for later.

Our starting scope is one community running free events, with people registering individually. The first version should let an organizer publish an event and manage its details, while visitors can read about it and attendees can register, check their status, and cancel.

Finish a useful journey

Imagine that Soni reads the workshop details and chooses to attend. Her registration succeeds, she sees a confirmation, and Sam sees her on the attendee list. Later, Soni cancels and both views reflect the change.

That is a complete journey through the problem we introduced. A page with an attractive Register button would not be enough if the registration disappeared when the page was refreshed.

We will build this journey gradually across the book, checking each addition as we go.

Under the Hood: a registration is a record with a state

Behind every answer to “who is coming?” sits one record per registration, and each record is in exactly one state at a time: registered, or cancelled, with a request that found no place leaving no registration at all. Actions move a record from one state to another; nothing else does. Figure 1.4 draws those changes. Later chapters store these records in a database and check every change on the server, but the states and the allowed changes are decided here, in plain language.

Follow the registration through its changes

Before listing more features, follow a single registration. The figure shows the outcomes our first version must explain to an attendee.

A request for a place either becomes Registered or, if the event is full or registration has closed, No place confirmed with a clear reason. A registered attendee can cancel, which changes the registration to Cancelled and updates the attendee list.
Figure 1.4 — A request must produce a clear outcome. Cancellation changes an existing registration.

A request is not the same as a confirmed place. If the event is full or registration has closed, the attendee needs an explanation. The organizer’s list must contain only the people currently registered.

The figure describes behaviour, not database tables. We will decide how to represent these outcomes when we design the data.

Choose what belongs in the first version

Include work that is necessary to complete the journey. Visitors need published event details. Attendees need a way to identify themselves and manage their own registrations. Organizers need control over their events and a current attendee list.

We also need rules: one active registration per person for an event, a limit on available places, and a closing point for registration. These rules prevent the confusion that brought us to Otahque.

Prefer to include payments and waiting lists now?

Paid events and waiting lists are real needs for some communities, and including them would make the first version feel more complete. They also bring their own rules, failures, and responsibilities. We leave them out of the first version, write them down as deferred, and design so that adding them later does not mean undoing what we build now.

Leave room for later

Paid tickets can wait because our first events are free. Team registration can wait because each person registers individually. Certificates, recommendations, and a separate volunteer check-in screen can wait because they are not needed to reserve and manage a place.

We will also postpone waiting lists and email reminders. When an event is full, the first version can say so clearly. Confirmation will be visible in the application; email delivery can be added as a later improvement.

Write down the questions that remain

What happens when two people request the last place? Can someone register again after cancelling? When does cancellation close? These questions affect included features, so they need answers before we implement those behaviours.

We will settle the rules explicitly rather than letting accidental code behaviour decide them. For now, separating an open question from a deferred feature helps us plan the next step.

In practice: planning a small first release

Situation. A team can build either a polished event catalogue or a simpler journey that also lets attendees confirm and cancel their places.

Application. Compare both options against the original uncertainty about registrations. Select a complete useful journey before adding convenience features.

Consideration. A smaller release still needs its essential rules. Leaving out duplicate handling is different from deferring certificates.

Try it yourself

Sam asks for two additions: prevent duplicate registrations and provide downloadable certificates. Which belongs in our first version? Explain your choice using the workshop problem.

Questions and answers

Que. 9 Why should duplicate prevention come before certificates?

Flip to check your answerFold answer back

Answer. Duplicate registrations make the attendee count unreliable, which is part of our original problem. Certificates are useful later, but people can complete the registration journey without them.

Que. 10 Is a successful form submission enough to confirm a place?

Flip to check your answerFold answer back

Answer. No. The application must accept and record the registration under the event’s rules. It must then show the attendee a clear result and update the organizer’s list.

Que. 11 Does postponing a waiting list mean we can ignore a full event?

Flip to check your answerFold answer back

Answer. No. A full event still needs a clear response. We can refuse new registrations with an explanation before adding a waiting-list feature.

Que. 12 Is the last available place a later feature?

Flip to check your answerFold answer back

Answer. No. It is a case within the capacity rule we already included. We must decide how it behaves before building that part of registration.

Next: describe our business requirements in plain language.

Step 2: Write the business requirements

Sam wants less confusion before a workshop. Sai wants to know whether she has a place. Raj wants his cancellation to reach the organizer. These needs give Otahque a reason to exist. Our next task is to write them clearly enough that another person can understand what we are trying to achieve.

A business requirement describes an outcome an organization needs. Here, “business” means the work of running the community; it does not imply that the events must make money.

For Otahque, one outcome is straightforward: organizers need a reliable picture of who is currently registered so they can plan an event without reconciling several separate records.

Keep the purpose in view

Compare that outcome with “add a Cancel button”. The button may help Raj, but its presence alone does not prove that the problem is solved. If clicking it leaves him on Sam’s attendee list, the confusion remains.

The outcome helps us judge the feature. We need Raj’s changed plans to be reflected in the record Sam uses. The words on the button, the page layout, and the code will support that purpose.

Writing requirements is therefore part of learning to build software. It gives us a reason for the work and a way to notice when a working screen still fails the people using it.

Connect the outcome to observable behaviour

Requirements become easier to understand when we connect them to an example. Follow Raj’s cancellation through the three levels below.

Three stacked levels. Business outcome: organizers can rely on the current attendee list. Product behaviour: an attendee can cancel their own registration and the list updates. Evidence in our example: Raj sees Cancelled and Sam’s list no longer counts him.
Figure 1.5 — The outcome explains why; the behaviour and example make it concrete.

The middle level describes something the product must do. We call this a functional requirement. The final level gives us an observable example we can later turn into a check.

One example does not prove the whole application is correct. It gives us a starting point. We will add cases such as repeated requests and actions attempted by the wrong person as we define the detailed rules.

Our first business requirements document

A business requirements document, or BRD, records the problem, people, desired outcomes, and scope. Here is our first working draft.

Problem and people

Event details, registrations, and cancellations are spread across separate tools and messages. Organizers must reconcile them manually. Attendees cannot always tell whether their registration or cancellation has been recorded.

Desired outcomes

Organizers can use one current registration record when planning an event. Attendees can establish whether they have a place and manage their participation without relying on a separate message to a volunteer.

Scope and boundaries

The first version serves one community running free events. It supports individual registration, visible confirmation, cancellation, and an organizer’s current attendee list. Paid tickets, team bookings, waiting lists, and certificates are deferred.

Assumptions and open questions

We assume that the difficulty in our workshop example is common; we have not yet gathered evidence. Chapter 2 explains how. Open questions include closing times, registering again after cancellation, and competing requests for the last place.

Common Error: a solution written as a requirement

“Send the organizer a spreadsheet every evening” is a solution, not a requirement. The requirement behind it is that the organizer can rely on the current attendee list. Written as the solution, it rules out better answers and gives nobody a way to check whether the real need is met.

Make a requirement useful

“The system should be easy” is too vague to guide a decision. Ask what difficulty the person faces and what result would help. For Sai, the useful statement is that she can see whether her registration succeeded.

Avoid inventing a target such as “reduce organizer work by 80 per cent”. We have not measured the current work. If we later set a time-saving target, we will first define what to measure and collect a starting value.

In practice: explaining a feature request

Situation. Someone proposes a dashboard because organizers spend time answering registration questions.

Application. Write down the outcome first: organizers and attendees can establish the current registration status. Review whether a proposed feature actually supports that outcome.

Consideration. The dashboard is one possible solution. A claim that it saves time needs observation and a defined measurement, not just agreement that it looks useful.

Try it yourself

Write one business outcome for the workshop, then one product behaviour that supports it. Finally, describe what Sam or an attendee would observe when that behaviour works.

Questions and answers

Que. 13 Is “use a blue Cancel button” a business requirement?

Flip to check your answerFold answer back

Answer. No. It is a design choice. The business outcome concerns reliable participation records; cancellation is one behaviour that supports it.

Que. 14 Why record what we are leaving for later?

Flip to check your answerFold answer back

Answer. It makes the boundary explicit. A useful idea, such as certificates, should not silently become part of the first version.

Que. 15 Do we need codes such as BR-1 to understand the requirements?

Flip to check your answerFold answer back

Answer. No. Clear sentences come first. Later, short identifiers can help us refer to an agreed requirement from designs, code tasks, and tests. The identifier is a label, not an explanation.

Que. 16 What could your three sentences say?

Flip to check your answerFold answer back

Answer. Outcome: Sam can plan the workshop from a list he trusts. Behaviour: an attendee can cancel their own registration, and the list updates. Observation: after Raj cancels, he sees “Cancelled”, and Sam’s list no longer counts him.

Next: put the chapter together and check your readiness.

Step 3: Put it together

Bring your scope and business requirements together in one brief. Keep unresolved policies visible so a new contributor can distinguish a chosen boundary from a question for Chapter 2.

In practice: briefing a new contributor

Situation. A developer joins after the first planning conversations and needs to understand what the team intends to build.

Application. Give them the problem, people, first-release boundary, and open questions together. Ask them to explain the registration journey back to the team.

Consideration. Treat unanswered policy questions as visible follow-up work. A tidy summary does not make those decisions settled.

A final workshop exercise

Sam opens registration for a free workshop with twenty places. Sai submits twice. Raj cancels. Soni then asks whether a place is available.

Write a short brief covering the problem, people, desired outcome, and first-version scope. Add one question to resolve before implementation.

Questions and answers

Que. 17 What would a useful problem statement say?

Flip to check your answerFold answer back

Answer. Separate messages and duplicate submissions make the current attendee count difficult to trust. Attendees also need a clear record of whether they have a place.

Que. 18 What outcome should guide the first version?

Flip to check your answerFold answer back

Answer. Sam can rely on the current attendee list, while each attendee can check and manage their own participation.

Que. 19 Which question remains open?

Flip to check your answerFold answer back

Answer. One example is how to handle two people requesting the last place. The rule must prevent the confirmed attendee count from exceeding the event’s capacity.

Que. 20 Are we ready to design database tables?

Flip to check your answerFold answer back

Answer. We have enough context to discuss the product, but we still need its detailed rules. Those rules will guide the data we store and the checks we implement.

When something goes wrong

Revise a copy of your brief and keep the first version beside it. Table 1.1 lists the problems a first brief most often has, and how to repair each one.

Table 1.1 — Brief problems and how to repair them
Problem Check Recovery
A requirement names a tool or a screen Does it say what the person needs to achieve? Rewrite it as the outcome, and keep the original for comparison.
A role is treated as a fixed label Could the same person play another role at another event? State the permission as an action on a particular event.
A deferred idea has slipped into the first version Can the registration journey finish without it? Move it to the deferred list, with its reason.
An open question was answered by guessing Is there a source for the answer? Put it back among the questions for Chapter 2.
PAGE 003

Verify Your Work

There is no code in this chapter. Check your brief against Table 1.2 instead.

Table 1.2 — Verification checklist for Chapter 1
Check What to look at Expected result
The problem The first paragraph of your brief Separate tools leave nobody sure who is attending
The people Your list of people and needs Visitor, attendee, and organizer, each with a need in their own words
Roles and permissions Your notes on Sam One person, different roles on different events
First-version scope Your included and deferred lists One community, free individual registration; later work written down
Business requirements Your requirements Outcomes others can check, not solutions
Open questions Your list of what is not yet decided Questions written down for Chapter 2

If a requirement names a tool or a screen, rewrite it as the outcome that tool was meant to serve.

PAGE 004

Checkpoint: Quiz and Challenge

Quiz

Que. 21 What is the one question Otahque must be able to answer reliably?

Flip to check your answerFold answer back

Answer. Who is attending each event, from one current registration record that the attendee’s actions update.

Que. 22 Sam organizes one event and attends another. What changes between them?

Flip to check your answerFold answer back

Answer. His role, and so his permissions: he may update the event he organizes, but only his own registration for the event he attends.

Que. 23 Name one thing the first version includes and one thing it defers.

Flip to check your answerFold answer back

Answer. It includes free individual registration for one community; it defers, for example, payments and waiting lists.

Que. 24 Is “send me a spreadsheet every evening” a business requirement?

Flip to check your answerFold answer back

Answer. No. It is a proposed solution. The requirement behind it is that the organizer can rely on the current attendee list.

Que. 25 What makes a requirement checkable?

Flip to check your answerFold answer back

Answer. An observable result, such as Raj seeing “Cancelled” and Sam’s list no longer counting him.

Mini-Challenge

Review the brief you wrote in Step 3. Underline its business outcome, circle one scope boundary, and mark one open question. Revise one sentence that names a feature without explaining the need it serves. Keep the original beside the revised version so you can explain the change.

Que. 26 What would a useful review and revision show?

Flip to check your answerFold answer back

Answer. The outcome might be that organizers can rely on the current registration list; the boundary is one community with free individual registration; an open question is the cancellation deadline. Replace “send a spreadsheet” with the outcome that the organizer needs current registrations for planning. The revision should clarify the need without silently deciding the open policy.

What We Learned

  • Otahque exists to give one current answer to “who is attending?”, replacing separate tools that must be reconciled by hand.
  • People have needs and play roles; a role depends on the situation, and permissions follow from the role on a particular event.
  • The first version is small but complete: one community and free individual registration, with later work written down.
  • A business requirement states an outcome; functional requirements and examples make it observable.
  • Open questions are recorded, not guessed; Chapter 2 turns them into product rules.

Key terms

Use Table 1.3 to check the words this chapter introduced. Chapter 2 builds on each of them.

Table 1.3 — Key terms from Chapter 1
Term Meaning in this book
Role The part someone plays in a particular situation: visitor, attendee, or organizer.
Need What a person wants to accomplish.
Permission Whether a person is allowed to perform a particular action.
Requirement An outcome or behaviour the product must support.
Scope The work we agree to include, together with the work we deliberately leave for later.
Business requirement An outcome an organization needs, such as a reliable picture of who is registered.
Functional requirement Something the product must do, such as letting an attendee cancel.
BRD Business requirements document: the problem, people, desired outcomes, and scope.
Acceptance criteria Clear conditions that describe when a behaviour is correct. Chapter 2 develops them.

Readiness checkpoint: explain Otahque’s purpose, users, scope, and one desired outcome in your own words.

Git Commit

There is nothing to commit yet. The project and its repository begin in Chapters 6 and 8. Keep your brief: Chapter 2 builds on it.

PAGE 005

Test Your Knowledge: Interview Questions

These five questions rehearse the chapter at interview level, one at each of five levels from junior to lead. L1 and L2 check what you have just learned. L3 asks how it works underneath. L4 and L5 ask about the design and leadership decisions that later chapters build on: attempt them now, and return to them when you reach those chapters. Use the readiness checkpoint to decide whether to continue. If an answer is difficult, revisit its worked example and explain the result in your own words. L4 and L5 are extension questions, not a gate to the next chapter.

L1 (Junior): What problem does Otahque solve, and for whom?

What the interviewer is testing: Can you state a product’s problem in terms of people and outcomes before naming any technology?

Flip to check your answerFold answer back

Perfect answer: Community organizers such as Sam run events with separate tools: an event page, a registration form, and a spreadsheet. Each holds its own version of who is coming, so someone must keep them in agreement by hand, and attendees such as Sai cannot be sure that their place is confirmed. Otahque keeps one current registration record. When an attendee registers or cancels, that record changes, the attendee sees a clear result, and the organizer sees the current list. The value is a reliable answer to “who is attending?”, not a website as such.

Table 1.4 — Separate tools compared with one current record
Question Separate tools One current record
Who is attending? Whoever last reconciled the copies The record, always current
Did my registration work? Unclear until someone replies A clear result at once
Who updates the list? The organizer, by hand The attendee’s own action
Where can it go wrong? Every copy and every hand-off One place, checked on the server

Behind the scenes:

09:00  Sai submits the form          -> form tool: 1 row
09:05  Sam copies rows to the sheet  -> sheet: Sai listed
09:30  Raj cancels by email          -> sheet: not updated
10:00  Sam plans from the sheet      -> counts Raj by mistake

Evidence: Figures 1.1 and 1.2.

Common mistakes:

  • Starting with the technology (“it is a Django application”).
  • Listing features without the people who need them.
  • Claiming results, such as higher attendance, that nobody has measured.

Follow-up the interviewer might ask:

  • “Who else is affected besides attendees and organizers?”
  • “How would you know that the product is solving the problem?”

L2 (Mid-Level): What is the difference between a role and a permission, and why does Otahque keep them separate?

What the interviewer is testing: Do you see that what a person may do depends on the situation, not only on who they are?

Flip to check your answerFold answer back
Five numbered steps from top to bottom: a person signs in; they act on one particular event; their role on that event is found; the role decides the permitted actions; the server allows or refuses this action.
Figure 1.6 — From a person to a permitted action on one event.

Perfect answer: A role is the part someone plays in a particular situation: visitor, attendee, or organizer. A permission says whether a person may perform a particular action. Roles depend on the event: Sam organizes the Python workshop but attends the photography walk, so he may update one event and not the other. If permissions were attached to the person (“Sam is an organizer”), he could edit an event he only attends. The question Otahque asks is always: may this person perform this action on this event?

Behind the scenes:

Sam + Python workshop   -> organizer -> may update the event
Sam + Photography walk  -> attendee  -> may cancel his place
# the permission depends on the pair, not on Sam alone

Evidence: Figure 1.3.

Common mistakes:

  • Treating a role as a fixed property of an account.
  • Assuming organizers may do everything everywhere.
  • Treating a hidden button as an enforced permission.

Follow-up the interviewer might ask:

  • “Where would you record which events a person organizes?”
  • “What should an attendee see when they try an organizer’s action?”

L3 (Senior): How do you separate business requirements from functional requirements, and why does it matter?

What the interviewer is testing: Can you keep the outcome an organization needs apart from the behaviour that supports it?

Flip to check your answerFold answer back
Five numbered steps from top to bottom: start from the outcome the organization needs; list the behaviours that support it; give each behaviour an example anyone can observe; check that every feature serves an outcome; keep the open questions visible.
Figure 1.7 — From an outcome to observable behaviour.

Perfect answer: A business requirement is an outcome the organization needs, such as organizers being able to rely on the current attendee list. A functional requirement is something the product must do to support it, such as letting an attendee cancel their own registration and updating the list. Keeping them apart lets you judge solutions: several behaviours may serve one outcome, and a feature that serves no outcome is a candidate for removal. It also gives evidence a place. Figure 1.5 links the outcome to the behaviour and to an example anyone can observe: Raj sees “Cancelled”, and Sam’s list no longer counts him.

Behind the scenes:

business:    organizers can rely on the current attendee list
functional:  an attendee can cancel their own registration;
             the list updates
example:     Raj sees "Cancelled"; Sam's list no longer
             counts him

Evidence: Figure 1.5 and the business requirements in Step 2.

Common mistakes:

  • Writing a solution as a requirement (“send me a spreadsheet every evening”).
  • Stating outcomes nobody can check.
  • Stopping at business requirements, so that developers must guess the behaviour.

Follow-up the interviewer might ask:

  • “Give a feature that would serve none of Otahque’s outcomes.”
  • “How would you check that a business requirement has been met?”

L4 (Staff): You are asked to plan the first version. How do you decide what is in scope and what waits?

What the interviewer is testing: Can you limit a release by outcomes and journeys, and record what you leave out?

Flip to check your answerFold answer back
Five numbered steps from top to bottom: start from the outcomes; find the smallest set of journeys that reach them; include what those journeys cannot work without; write down what waits and why; agree the list and when to revisit it.
Figure 1.8 — Deciding the scope of a first version.

Perfect answer: Start from the outcomes and the smallest set of journeys that achieves them: a visitor finds a published event, an attendee registers or cancels and sees a clear result, and an organizer sees the current list. Include what those journeys cannot work without, such as accounts, capacity, and a closing time. Defer what is valuable but not needed to reach the outcome, and write the deferred list down with reasons, so that it is a decision rather than an omission. Agree the list with the people affected, and say what evidence would bring an item forward.

Behind the scenes:

included:  published events, registering, cancelling,
           the current list, accounts, capacity, closing time
deferred:  payments, waiting lists, several communities
           (each with a reason and a revisit condition)

Evidence: the first-version scope in Step 1 and Figure 1.4.

Common mistakes:

  • Treating scope as a wish list.
  • Leaving deferred work unwritten.
  • Including something because it is easy to build rather than because a journey needs it.

Follow-up the interviewer might ask:

  • “A sponsor wants payments in the first release. How do you respond?”
  • “What would make you bring a deferred item forward?”

L5 (Lead): Two stakeholders disagree about what the first version must do. How do you lead the team to a decision?

What the interviewer is testing: Can you turn a disagreement into a decision that is reasoned, owned, and recorded?

Flip to check your answerFold answer back
Five numbered steps from top to bottom: write each position as the need it serves; look for one behaviour that meets both; if they truly conflict, name who decides; agree the criteria; record the decision and tell both people why.
Figure 1.9 — Turning a disagreement into a recorded decision.

Perfect answer: Bring both positions back to the shared outcomes. Write each one as the need it serves and the outcome it supports, and check whether one behaviour can meet both. Often it can: an organizer’s need for a current list and an attendee’s need for a clear result are two views of the same record. When the positions truly conflict, name who decides, agree the criteria (who is affected, the risk, and the cost of waiting), and record the decision with the option not chosen and the point at which you will revisit it. Tell both stakeholders what was decided and why.

Behind the scenes:

Sam:     "the first version needs a waiting list"
         need: fill every place  -> outcome: full events
Sponsor: "the first version must ship this month"
         need: start learning    -> outcome: a usable release
decision: ship without; record the waiting list as deferred,
          revisit if events regularly fill

Evidence: the deferred list and open questions in Steps 1 and 3; Chapter 5 introduces decision records.

Common mistakes:

  • Deciding by seniority or by whoever argues loudest.
  • Splitting the difference into a feature neither person needs.
  • Deciding without recording why, so the argument returns.

Follow-up the interviewer might ask:

  • “How do you carry out a decision you disagreed with?”
  • “When is a disagreement worth a written decision record?”

Next: Chapter 2 turns these needs into product requirements, user stories, and acceptance criteria.

PAGE 006