Re^2: UP-TO-DATE Comparison of CGI Alternatives
by iaw4 (Monk) on Feb 28, 2017 at 17:34 UTC
|
I had a mojolicious website that was built 2 years ago and was running...and then it no longer ran. I needed to hire an expert to figure out what was wrong. wasn't a big deal for the expert, but not possible to find out for a non-expert. (CGI.pm never broke. I presume plack/psgi don't either. All low-level enough. I presume Dancer, Mojo, and Catalyst need some tending...)
Can I renew my call for a basic question: why Dancer2 over Mojo? why Mojo over Dancer2?
(Incidentally, are any web frameworks planned to work with perl6?)
/iaw
| [reply] |
|
Boring. If not Trolling.
I think it's unlikely that you'll get any useful answer to this question. The chances of anyone being familiar *enough* with both frameworks to say "this one is better" with authority are very slim.
Most people try one or the other, or both, or others, for simple experimenting, get turned on or get turned off, and then stick with one. Only thereafter do they begin to become competent enough to offer any really useful advice. So you'd have to get the apples report from the apple seller and the orange report ...
If you want useful information instead of asking for something no one can tell, ask people to say what they like and don't like about what they use. Then parse the info, make some choices, try some things ... You are asking for someone to save you the work of deciding whether you like scrambled or fried eggs.
And for the love of all things Holy please don't conflate "Perl6" in this discussion. It's a different language and you might as well ask about frameworks in any one of dozens of them: the answer, if there is one, will not be relevant in the slightest.
The way forward always starts with a minimal test.
| [reply] |
|
wasn't trolling at all. on the contrary---I need to figure out what I want to do myself.
yes, you may be quite right that there are too few users of both frameworks to give good comparisons.
basically, you are suggesting that novices flip a coin. it does not seem like a very efficient way to choose between D2 and M, but it is then unavoidable. I am not blaming you (or anyone). on the contrary. (thanks for the advice.) I am just stating what the choice background information is.
PS: in learning one or the other framework, it would be useful to know whether there is a perl6 plan for the long-distant (10-year) future. there is a reason why it is still called perl. a plan here would have been a plus biasing the coin for one or the other framework in my mind. after all, I am starting a new project, so I may as well consider not just stability but future paths, too.
PS Update: http://perl6maven.com/bailador seems to be trying to mimick Dancer.
| [reply] |
|
|
|
|
Re^2: UP-TO-DATE Comparison of CGI Alternatives
by ajmetz82 (Novice) on Jul 17, 2017 at 23:59 UTC
|
| [reply] |
|
| [reply] |
Re^2: UP-TO-DATE Comparison of CGI Alternatives
by sierpinski (Chaplain) on Mar 24, 2017 at 20:17 UTC
|
the Catalyst BOOK is one of the best Perl books you can buy. I think it has great software engineering, Test Driven Design principles.
Which Catalyst book specifically are you referring to?
| [reply] |
|
| [reply] |
|
Thanks Your Mother. I've been wanting to get deeper into Catalyst since I first played around with it a couple years ago, and now I have the chance to make a major project with it at work, so this would be a good resource I'm sure.
| [reply] |
|
|
|
Should be renamed to "Writing Extensible and Scalable Perl-Based Web Applications" because they are far from maintainable ...
| [reply] |
|
|
|
Re^2: UP-TO-DATE Comparison of CGI Alternatives
by Anonymous Monk on Feb 28, 2017 at 01:00 UTC
|
Agree 100%++. I would love to see Mojolicious become the universally and dogmatically recommended Perl web framework. I think it is the best competitor to php that Perl has to offer, much easier to use, learn, start, grow. Why ? Seems like some kind of misunderstanding
php is a language, like perl and Mojolicious is a framework , written in perl The two things aren't competitive with each other The whole of why php gained an edge over perl is because of big web hosts, mod_php under apache... , for faster than cgi, lighter than mod_perl...
With passage of time and the rise of virtualization and things like nginx/fcgi/uwsgi.... the hosts have caught up and what they're selling these days is choice, anything the developer wants he can install
| [reply] |
|
I would say Mojolicious does compete with php in that they both perform the same function and using one mostly precludes using the other. Just like using Mojolicious precludes using the other frameworks. So choices have to be made. I'm just unequivocally saying that Mojolicious is the best. Other opinions are like, well "they all do the same thing" or "well you might try this if situation x". Or, "I was telnetted to a dancer server one time". Yeah, no. I'm saying one is far better than the others.
| [reply] |
|
| [reply] |
|
|
|
|
*facepalm* the best general purpose transport is a racing motorbike it performs the same function
| [reply] |
|