Swift Method

Swift Method

A set of lightweight techniques using agile and Domain Driven Design (DDD) principles that help teams plan enough to start modernizing software systems

Phases

Kickoff Discovery Framing Modernization

Suggested Time

2-4 days if done end-to-end

Participants

Business stakeholders, architects, technical leads, developers


Why do it?

Align business leaders and technical practitioners. Use this approach to break down a system of systems, and develop a notional architectural plan that maps future goals with the way the system “wants to behave.” We’ve found this to be especially important for critical systems modernization. - Inform decisions on how to organize development teams, and prioritize work from both a business and technical perspective. It’s also helpful as a “catch-all” way to define a path between the status quo and the desired state.

When to do it?

Jumpstart application modernization initiatives in an iterative fashion. This is the core method of the App Navigator, which can be a short consulting engagement that quickly reviews current business functionality and plans “to be” architecture. Our experts practice the Swift method to discover architecture, boundaries, points of risk or concern, and then map a direction to move from current state to future state.

What supplies are needed?

  • Sticky arrow flags
  • Whiteboard tape - black, green, red; 2 rolls of each
  • Scissors
  • Scotch tape
  • Dry Erase Surface (3 ft x 2 ft)
  • Super sticky 4x6 multicolor sticky notes, 4 pack

How to Use this Method

Sample Agenda & Prompts

  1. Event Storm the system, using language that business and technical people understand.

  2. Conduct a Boris exercise that models the relationships between capabilities in a system. Conduct a SNAP that documents the technical capabilities identified during Boris in real time.

    SNAP analysis

  3. Identify thin slices of modernization.

    Thin slices are short domain event flows. Vertical slices are identified by choosing short, domain event flows in the core domain and leveraging the services coming out of Boris to produce those events. Think of them as the architectural components required to produce those events. Thin slices are informed by Event Storming, Boris and SNAP activities.

    Tip: A vertical slice touches every layer of the architecture but implements only a sliver of functionality. For example, the vertical slice, “Allow a user to login with a password,” might add username and password fields to a user interface, implement server-side logic, and update the last login field on the database record. Slicing vertically is one of the toughest mind shifts to make for a team new to agile because it requires developers to interact with areas of the app with which they may be less familiar.

  4. Prioritize the thin slices, with an eye to balancing business value, technical risk, and effort. The goal is to incrementally move the system toward behaving “the way it wants to;” the implementation of each successive slice gets us that much closer to this goal.

  5. The thin slices become actionable when captured in the backlog as MVPs (Minimum Viable Products) or collections of stories. In some cases, Pivotal/Tanzu Labs will partner with the customer team to identify and prioritize the thin slices, with an eye to balancing business value, technical risk, and effort.

    Tip: In order to determine the right MVPs for your system you have to consider thin vertical end to end slices where these domains interact with one another. The MVPs map a path from “strangling the monolith” and leveraging tactical patterns to interact with the new domains and services.

  6. As you define the slices, leverage tactical implementation patterns like anti-corruption layer, Facade, Docket Based Choreography, and Strangler so that the newer or strangled services coexist together with the older legacy system

  7. Create a backlog of prioritized user stories tied back to goals (practice coming soon) / OKRs. Map user stories to MVP or releases.

    Tip: User story impact mapping is a technique that can be applied for mapping stories to MVPs and releases. Here’s a blog post that explains how to combine User Story Mapping with DDD.

  8. Start hands-on experimentation, feedback, and iterative progress.

Success/Expected Outcomes

  • Quickly discover current system capabilities, create an aspirational target architecture, identify underlying areas of concern and agree on prioritization
  • Discuss and understand notional solutions, tactical fixes, potential trade-offs, framed in an incremental, measured way
  • Architectural work to validate / invalidate assumptions and help inform solutions / fixes
  • Develop approach to incrementally modernize services
  • Definition of solution(s) with associated business outcomes using an “everything on the table” approach
  • A plan of tactical steps that starts small, scales & enables customer developers and architects to move forward confidently.

Facilitator Notes & Tips

A good facilitator should be able to drive out how a system should be designed based on supporting the business capabilities from a DDD perspective.

This notional architecture now represents a good first cut direction of the system. When used as a tool for modernizing existing systems, Boris reveals the likely target architecture. Other activities in the Swift Method help define how to get from Current State to Modernized.

Swift Method contains many activities, including:

Real World Examples

See the Event Storming and Boris Training Miro board for a detailed description of Boris and the Swift Method of modernization for an Uber Eats-style application

Visual of the Swift Method’s various steps and how they flow into one another