How to secure cables to a PCB
Zip ties are a good way to provide strain relief for cables attached to a PCB. You lay out a path for the cable on the PCB, and put adequately large holes on either side of this path for the zip tie.

I've done this many times on custom assemblies in which using a connector would have been counterproductive.



Here's one example. It's a board that functions as a "hub" among several different devices in a cramped aerial photography pod. Each device requires a USB connection, a power connection and/or a control connection. The wiring for one of the devices is shown installed. Adjacent zip ties share the same hole.