I’m working on a new project that requires part of the interface be a tabbed design. There would be links on the left hand side, which when clicked create a new tab on the right hand side. The content of these tabs needs to not change when switching, and ideally be able to update in the background.
So far I have it pretty much doing what I want by using action instead of link-to helpers, and dynamically rendering the template with its view and controller - but I’m not sure if thats the right way to go.
I guess if I stick to that option, then I will need to manually destroy the view and controller when the tab closes (not a big deal), but I’m not sure if I would need to destroy anything else?
The other option I thought of, was to maybe still use routes, but somehow have them render into dynamic outlets somehow? I’m not really sure on that one.
I guess my main issue is: Does this sound like the right way to go about it, or am I missing something obvious that would work better? I just feel that I’m missing out by not using the routing, but then having the URL change doesn’t really make sense for tabs.