Apart from the obvious advantages of shared maintenance and security costs, gated communities are a more pragmatic option from the perspective of basic infrastructure. Unlike in cities, much of the essential infrastructure such as electricity, water or fibre-optic cables is provided by the developer rather than the local government. Ensuring high-quality infrastructure for a standalone plot is typically not financially viable if one is looking outside the town centre.