[KyOSS Discuss] Has anyone ever played with WSGI/PSGI?

Barton Chittenden bartonski at gmail.com
Wed Jul 10 01:30:37 EDT 2013


I downloaded dancer this morning, and I've been reading up on PSGI and
Plack. I've never been much of a web guy, so I've done a lot of backing out
and googling around for context.


On Mon, Jul 8, 2013 at 3:08 AM, Mike Dupont
<jamesmikedupont at googlemail.com>wrote:

> Yes I have used them. I would suggest perl dancer, ruby sinatra and
> python flask for getting started.
> mike
>
> On 7/7/13, Barton Chittenden <bartonski at gmail.com> wrote:
> > Ok... little bit of background:
> >
> > I've been trying to transition from Firefox and Chrome, and one of the
> > things that has been holding me back has been the relatively large number
> > of firefox plugins, which were heretofore unavailable under Chrome.
> >
> > The situation with plugins has shifted fairly dramatically, but there's
> one
> > plugin left that I'm having a hard time replacing -- a plugin called
> "It's
> > all Text", which adds an 'edit' button to text boxes in the browser,
> > allowing the contents to be opened in the text editor of your choice.
> >
> > The challenge is that Chrome's security model doesn't allow it to launch
> > programs. This is a good thing, but what to do?
> >
> > There's a Chrome plugin called "Edit with Emacs" which gets around this
> by
> > running Emacs as a server, then allowing a connection between the plugin
> > and the already running server... unfortunately, I'm a vim guy, so that
> > didn't help me much per-se... but the plugin does allow for connections
> to
> > other "Edit servers", one of which is 'editserver.psgi', found at
> > https://gist.github.com/frodwith/367752
> >
> > I was a bit surprised to find a perl script, and even more surprised to
> > find that there's an entire "Web Server Gateway Interface" standard that
> I
> > wasn't aware of... editserver.psgi is meant to be run on a 'Plack
> Server',
> > where Plack is "a Perl module and toolkit that contains PSGI middleware,
> > helpers and adapters to web servers."
> >
> > PSGI is perl's implementation of WSGI (Web Server Gateway Interface),
> which
> > was written in Python.
> >
> > Essentially, WSGI is a framework for building lightweight web services...
> >
> > This is a technology which had completely passed me by... I was slightly
> > familiar with XML based web services, but this seems to be a different
> > animal; as far as I can see, Plack, WSGI and Rack seem to use HTML
> instead
> > of XML.
> >
> > See
> >
> > Plack/PSGI (Perl)
> > http://en.wikipedia.org/wiki/Plack_(software)
> > http://en.wikipedia.org/wiki/PSGI
> > http://plackperl.org/
> >
> > WSGI (Python)
> > http://en.wikipedia.org/wiki/Python_Paste
> > http://en.wikipedia.org/wiki/Web_Server_Gateway_Interface
> >
> > Rack (Ruby)
> > http://en.wikipedia.org/wiki/Rack_(web_server_interface)
> > http://rack.rubyforge.org/doc/SPEC.html
> >
>
>
> --
> James Michael DuPont
> Member of Free Libre Open Source Software Kosova http://flossk.org
> Saving wikipedia(tm) articles from deletion
> http://SpeedyDeletion.wikia.com
> Contributor FOSM, the CC-BY-SA map of the world http://fosm.org
> Mozilla Rep https://reps.mozilla.org/u/h4ck3rm1k3
> Free Software Foundation Europe Fellow http://fsfe.org/support/?h4ck3rm1k3
> _______________________________________________
> KyOSS-Discuss mailing list
> KyOSS-Discuss at kyoss.org
> Subscribe by sending email to kyoss-discuss-subscribe at kyoss.org
> Unsubscribe by sending email (from the address you wish to unsubscribe) to
> kyoss-discuss-unsubscribe at kyoss.org
> Difficulty unsubscribing? Check your email headers for originally-to
> address in case you are forwarding your mail.
> More options at http://kyoss.org/cgi-bin/mailman/listinfo/kyoss-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kyoss.org/pipermail/kyoss-discuss/attachments/20130710/6218903a/attachment.html>


More information about the KyOSS-Discuss mailing list