is they easy to mount on a box?
As I said before:
you could design your project and enclosure so that the PCB mount ones are positioned correctly, they have right angle ones also if that works better.
What I mean is that the male header is soldered to a circuit board, this provides the mount. The box has a slot cut out in the shape of the shroud and the circuit board is mounted in the box so that the shroud is correctly aligned with the slot in the box.
There are many other options but I try to use IDC+ribbon cable or dupont for all my cabling needs because they are very standard, cheap, and easy to work with once you have the tools. RJ45 cables are cheap but all the PCB mount jacks I've seen aren't compatible with standard 0.1 inch grid.