tag#http

2013

Embeddable and Context-Aware Web Pages on May 7, 2013
In my symfony website applications I frequently make multiple subrequests to reuse content from other controllers. For simple, non-dynamic content this is trivial, but when arguments can change data or when the browser may want to update those subrequests things start to get complicated. Usually it requires tying the logic of the subrequest controller in the main request controller (e.g. knowing that the q argument needs to be passed to the template, and then making sure the template passes it in the subrequest).