AppStars

TAFE NSW, 2005–2015

BESS: event-sourced course planning and finance for TAFE NSW.

BESS, the TAFE NSW Business and Education Support System, manages finances and human resources to support course planning and financial forecasting. It is used by 16,000 TAFE educational and admin staff, serves 300,000+ students and staff, and integrates with SAP Finance and SAP HR via TIBCO. We were technical lead: we designed its solution architecture, wrote all of its architecture code for event sourcing, eventual consistency and CQRS, and managed and mentored the Unisys team that built it with us.

Client
TAFE NSW and the NSW Department of Education
Industry
Government & education
Services
Web platforms, enterprise integration, technical leadership
Platforms
C# and .NET, HTML5, CSS3, Angular, Microsoft SQL Server, SAP Finance and SAP HR via TIBCO, Active Directory single sign-on, AWS
Our role
Technical lead and solution architect for BESS. We designed the architecture, wrote all the architecture code, led the development, and managed and mentored the Unisys team.

The challenge

TAFE NSW needed a greenfield, state-wide system for course planning and finance: BESS. Head teachers, faculty directors and finance staff shape the same plan over weeks: units, teaching hours, delivery modes, enrolment targets, staffing and costs. The plan feeds budgets, and budgets get audited.

That ruled out a conventional "update the row in place" database. Many people change the same plan and need to see who changed what. Finance needs a complete audit history: not just what a plan says now, but how it got there and what it said on the day a budget was signed off. And reports across faculties and institutes had to render extremely fast, even though each one draws on a great many plans.

It also had to fit a large public-sector estate: SAP, other Department systems and existing TAFE NSW sign-in.

Our approach

We chose two patterns deliberately. Event sourcing keeps every change as a permanent, ordered event, so the history isn't an audit table bolted on afterwards: the history is the data. CQRS (command query responsibility segregation) splits writing from reading, so each report can have a read model shaped for it. Under both sat domain-driven design, so planners, finance and developers shared one unambiguous language.

Event sourcing and CQRS were new to most of the developers, so leading the build meant teaching as much as designing:

  • Workshops with planners. We worked through the planning domain with the people who do the planning, and the words they used became the names of commands, events and read models.
  • Pairing on the first features. The first commands, events and projections were built together, so the Unisys developers learned the pattern in real code, not in a slide deck.
  • Trade-offs in the open. Eventual consistency, schema versioning and the cost of a second data model were discussed openly, so the developers could defend them in reviews.
  • Representing the work outward. We represented TAFE NSW institutes on enterprise architecture to the Department, which kept the integration design aligned with the systems around it.

What we built

Commands that carry intent

Every change starts as a command named for what the planner means, such as changing a unit's delivery hours or submitting a plan for approval. The course plan is the aggregate: it checks each command against the business rules and either refuses it or records what happened.

An append-only event store

Events are facts in the past tense, and they never change once written. Each carries who, when and, where it matters, why. Corrections are new events, not edits, as in any ledger. Optimistic concurrency rejects a change made to an out-of-date plan, so nobody silently overwrites a colleague.

Read models that make reports fast

Projections listen to events and maintain denormalised read models: a plan view with everything the planning screen needs, costs already summed per course, faculty and institute, and hours and enrolment targets against budget. The price is eventual consistency: a read model can lag a write by a moment.

Audit and replay built in

"Who changed the hours on this unit, when, and from what?" is a query over events. "What did this plan look like on the day the budget was approved?" is a replay that stops at that date. A new report can be rebuilt from the full history.

Integration with SAP and the Department

SAP Finance, SAP HR and other Department systems connect through a TIBCO enterprise service bus. They don't see our internal events: we translate domain events into a small set of stable integration events at the boundary, so the model can evolve without breaking the systems around it. People sign in through TAFE NSW Active Directory, and the platform is hosted on AWS. That is how we approach integrations and legacy modernisation today.

Architecture

Write and read sides, joined by an event log.

  1. CommandsPlanners and finance change a plan together
  2. Course plan aggregateChecks the rules and emits events
  3. Event storeAppend-only: a complete audit history
  4. Read modelsDenormalised for fast reports
  5. Service busIntegration events to SAP and Department systems

Every report can be rebuilt by replaying the events.

Results

A true technical craftsman who combines deep engineering expertise with the ability to turn complex challenges into elegant, highly scalable digital solutions. His technical leadership, attention to detail and commitment to quality were instrumental in driving the development of a robust, scalable platform. He brings a rare balance of hands-on technical excellence, architectural vision and pragmatic decision-making. I would highly recommend him to any organisation looking to build exceptional digital products that stand the test of time.

Sue Shelly · Digital Services Manager · TAFE NSW

Under the hood

Event-sourced, so every change is on the record.

Why it matters now

Systems where every change is on the record, with fast reports and people who can look after them, are the work behind our web and SaaS platforms and our technical leadership, where growing the people around the software matters as much as the code.

The pattern also ages well into AI. When AI agents act on business systems, we want the same properties: every action an explicit command, checked by rules, recorded as an event with who and why, and reversible by a later event rather than an edit. We apply that when we connect AI assistants through MCP. In the same period at TAFE NSW we also rebuilt SDOnline, a staff-development system that every institute adopted.

What we'd do now

The core decisions hold up. What we'd insist on today:

  • Treat events as a public contract. History is permanent, so add fields rather than change them, version every event type, and upcast old versions to the current shape as they're read. Projection code should only ever see one shape.
  • Make projections idempotent and resumable. Each projection records its position in the log, so a restart or a full rebuild never double-counts a cost.
  • Publish integration events through an outbox. Writing the event and the outgoing message in one transaction means SAP never hears about a change that didn't happen, and never misses one that did.
  • Snapshot long-lived aggregates. A plan with years of history shouldn't replay every event on each load; a periodic snapshot keeps writes fast without losing the log.
  • Only event-source where history earns it. Plans and money, yes; simple reference lists, no.

Questions

What is BESS?

The TAFE NSW Business and Education Support System. It manages finances and human resources to support course planning and financial forecasting, is used by 16,000 TAFE educational and admin staff, and integrates with SAP Finance and SAP HR via TIBCO.

Why use event sourcing for course planning?

Planning is collaborative and finance needs a complete audit history. Event sourcing keeps every change as a permanent event, so who changed what, and what a plan said on any date, can always be answered.

What does CQRS add?

It separates writes from reads. Each report reads from a denormalised read model that already holds its totals, which is how reports render extremely fast. The trade-off is eventual consistency.

What was our role on BESS?

We were technical lead. We designed the solution architecture, wrote all of the architecture code for event sourcing, eventual consistency and CQRS, led the development, and managed and mentored the Unisys team.

Related

The services behind this work, and more stories like it.

Services

Case studies

Bring us the hard problem.

A 45-minute discovery call with the person who'll design and build it. Clear scope, regular showcases, honest advice, and no handovers to people you've never met.