Nice link. Sort of like Box O’ Truth on a more well-funded scale. Interesting.
Entry is limited to home owners and only guests who are on an approved list. Vehicles (assuming we are still driving them, as in Argentina, not Bosnia) will need a system of ID cards and gate passes that change frequently. In other words, your ‘hood needs to come up with a community defense plan, with a rotating gate guard duty etc.
In this case, the gate guard will stop most casual entry attempts by robbers. In the event of a larger attack, the gate guard force is at least a trip wire, a loud one, so that if the gate is attacked, the community quick reaction force (QRF) can be alerted. They should practice call outs regularly, with a system of audible alarms such as car horns, whistles, etc.
If a force is attacking your gated neighborhood that is so big it will overwhelm your QRF of, say, a dozen men with semi-auto rifles, you are in a Bosnia-type situation, and God help you. Or, the attackers might represent the govt in some form, such as the local police or National Guard coming to inspect food supplies and confiscate “excess” amounts under anti-hording laws.
Obviously, fighting off the National Guard isn't going to work, they will just bring in more firepower. But turning a suburban neighborhood into a single-access gated community with armed guards at the gate, backed up by a community QRF, will work for 90% of cases. Robbers and home invaders are going to pick an easier neighborhood, such as one on a grid of streets and avenues that can't be turned into a gated community.