Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: UP-TO-DATE Comparison of CGI Alternatives

by trippledubs (Deacon)
on Feb 27, 2017 at 17:16 UTC ( [id://1182978]=note: print w/replies, xml ) Need Help??


in reply to UP-TO-DATE Comparison of CGI Alternatives

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.

I’ve used them all and I am firmly in the Mojolicious camp. Now, I will say, the Catalyst BOOK is one of the best Perl books you can buy. I think it has great software engineering, Test Driven Design principles.

Where is the evidence for claiming that Mojolicious is not stable? Or that it is not appropriate for large projects?

I would start by showing off how immaculately Mojolicious is maintained on github, but that may not be objective enough. So maybe that is the first step, building a set of objective criteria. I am so down to help with this project. SO DOWN.

  • Comment on Re: UP-TO-DATE Comparison of CGI Alternatives

Replies are listed 'Best First'.
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

      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.

        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.

Re^2: UP-TO-DATE Comparison of CGI Alternatives
by ajmetz82 (Novice) on Jul 17, 2017 at 23:59 UTC

    I am so down to help with this project. SO DOWN.

    Hello Trippledubs. I saw you were happy to help with this project. Did it begin at all? Has any work been done so far?

    Was it intended that the guide be on PerlMonks, or elsewhere?

      No one has started it. Should it be started, the right place is github, not PM. Github makes it trivial to collaborate and that would be crucial for a project like this.

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?

      The Definitive Guide to Catalyst: Writing Extensible, Scalable and Maintainable Perl-Based Web Applications, ISBN 9781430223658.

        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.
        Should be renamed to "Writing Extensible and Scalable Perl-Based Web Applications" because they are far from maintainable ...
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

      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.

        Not really. Mason or Embperl are much closer matches to PHP.

        *facepalm* the best general purpose transport is a racing motorbike it performs the same function

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1182978]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-23 06:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found