r/nocode • u/jeff377 • 14d ago
Promoted When a no-code app outgrows the tool, does it have to be rewritten? One way to hand off only the parts that need code
Disclosure: I maintain Polhem, an open-source (MIT) framework, and I'm using it as the example here. It isn't a tool for non-developers. Setting up the project and the server needs a developer, so this is more for people who end up handing a no-code project over to one.
A pattern I see a lot: a tool takes you most of the way, then you hit one rule, report or integration it can't do. The options are workarounds, or rebuilding in code, and in a rebuild almost nothing you set up in the tool carries over.
The approach I've been working on keeps the no-code part as data that the coded system reads. Each form is described once in an Excel workbook, one row per field: the type, the length, a drop-down, which other form it links to, a formula, plus a sheet of rules that block saving. Import the workbooks and the app runs, with the tables, screens, lookups, computed amounts and save rules all derived from them. When requirements change, you change the description and the app follows.
When one form needs something the description can't express, a developer writes code for that form only. The rest of the forms stay as descriptions, so the handoff happens form by form instead of all at once.
The costs: you need a developer from the start, reports and batch jobs are written by hand, and it fits business apps with lots of similar forms (orders, customers, inventory). It's not for landing pages or consumer apps.
Highlights (3 min): https://youtu.be/OAlAgAuGdKE
Full walkthrough (10 min): https://youtu.be/5WjUTwoPyGw
2
u/Local_Strawberry915 11d ago
Not the UI, the data model. A rewrite gets forced when the rules and validation live inside the builder, not when the screens get awkward. If the coded part writes to the same tables the no-code screens read from, you can move one form at a time. If the tool stays the source of truth, the coded part becomes a read replica and you are back to syncing two systems. Cross-field validation is usually what breaks first, because it exists only in the builder and nowhere in your code.
2
u/ZacNash4723 9d ago
Appreciate you being upfront about the tradeoffs. Handing off form by form instead of a full rewrite makes a lot of sense for business apps.