A new perspective on functional integration