kazuho’s Favorites
Blog: bulknews.typepad.com
YAPC::Asia 2010 is now over. Actually it gets over once you blog it, so if you haven't, blog it now ;) This year i am in...
| Continue »
Blog: bulknews.typepad.com
I started developing cpanminus one night in February when i got stuck with running CPAN.pm on linode VPS, and you may have noticed from its name, it's rather some kind of toy/fun project that's not meant to be serious. I was even considering to put it under Acme:: namespace. But in a few days, it turned out people got really excited and think it's really a great idea. That was my surprise as well as a pleasure. One week later I started implementing more features such as local::lib bootstrap and a plugin system, which is still a developer-only easter egg feature (you need to look at the source code how to enable that :)). Simple and Hackable I know a...
| Continue »
Blog: bulknews.typepad.com
Now we have 4 (or actually more) PSGI standalone web servers. Here's a quick cheat sheet to compare them: HTTP::Server::PSGI - core in Plack. Should work on all systems with perl 5.8.1 or later. No preforking nor keep-alives. Best for the quick development with plackup and testing with Plack::Test. HTTP::Server::Simple::PSGI - only dependent on HTTP::Server::Simple which is absolute core-only and should work back to perl 5.6. Best to write PSGI embedded web server application even without Plack. Starman - High performance preforking web server with HTTP/1.1 and UNIX domain socket support. it's based on Andy Grundma's Catalyst::Engine::HTTP::Prefork, and works exactly like Rack's Unicorn. nginx's best friend. Starlet - HTTP::Server::PSGI + Server::Starter + Parallel::Prefork. Much simpler than Starman and less features,...
| Continue »
Blog: bulknews.typepad.com
Japan has been known as a country where a shiny new technologies such as weird USB gadgets, cellphone TV/wallets or RFID devices are introduced first and adapted in a really early stage. Plack is not an exception. Yesterday at the DeNA's technology seminar two of the biggest social networking sites in Japan, mixi and mobage-town (both articles on TechCrunch) revealed and explained that they are running their OpenSocial providers on Plack, using Starman and Twiggy (*1). Also the mega portal livedoor is experimenting Plack stuff on their popular RSS/Atom feed reader livedoor reader API, combined with Coro, AnyEvent and nginx. I'm pretty sure Kyoto-based blogging and digg-like social news site Hatena also is testing Plack and hopefully we can get...
| Continue »
Blog: bulknews.typepad.com
Short answer if you come from Google: Plack is a toolkit containing middleware, helpers and web server adapters to run PSGI. Plack is NOT a web server but it's rather a "web server interface" which means if you want to run you PSGI application on any web servers, look at Plack to find handlers. The namespace "Plack::Server::*" to implement PSGI web server was abandoned, and they're renamed to their own namespaces (like Starman, Twiggy, Corona, POE::Component::Server::PSGI or HTTP::Server::PSGI) and we now have Plack::Handler::* as thin adapters to connect Plack to those web servers. -- There's always been a confusion on what Plack really is. First, there were people who thinks "Plack is a framework." This is probably because we have...
| Continue »
Blog: bulknews.typepad.com
via www.flickr.com "This is the best-dressed nurse I've ever seen. "
| Continue »