Hi, I have wrote some code with Perl and Dancer, they work fine. Now I want to take a deep look at this framework. I searched but have no luck for finding a special book about Dancer. Have you known anyone? Thanks. -- B. Regards, Ken Peng - ken@cloud-china.org
On 09/10/2015 04:11 AM, Ken Peng wrote:
Hi,
I have wrote some code with Perl and Dancer, they work fine. Now I want to take a deep look at this framework. I searched but have no luck for finding a special book about Dancer. Have you known anyone? Thanks.
Hello Ken, as far as I know there is no book about Dancer yet. There is a lot of other resources online though. Regards Racke -- Perl and Dancer Development Visit our Perl::Dancer conference 2015. More information on https://www.perl.dance.
On 2015-09-10 02:28 AM, Stefan Hornburg (Racke) wrote:
as far as I know there is no book about Dancer yet.
There is a lot of other resources online though.
Indeed. There are, amongst others things, the various Advent Calendars: http://advent.perldancer.org/2014 As well as the core documentation itself, of course. `/.
Ken> I have wrote some code with Perl and Dancer, they work fine. Now Ken> I want to take a deep look at this framework. I searched but Ken> have no luck for finding a special book about Dancer. Have you Ken> known anyone? Thanks. If you can post your example app, that would be the start of a book! Share what you have if you can so we can all learn. This fall I expect to get back into Dancer more... hard to be motivated in the summer months, better being outside.
Hi, I was once a sinatra user. When we made the cloud project (yes currently everything is a cloud) I decided to write the backend API with Perl since I think it has better integration to systems, so Dancer was chosen. Currently our cloud DNS/Mysql backend are powered by Dancer. Most docs could be found here though they are in non-english, http://docs.yyclouds.com Since we use RESTful API for backend, can you tell me how to let Dancer generate the standard RESTful interface automatically? Thx. On 2015/9/10 星期四 23:25, John Stoffel wrote:
Ken> I have wrote some code with Perl and Dancer, they work fine. Now Ken> I want to take a deep look at this framework. I searched but Ken> have no luck for finding a special book about Dancer. Have you Ken> known anyone? Thanks.
If you can post your example app, that would be the start of a book! Share what you have if you can so we can all learn. This fall I expect to get back into Dancer more... hard to be motivated in the summer months, better being outside. _______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
-- B. Regards, Ken Peng - ken@cloud-china.org
On 2015-09-10 08:56 PM, Ken Peng wrote:
Since we use RESTful API for backend, can you tell me how to let Dancer generate the standard RESTful interface automatically?
For what it's worth, I'm working on a Swagger plugin for D1 which will auto-degenerate a swagger doc off the application routes and stuff. It'll try to remember to cc this mailing list when a first version is ready. Joy, `/anick
Very interested in the swagger plugin! z Sent from my HTC ----- Reply message ----- From: "Yanick Champoux" <yanick@babyl.dyndns.org> To: "Perl Dancer users mailing list" <dancer-users@dancer.pm> Subject: [dancer-users] dancer book? Date: Fri, Sep 11, 2015 02:51 On 2015-09-10 08:56 PM, Ken Peng wrote:
Since we use RESTful API for backend, can you tell me how to let Dancer generate the standard RESTful interface automatically?
For what it's worth, I'm working on a Swagger plugin for D1 which will auto-degenerate a swagger doc off the application routes and stuff. It'll try to remember to cc this mailing list when a first version is ready. Joy, `/anick _______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
Hi! 2015-09-11 3:56 GMT+03:00 Ken Peng <ken@cloud-china.org>:
Since we use RESTful API for backend, can you tell me how to let Dancer generate the standard RESTful interface automatically?
I recently discovered a pretty new module WebAPI::DBIC https://metacpan.org/pod/WebAPI::DBIC You can easily build PSGI app with it which is capable on the fly to render your DBIx::Class Schema into fully RESTful/Hypermedia API. It glues together 3 wonderful modules (Plack, Path::Router and Web::Machine, not to mention DBIx::Class) and the result is worth looking. I am really impressed. I think it is worth looking if anyone needs to build a new API. To use it as a part of your Dancer2 app should not be a big deal. Wbr, -- Kõike hääd, Gunnar
I have a number of chapters of a future Dancer book here: http://perlmaven.com/dancer regards Gabor
On 2015-09-11 06:40 AM, WK wrote:
I recently discovered a pretty new module WebAPI::DBIC https://metacpan.org/pod/WebAPI::DBIC
WebAPI::DBIC is indeed awesome. And just for giggles and comparative studies, I came up with a prototype of something very close using Dancer a few weeks before Tim released that piece of niftiness: http://techblog.babyl.ca/entry/waack Joy, `/anick
On 09/10/2015 04:11 AM, Ken Peng wrote:
Hi,
I have wrote some code with Perl and Dancer, they work fine. Now I want to take a deep look at this framework. I searched but have no luck for finding a special book about Dancer. Have you known anyone? Thanks.
I don't think it makes sense, as the book will be obsoleted at the moment it is published.
participants (8)
-
Alex Mestiashvili -
Gabor Szabo -
John Stoffel -
Ken Peng -
Stefan Hornburg (Racke) -
WK -
Yanick Champoux -
Zahir Lalani