In Edwin L Haislet's book, either Boxing or On Boxing, he uses both analogies. At the beginning, when he is speaking about the punching motion in general, he uses the pole through the middle. When he talks about specific punches, the straight right in particular, he uses the slamming door.
Over years of reading and collecting 'how to...' boxing books, his is the best I have found. Especially his descriptions of how to throw each punch.