Bailador vs. Cro

Hi all,

Appart from pure hobbyist pleasure, I use Perl for some personal web 
development. I have (solely) used Mojolicious, really had fun, and 
learned Perl using it. I have been for some time looking for a Perl6 
framework for web development (Perl6 bewitched me), and Bailador looks 
like an attractive Perl6 starting point.

While trying to build an application with Bailador, I came across with 
Cro. While it looked quite complicated at the beginning, after watching  
Jonathan Worthington presentation [1] Cro looks quite versatile, close 
to new Perl6 features and very Promising ("anything can be put behind a 
Promise, but they can also be broken"). This weekend, I have been trying 
to build a simple web application with Cro [2], and it more or less 
worked out (and learned a lot of Perl6).

Before investing more time in this project, I wonder if you have any 
advice or suggestions on Bailador, Cro (or another framework like Hiker 
[3]). Also, I would appreciate if you could point to some working 
examples (like [4]  or [5] ).

Many thanks! 

[1] https://www.youtube.com/watch?v=6CsBDnTUJ3A
[2] https://github.com/mimosinnet/Cro-Personal-Web
[3] https://github.com/tony-o/perl6-hiker
[4] https://github.com/lancew/MyJudo
[5] https://github.com/szabgab/Perl6-Maven

-- 
(≧∇≦) Mimosinnet (Linux User: #463211)
0
mimosinnet
7/9/2018 1:01:34 AM
perl.perl6.users 981 articles. 0 followers. Follow

2 Replies
6 Views

Similar Articles

[PageSpeed] 2

LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQ0KSGFzaDogU0hBMjU2DQoNCkkndmUg
b25seSBkb25lIHNvbWUgdmVyeSBiYXNpYyBzdHVmZiB3aXRoIGJvdGggQ3JvIGFuZCBCYWlsYWRv
ci4gRnJvbQ0Kd2hhdCBJIGNhbiB0ZWxsLCBDcm8gcmVxdWlyZXMgbGVzcyBjb2RlIHRvIGdldCBz
b21ldGhpbmcgZ29pbmcgaW4sIGJ1dA0KQmFpbGFkb3IgaXMgZWFzaWVyIHRvIGdldCBhIHJlZ3Vs
YXIgTVZDIG1vZGVsIHdvcmtpbmcgaW4uDQoNCkhhdmUgeW91IHJlYWQgdGhyb3VnaCB0aGUgQ3Jv
IFNQQSB0dXRvcmlhbD8NCm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JR05BVFVSRS0tLS0t
DQoNCmlRRXpCQUVCQ0FBZEZpRUU0ZUw2NjJVOWlLMlNUMk1xTi9XNkg0NVhPRThGQWx0RFJrWUFD
Z2tRTi9XNkg0NVgNCk9FL3BsUWY5SDRXc2RhWVNuRzQ0SkZVQk1XbFB1UzdSQWpiZVZtWnc3U1Ey
bmo3YnVCbURwUXF0ZXU3WGRCWTcNCjY1OW15WkxHUXVCakM5YzN5ZVFxV3ljZEYzdTlwQXZ5UDlZ
TkxXTmxUR2N3VHYzT0RmdXhvSE5DZytYYmYreksNCjAweEJzYWVieXZVMzI5MDR3N0kvQ1l1ZVFJ
elZHeEdobnV2dEZLbmlzeUlzMnF5L0V6eGxTR05Mazc1eWo0SjANClIwbnRhNVlEL2NINVg2Nnpi
eXZRN2dyZDRqN2ZoL1ZsaGlHWngyejdWRi9tTEp4ZlRQSUhVamZsZ1NqTkRpb0MNClZvVVhBZmkr
K2pQTjZHbk1GcWt2bXRkTVpaTXozOS9IMXc3SGtxb1NGMTV6MndINjFhMndZcndvSnZTQmdjNGMN
CnhWREoxb0lnOHZtdDgwZjdEVGNYem1VTWtTazZwQT09DQo9S1N1WQ0KLS0tLS1FTkQgUEdQIFNJ
R05BVFVSRS0tLS0tDQo=
0
perl6
7/9/2018 11:25:57 AM
Bailador is based on Perl 5's Dancer which is based on Sinatra (Ruby).
(bailador is spanish for dancer)

Cro on the other hand was designed specifically around the features
that are in Perl 6.
This can make things more intuitive for someone proficient in Perl 6.
It might also make it easier to explore the way Perl 6 does things,
for beginners.

On Mon, Jul 9, 2018 at 6:27 AM Patrick Spek via perl6-users
<perl6-users@perl.org> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> I've only done some very basic stuff with both Cro and Bailador. From
> what I can tell, Cro requires less code to get something going in, but
> Bailador is easier to get a regular MVC model working in.
>
> Have you read through the Cro SPA tutorial?
> https://cro.services/docs/intro/spa-with-cro
>
> It details setup for an API with a React+Redux frontend.
>
> On Mon, 9 Jul 2018 03:01:34 +0200
> mimosinnet <mimosinnet@gmail.com> wrote:
>
> > Hi all,
> >
> > Appart from pure hobbyist pleasure, I use Perl for some personal web
> > development. I have (solely) used Mojolicious, really had fun, and
> > learned Perl using it. I have been for some time looking for a Perl6
> > framework for web development (Perl6 bewitched me), and Bailador
> > looks like an attractive Perl6 starting point.
> >
> > While trying to build an application with Bailador, I came across
> > with Cro. While it looked quite complicated at the beginning, after
> > watching Jonathan Worthington presentation [1] Cro looks quite
> > versatile, close to new Perl6 features and very Promising ("anything
> > can be put behind a Promise, but they can also be broken"). This
> > weekend, I have been trying to build a simple web application with
> > Cro [2], and it more or less worked out (and learned a lot of Perl6).
> >
> > Before investing more time in this project, I wonder if you have any
> > advice or suggestions on Bailador, Cro (or another framework like
> > Hiker [3]). Also, I would appreciate if you could point to some
> > working examples (like [4]  or [5] ).
> >
> > Many thanks!
> >
> > [1] https://www.youtube.com/watch?v=6CsBDnTUJ3A
> > [2] https://github.com/mimosinnet/Cro-Personal-Web
> > [3] https://github.com/tony-o/perl6-hiker
> > [4] https://github.com/lancew/MyJudo
> > [5] https://github.com/szabgab/Perl6-Maven
> >
>
> -----BEGIN PGP SIGNATURE-----
>
> iQEzBAEBCAAdFiEE4eL662U9iK2ST2MqN/W6H45XOE8FAltDRkYACgkQN/W6H45X
> OE/plQf9H4WsdaYSnG44JFUBMWlPuS7RAjbeVmZw7SQ2nj7buBmDpQqteu7XdBY7
> 659myZLGQuBjC9c3yeQqWycdF3u9pAvyP9YNLWNlTGcwTv3ODfuxoHNCg+Xbf+zK
> 00xBsaebyvU32904w7I/CYueQIzVGxGhnuvtFKnisyIs2qy/EzxlSGNLk75yj4J0
> R0nta5YD/cH5X66zbyvQ7grd4j7fh/VlhiGZx2z7VF/mLJxfTPIHUjflgSjNDioC
> VoUXAfi++jPN6GnMFqkvmtdMZZMz39/H1w7HkqoSF15z2wH61a2wYrwoJvSBgc4c
> xVDJ1oIg8vmt80f7DTcXzmUMkSk6pA==
> =KSuY
> -----END PGP SIGNATURE-----
0
b2gills
7/9/2018 3:18:47 PM
Reply: