Web frameworks should handle input (routing, request fields, url query) and output (templates). That's it.