[Dancer-users] Rebasing an application
Flavio Poletti
polettix at gmail.com
Wed Feb 9 13:36:01 CET 2011
You MUST ask! :-)
It's implemented as a Plack middleware, I'm just following the suggestion
in http://advent.plackperl.org/2009/12/day-23-write-your-own-middleware.html-
section "Namespaces". Of course I put "Dancer" instead of
"MyFramework"
:-)
Cheers,
Flavio.
On Wed, Feb 9, 2011 at 12:56 PM, sawyer x <xsawyerx at gmail.com> wrote:
> Hmm... why Middleware, if I may ask?
>
>
> On Wed, Feb 9, 2011 at 1:37 PM, Flavio Poletti <polettix at gmail.com> wrote:
>
>> Hi,
>>
>> the module to solve my reverse proxy issues is ready and I like the
>> idea of addressing them in one single point.
>>
>> Do you think that naming it Dancer::Middleware::Rebase is a problem? I
>> wouldn't want to invade the namespace if this is considered "precious".
>>
>> Cheers,
>>
>> Flavio.
>>
>>
>> On Wed, Feb 9, 2011 at 9:15 AM, sawyer x <xsawyerx at gmail.com> wrote:
>>
>>> Franck worked on an issue of mounting several Dancer apps under different
>>> paths. Apparently, it's possible to do so with PSGI. Perhaps that will meet
>>> your needs.
>>>
>>> Franck, do you remember what I'm talking about?
>>>
>>> On Wed, Feb 9, 2011 at 3:54 AM, Flavio Poletti <polettix at gmail.com>wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm working on a module for rebasing Dancer applications. In short,
>>>> it manipulates various $env components to make the request appear as coming
>>>> to a different host and path, in order to address various problems that I
>>>> encounter when I deploy the application behind a reverse proxy.
>>>>
>>>> It is implemented as a Plack middleware (inspired by
>>>> Plack::Middleware::ReverseProxy but with a different approach) and I'd like
>>>> some feedback about the module name. My idea is to call it
>>>> Dancer::Middleware::Rebase, following the suggestions in
>>>> http://advent.plackperl.org/2009/12/day-23-write-your-own-middleware.html
>>>>
>>>> Thoughts?
>>>>
>>>> Cheers,
>>>>
>>>> Flavio.
>>>>
>>>> _______________________________________________
>>>> Dancer-users mailing list
>>>> Dancer-users at perldancer.org
>>>> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110209/a1a62a0b/attachment.htm>
More information about the Dancer-users
mailing list