How do I best build a fence that looks like the one in the picture below? I'm mainly thinking about how to attach it to the posts so that they look integrated.
That fence involves a lot of dowels and dowel holes to make it good and durable.
If you are not used to doing it, I recommend a call to a local carpentry.
My wife has demanded a fence around the entire property, and it's a long stretch, and I calculated how many gazillion posts there are to paint. Not fun.
But even worse is painting them the second, third, and fourth time a few years later.......ugh.
You can hang the fence pieces on the posts according to the attached sketch. In each post, there is a (through?). The fence pieces are constructed so that there is an upside-down U that fits precisely over the pipe. You insert the fence piece from the side and then lower it over the pipe stubs. (The sketch of the fence piece is not exactly to the same scale as the post.)
mmm. The neighbor who usually parks their car on the street outside will probably be very happy then...
If you build the fence as NoiseMaker suggests, you can do the painting elsewhere.
Otherwise, you can simply ask the neighbor to move the car on the day you paint, avoid painting if it's windy, and use a tarp as spray protection behind.