Some communities are investing in new infrastructure and designs not only to protect residents but improve quality of life.