Monday, May 23, 2011

April Meeting - Plack/PSGI Fundamentals

Ben Bixby gave fairly technical talk on a Plack handler/server that he put together for his $work. It started with PSGI/Plack fundamentals then dove down into the details of his custom webserver including C/XS code.

Here are the files from the Plack talk. Comm::Express is a Plack handler he wrote to meet the needs of an application at $work.

Some questions that came up were (and his opinion/answer):

Q: What's the purpose of plack in relation to existing web frameworks.
A: Allow code written for those frameworks to seamlessly run on any number of servers.

Q: Why write applications in Plack directly and not in Catalyst/Dancer/Mojo/Web::Simple.
A: Not really the Right Thing, just how I roll. Made possible by the existence of Plack::Middleware.

Q: Will Comm::Express be released to CPAN.
A: Not planning on it. If you have an application that you think could benefit from it's particular qualities, let me know.

In addition to HTTPParser::MMAP::XS, I also wrote HTTPParser::XS (very poorly named on both counts) that is just the HTTP streaming/http-parser integration without the MMAP stuff which I find quite useful in my day-to-day duties.

Here are the slides and example code

8 comments:

  1. I would also like to know your attitude to data room solutions . is it possible that you will write such an article?

    ReplyDelete
  2. Thanks for sharing a very informative post.
    iklan gratis

    ReplyDelete
  3. Thusly, taking this credit may not be very prescribed. Another unfortunate part of this credit is that the loan fees that are included are excessively high. If also need any tips to visit here auto title loans chicago

    ReplyDelete
  4. Are you bored of your homework? Visit this resource to find da way!

    ReplyDelete
  5. Is there any more room for another pathetic paper presentation or project make? Your weekends should be for you and you only. Why spend it fruitlessly working on a lame project that is not even going to get that much attention? So skip on and bunk this project. At my homework help we will take good care of the aspect that your #homework will be spectacular with Programming homework help.

    ReplyDelete