| >They are also available on github Great. perhaps getting rid of it on CPAN could be nice. > It's not just an "addition" - if there are N frameworks, the caching modules need to be written and maintained for N frameworks I can not agree with that point. You are almost forgetting CPAN here-which is funny coming from you- (The strength of Perl that many languages do not even dream to have)...
The actual modules were context agnostic and
it's not because you have N frameworks that you MUST have N xxx(caching,session) frameworks.
It's just that some framework authors want to reinvent the wheel.no more, no less(in other languages, without an infrastructure like CPAN this can happen more than it ought to, indeed!). so the logic: N web framework = N xxx sub frameworks is just biased.
It has always been possible to not duplicate efforts, avoid bugs with different code trying to solve the same problem. It's just that again, some framework did reinvent the wheel where they should have been using what already works (or help on it). > That's why there's Test::WWW::Mechanize::PSGI exists you are just telling me that there is yet an other way of doing the same thing but in the PSGI environment. All in all, I still don't see what the PSGI spec/protocol and the modules that evolute around bring to the environment.
I don't see why we should have a superset of CGI,which is a language agnostic protocol,that binds with Perl via PSGI.
Really don't get the idea...Is this binding between Perl and the protocol lead to way much better performance?(better than FastCGI?) I've never used mod_perl as it is only useful for Apache but
I knew that using FastCGI could open me many servers and better performance without having to change much and care about even the language. I guess my environment is too far from the
problems you seem to encounter and fix. They are new things where I think, yes, this is going to be good but here, the "pintokita" moment does not arrive at all. I can only hope that DotCloud will offer a simple support for fastCGI (CGI::Fast) with Nginx. By the way, adding some script examples for CGI::PSGI and other related modules would be much appreciated (The doc is too elliptic and assume we know already that much about the PSGI context and Plack system) Thank you for your time and efforts anyhow! |
The SYNOPSIS has the complete working example code that you can run with plackup, or any PSGI compatible web server - there's no much need for detailed docs about the interface since you don't need to change anything, other than actually being documented.
That said, a doc patch is always welcome - on github fork or via RT.
For the last chance, I'd suggest you more links where people explain the benefit of PSGI over CGI, Apache, FastCGI, HTTP::Engine or anything - in case you haven't checked them out. If you still don't get it and think Apache + FastCGI + CGI::Fast is the best thing in the world and you absolutely need nothing else, then I'm sorry, but that's fine.
http://www.perl.org/about/whitepapers/perl-plack.html http://www.simon-cozens.org/content/i-finally-get-psgi-and-p... http://blog.patspam.com/2009/plebgui-webgui-meets-plack