EnlightenedPerlOrganisation / task-kensho

A Glimpse at an Enlightned Perl Distribution
http://search.cpan.org/dist/Task-Kensho
Other
71 stars 23 forks source link

add Web::Simple to WebDev #21

Closed karenetheridge closed 3 years ago

karenetheridge commented 8 years ago

(I vote yes)

ttkciar commented 5 years ago

This seems to occupy the same niche as Dancer2, minus the Moose heaviness.

I'm intrigued, but also unsure. Are there compelling reasons to advocate Web::Simple over Dancer2?

(Going to kick its tires this weekend and hopefully answer my own question)

Grinnz commented 5 years ago

Both of them use Moo actually but what it doesn't do is most of the "framework" part. All it does by default is route and dispatch responses to requests.

Grinnz commented 5 years ago

https://shadow.cat/blog/matt-s-trout/mstpan-1/#web::simple

ttkciar commented 5 years ago

Oops, you're right, just noticed my mistake and popped back here to edit my post, but you're too fast for me.

Web::Simple is an mst production, which is enough to make me give it a thorough going-over. He consistently publishes useful stuff.

ttkciar commented 5 years ago

The question I will investigate is: Is there a compelling reason to use Web::Simple as opposed to that subset of Dancer2 which is functionally equivalent to Web::Simple?

ttkciar commented 5 years ago

Web::Simple has a slightly more powerful dispatch specification interface than Dancer2, and a much smaller mass of module dependencies. Performance seems about the same. Dancer2 of course has a lot more framework'ish features, but that is irrelevant to the proposal.

All in all, a nifty library. It is well documented and easy to use. Kudos to mst.

I support the proposal to add Web::Simple to WebDev.

karenetheridge commented 3 years ago

fixed with #73.