in reply to Re: Handling different requests for a web app in one centralized place.
in thread Handling different requests for a web app in one centralized place.
This is good plan.
Beyond that it reminds me a good bit of building a controller, from the classic Model-View-Controller Pattern. It doesn't look much like a mason controller though because it is bypassing all the normal name and handler based dispatching. Anyhow I was wonder if anyone had adapted the normal mason handling to be more MVC like, and through the glory of google I found that someone had.
Not that I'm suggesting anyone follow the example, merely marveling at it's existance.
In Section Seekers of Perl Wisdom