plainblack.com
Username Password
search
Bookmark and Share

    

PSGI wobjects

User frodwith
Date 8/18/2010 5:46 pm
Views 332
Rating 0    Rate [
|
]
Previous · Next
User Message
frodwith
When I heard Doug's idea for the dispatch() api, I immediately went
"Ah ha! Time for a PSGI wobject!".  So, here's two implementations
(head contains the second one, its parent commit contains the
first).

http://github.com/frodwith/webgui/tree/psgi-wobject

The first was rejected by Doug cause it's a security hole (still
sort of neat, though).  The second one makes for a little more work
per PSGI application, but doesn't let admins execute arbitrary perl
code *halo*.

Questions? Comments? Scathing personal attacks?


Back to Top
Rate [
|
]
 
 
preaction

I like it, the typical use-case being a reusable PSGI app that, with a couple minor incantations, can be tossed around in the asset system like a proper asset.

Or even a single PSGI app with multiple URLs in WebGUI (if it doesn't differentiate itself based on its root URL).

Or even a single PSGI app in WebGUI 7.9 (WebGUI 8 is a Plack app, so you can add PSGI apps in an easier way to 8)



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved