Skip to content
Dylan Kentish

WorkRenishaw CDS

A plug-in manager for an application that had to serve more than one machine.

My university synoptic project, inside Cross-Divisional Software. The division was building a measurement application as a core with plug-ins, so one application could serve more than one kind of machine. With Francis, another apprentice, I built the plug-in manager: the part that lets a user choose which functions the application shows.

Metrology equipment, in a product photograph. It is not the plug-in manager.

Problem

The application showed every user the same set of functions. The team wanted each user to see only what their job needed. That was planned work nobody had started.

What I did

Before the project I worked in the team on the framework itself, on separating the points where different kinds of plug-in attach. The synoptic project started in October 2020 and ran into the spring of 2021. We began with a prototype to show a plug-in could be loaded and unloaded while the application ran. Then we gathered requirements from the people who owned the product, and built the manager and its interface in C# and WPF.

This was in Cross-Divisional Software. The application and the framework under it were the team’s. The plug-in manager was a two-person project. Francis, another apprentice, and I planned it, built it and reviewed each other’s work, often pairing. We co-founded Built Labs in December 2020, while we were building it, and he later wrote the contracts for Hashcrash. When I left the placement I knew it as unreleased.

Constraints

It had to live inside a framework that a larger team was changing every day, and keeping up with their changes took a lot of time. The requirements took longer to agree than planned, which left less time for design.

Decisions

  • Prove the risky part first, with a prototype that loaded and unloaded a plug-in while the application ran.
  • When time ran short, cut the integration with the first application down to demonstration plug-ins, and say so, rather than pass off half-finished work as production code.
  • Test our own code hard. Unit tests covered 84% of the plug-in manager.

Result

The plug-in manager was finished inside the project deadline and handed to the framework team before they needed it, with 84% unit-test coverage. The integration with the first application was for demonstration only. When I left the placement I knew it as unreleased.

Sources

  • Degree report, 2021

    My synoptic project report for the degree, written in spring 2021, is the source for this page. Francis and I built the project together. The report is not public.

Reflection

I squeezed the design into one week to make up lost time, and missed things such as undo and redo. Most of the rework later came from that week.

Technical notes

C# and WPF, in Visual Studio. Git and Azure DevOps for the repository and the board. Sprints with a demo and a retrospective after each, and a lot of pair programming.

Skills

C#, WPF, MVVM, Plug-in architecture, xUnit, Azure DevOps

Related