PlantOps 000 — Setting the Foundations
An update from the PlantOps — From Laravel Developer to Software Engineer case study.
PLANTOPS-000 — Setting the Foundations
I've spent most of my professional development career working with PHP and Laravel. They've served me well, and I'm comfortable solving problems in that ecosystem. But recently I've been asking myself an uncomfortable question: am I becoming a better software engineer, or simply a better Laravel developer?
I want to broaden my skills into C#, .NET, Python and the engineering practices that connect them. The trouble is that jumping between courses and frameworks quickly becomes overwhelming, especially when every tutorial seems to start with yet another to-do application.
So I'm trying something different.
One project, many lessons
PlantOps is going to be a manufacturing workforce and production-efficiency simulator. I'll start with a small C# console program and gradually develop it into a system with a reusable simulation engine, database, API, web interface, Python analytics and, eventually, optimisation and AI-assisted planning.
The point isn't to use as many technologies as possible. It's to have a reason to learn each one — and a real problem that becomes more interesting as my skills improve.
This is also going to be a public development journal. I want to record the decisions, the confusion, the mistakes, the refactors and the bits that finally click, not just publish polished screenshots when something works.
Meet Cambrian Model Works
Rather than simulating a generic factory, I've invented Cambrian Model Works, a small OO-gauge model railway manufacturer in North Wales.
It makes goods wagons, passenger coaches and steam locomotives. Some parts are moulded or fabricated in-house, specialist components are bought in, and the factory handles painting, assembly, inspection and packaging.
It has twelve production employees spread across seven departments, with different qualifications and a limited number of workstations. That gives us some interesting questions:
- Can the factory complete an order with the people and machines available?
- What happens if a painter calls in sick or a spray booth goes down?
- Could someone qualified in another department cover the shortfall?
- Where are the real bottlenecks?
- Can we compare scheduling strategies and make better decisions?
The first test case will be an order for 200 four-wheel goods wagons in five working days. Our provisional production route is preparation, painting, mechanical assembly, quality inspection and packaging — 45 minutes of direct labour per wagon under deliberately simplified assumptions.
I've chosen model trains because the subject interests me, but also because they offer an excellent progression from simple, repetitive products to complex assemblies with specialist skills and equipment.
What 'setup' means at this stage
Before writing code, I'm defining the domain and its boundaries. What is an employee? Is a department the same as a skill? How does a workstation differ from a machine? What does it actually mean for a production order to be complete?
The first iteration will make a few deliberate compromises:
- Workers must have the relevant qualification before they can perform an operation.
- A person and a workstation can each handle only one task at a time.
- Production follows a defined sequence of operations.
- Shifts and breaks matter.
- Running the same scenario twice must produce the same result.
- Inventory replenishment, paint curing, rework and more sophisticated scheduling will come later.
That last point matters. I'm trying to build a useful learning project, not drown in an imaginary factory's entire ERP system before I've written my first C# class.
The journey ahead
I've divided PlantOps into stages. The first part covers C# fundamentals, console applications, domain modelling, algorithms and automated testing. From there I'll add PostgreSQL and Entity Framework Core, build an ASP.NET Core API, create a Vue/TypeScript frontend and explore Blazor.
Once there's real simulation data to work with, Python and FastAPI will handle analytics. Later stages will introduce mathematical optimisation, evaluated machine-learning models and an AI assistant that can explain proposed production plans. Finally I'll tackle deployment, CI/CD, observability and the challenges of running the whole thing reliably.
Crucially, the simulation engine should not depend on how someone interacts with it. The console, API and frontend should all be clients of the same underlying domain logic. That's one of the architectural principles I want to understand properly, rather than merely copy from a tutorial.
How I'll know I'm learning
Each milestone will have something tangible to show: a working feature, a set of tests, a documented design decision or a comparison of two approaches. I'll also ask myself whether I can explain what I've built without hiding behind a framework or an AI-generated answer.
I'll use AI tools as tutors and reviewers, but the objective is to understand the decisions and be able to defend them myself.
At the time of writing, this is still the planning and domain-definition stage. I haven't finished the C# application, database or API. Those are the chapters still to come.
The first milestone
The immediate next task is PLANTOPS-002: Implementing the core domain in C#. I'll take the factory concepts I've described and turn them into types, relationships and enforceable rules, then write tests around them.
I'm particularly interested in getting to grips with C# records versus classes, its type system, collections and the differences from PHP. More importantly, I want to learn why one design makes sense over another.
If this study works, the end result won't just be PlantOps. It will be a trail of evidence showing how I've grown from being comfortable in a framework to being comfortable thinking about software engineering itself.
You Might Also Like
Building Reactive Forms with Livewire 4: A Complete Guide
Learn how to create dynamic, reactive forms using Livewire 4 that feel responsive and modern without writing a single line of JavaScript.
Advanced Laravel Query Optimization: From N+1 to Perfection
Master the art of writing efficient Laravel queries. Learn about eager loading, query optimization, and how to debug N+1 problems like a pro.
Mastering Livewire 4 Loading States: Creating Smooth User Experiences
Discover how to use wire:loading to create intuitive loading states that make your Livewire components feel buttery smooth and responsive.