Building military buildings, often called forward buildings, closer to the opponent than to your own Town Center. New units reach the fight sooner and you take ground in the middle of the map.
The risk is that forward buildings are easy to spot and attack, and villagers walking out to build them are exposed. A forward base is common with archer and tower rushes.