ageing in place

How can we create homes and neighbourhoods which allow people to remain embedded in their community until the very end of their lives?