Re: Perl: Why you no modern web framework?
by davido (Cardinal) on Jun 22, 2013 at 21:52 UTC
|
Why you no modern web framework?
So the real question comes down to this: why isn't there a Perl CMS platform like Drupal?
Because nobody has written a Content Management System like Drupal for Perl yet, possibly because Drupal already exists, and it's more work to re-write it in Perl than to learn enough PHP to tinker with it. I know that's not great for Perl enthusiasts. However, to say that Perl has no content management systems isn't correct either:
- Galileo -- A simple modern CMS built on Mojolicious.
- CatalystX::CMS -- A "drop-in content management system" for Catalyst.
Those are just a couple that I know of. I imagine that there's room for improvement with both of those. I know that Galileo is under active development. I wouldn't be surprised if collaboration is encouraged.
| [reply] |
Re: Perl: Why you no modern web framework?
by aaron_baugher (Curate) on Jun 22, 2013 at 20:20 UTC
|
Your question title says "web framework," but it appears you're really looking for a CMS. There are Perl CMSs, if that's what you're looking for.
It may be because Perl programmers want more lower-level control. I've used Drupal, Wordpress, and other CMSs, and I always get frustrated when I can't get them to do what I want (or more often, not do what I don't want) without digging through lots of files of code. If you're a programmer, rather than a user, and you want to do more than just publish content and tweak its style, you get more control by starting with a framework like Dancer or Catalyst and just creating what you need on top of that.
Aaron B.
Available for small or large Perl jobs; see my home node.
| [reply] |
Re: Perl: Why you no modern web framework?
by derby (Abbot) on Jun 22, 2013 at 20:43 UTC
|
| [reply] |
|
So sad ... no love for webgui. What is it? How is it different than "Django"?
The "Django" wikipedia page looks maintained, while the WebGUI one doesn't
The only "comparison" I could find favors Django http://vschart.com/compare/django-cms/vs/webgui
So Django seems to have a slight marketing edge I guess
| [reply] |
|
Well, that and webgui is written in Perl where as Django is written in Python. What's with the Django fixation anyway?
We care about Perl here, so webgui seems to have a slight interest edge I guess.
| [reply] |
|
Re: Perl: Why you no modern web framework?
by space_monk (Chaplain) on Jun 23, 2013 at 06:28 UTC
|
I love the idea of Drupal. It just works out of the box.
I would love to know which box he opened, it sure as hell wasn't the one labelled "Drupal"
If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)
| [reply] |
Re: Perl: Why you no modern web framework?
by blue_cowdawg (Monsignor) on Jun 24, 2013 at 13:00 UTC
|
I love the idea of Drupal. It just works out of the box.
Really? That wasn't my experience at all. I tinkered with Drupal for about a week and not even the examples given on the Drupal web site worked without a lot of tinkering. Then I went to actually deploy it to a web server and had to tinker more. Asking on the Drupal forums for pointers on how to integrate Drupal with Apache failed to give me a straight answer. In the end I just gave up on Drupal. I have several Perl based frameworks that I work with and more in Java. Don't need another one.
Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg
| [reply] |
Re: Perl: Why you no modern web framework?
by Ralesk (Pilgrim) on Jun 26, 2013 at 12:44 UTC
|
The whole confusion about frameworks and CMSes and whatnot aside, I’ve been wondering about something similar, just about forum software.
Why are all the forum engines written in (ancient-ish) PHP? Or if not, they’re in ASP. Every other language, including Perl, but also Python and Ruby (which are slightly more known for their webbiness) have none that are worth the bother really. It’s a bit disappointing. (As is the PHP ones’ insistence for using MySQL, but that’s a rant for another day.)
Update: It seems there’s some confusion about things and people think I don’t know that PerlMonks runs on Perl.
When I’m talking about forums, I’m thinking about things like YaBB (that was Perl, later became yabbSE and then SMF), phpBB, vBulletin, and the likes. For this class of bulletin boards, LanX’s example below about Perl-community.de is a good one. PerlMonks, yCombinator, SlashDot and so on have a very different way of working with, probably partly because of the threading, but probably for other reasons that I can’t really put my finger on. There’s also StackOverflow that one could call a forum, but, not sure...
I had googled and wikipediad (that’s a word now) and looked at things that those searches resulted in, and I saw some seriously wonky-looking, long-not-maintained things. I’ve seen SMF from the inside, it’s not pretty — yet for that genre of forums it’s one of the best out there and there seems to be no challenger out there that could serve any of the other three languages.
| [reply] |
|
The German Perl-community.de board (like perlmonks) runs on Perl and IIRC it was released on github.
Cheers Rolf
( addicted to the Perl Programming Language)
| [reply] |
Re: Perl: Why you no modern web framework?
by perlfan (Vicar) on Jun 26, 2013 at 14:55 UTC
|
CMS != Framework. Perl has modern web frameworks.
My obversvations are: 1) PHP owns CMS and Forum software; 2) Ruby owns Sysadmin/Project Management type software; 3) Python owns..idk, I think it's losing its mojo (web framework pun intended), honestly.
There are CMSes, Forums, and Project Management software written in Perl, but the others seem to more enthusiastically supported by the maintainers and communities they engender. This is also known as "why you no good blog, cms, forum software?" | [reply] |
|
Thank you all. These are (mostly) intelligent answers!
I probably should have specified CMS instead of framework. I was kind of looking at them as being hand-in-hand because _every_ framework has a purpose of handling _some_ type of content. Being extensible and flexible makes it a framework in my opinion. But I do see the distinction between, say, Catalyst and Galileo.
However. I stand by my assessment. With both Drupal and Wordpress they do "just work" out of the box for the most part. As long as the host has PHP5 and MySQL it'll load right up. I've deployed 4 installations this month with Drupal and 2 with Wordpress and had no goofiness to deal with.
Under Perl systems I've had to manually install modules for hours just to get "Hello, World!" on the bloody screen. It shouldn't be that way.
Under Drupal 8 there's even a feature to install your modules via the interface. Paste the link and it does the job for you. Have had it fail on me once.
The bottom line is that I personally think the success of the Perl language rests upon the ability to provide an entry into the blogging, forum, cms, social world currently occupied almost entirely by php.
I like the idea of PHP but essentially it does the same thing as Mason et al by letting you jump back and forth between PHP and HTML code.
As best I can figure, the core of Drupal is very straightforward. The way they put it together isn't bad either.
But I think it could be faster, a tad more stable, and for us Perl guys, more customizable.
Just my 2 cents.
And yes, I might go write one.
| [reply] |
|
'Under Perl systems I've had to manually install modules for hours just to get "Hello, World!" on the bloody screen. It shouldn't be that way.'
It isn't that way, and it's potentially misleading to others who don't know better to claim otherwise. first steps even has a video tutorial for those who are completley new to this.
If by 'I've had to manually install modules for hours just to get "Hello, World!" on the bloody screen' you actually mean it took you more than an hour to get a "hello world!" perl generated web page then I'd have to question why it took so long.
| [reply] |
Re: Perl: Why you no modern web framework?
by bitingduck (Chaplain) on Jul 30, 2013 at 04:39 UTC
|
Running Catalyst under FCGI is a b*** on shared hosting!
Not really a Perl issue so much as a customized site issue--if you're trying to do much more than what the hosting provider gives you as part of the package, shared hosting can be a big pain. If you're using Catalyst you're probably pushing beyond what most shared hosts support effectively. Virtual servers have gotten fairly inexpensive and you can get one where you have complete control over the configuration (right down to which BSD or Linux distro) that makes it much easier to manage something where you're doing anything special. You can be pretty sure with a VPS that nobody but you is going to upgrade some module to a new version and break all your stuff. You can also set up the server (Apache, Nginx, or whatever) to deal with requests how you want so you don't get the overhead of starting a whole new process for every hit. It sounds like a little more work on the front end, but it's less work than trying to squeeze what you want into someone elses non-optimized, inflexible setup, when you can probably find plenty of reliable recipes on how to set up something that really does what you need. | [reply] |
Re: Perl: Why you no modern web framework?
by sundialsvc4 (Abbot) on Jun 22, 2013 at 22:44 UTC
|
Go write one. :-D Every good system in CPAN (or PHP, or Python ...) started with someone’s good idea.
But here is what you are very likely to encounter when you go down “the Drupal road” ... plug-in hell. I’ve been there, as likely have you. The software, good and well-built though it is, has a very narrow view of what “content” is, and a very limited capability to devise true “business rules” concerning it. Very soon, your “exceptions,” as defined by those plug-ins and callouts, have become the rules.
Perl offers a number of very good frameworks by which any sort of web-application (front and back end) can be constructed in less time than you would do without their assistance. So, full-disclosure, does PHP, so it really isn’t the fault of the language. But these Perl frameworks are generally building-blocks. Systems like Drupal make it look easy, and in so doing, tend to yield much more fragile production systems.
You definitely do have a customer-expectations problem, and I would suggest trying to deal with it diplomatically but firmly. The more times any piece of source-code is changed, the weaker it becomes.
I’m afraid that you are wearing some rose-colored glasses with regards to Drupal ... no software system, regardless of implementation language, is really that way. And you are also encountering the realities of “shared hosting.”
| [reply] |
|
Please note that, for several hours, the above node contained just this:
Go write one. :-D
Now, presumably in response to this original unhelpful reply being downvoted,
sundialsvc4 subsequently heavily edited it, adding
five new paragraphs, but without indicating he had done so.
This is a violation of long-standing Perl monks
posting etiquette,
as indicated at the Perl Monks FAQ (How do I change/delete my post? and How do I post a question effectively?):
Mark the changed/new content with the word "Update."
Is this a new sundialsvc4 tactic,
to go with previously seen tactics (touched on at Re^2: Maximum down-votes per monk/day and Maximum down-votes per monk/day) namely:
- Not providing code to prove his pet theories.
- Ignoring posts that demonstrate flaws in his technical advice.
- Re-posting the same flawed technical advice over and over, even after it has been shown to be flawed.
- Repeatedly posting the same home-spun wisdoms to questions to which they barely relate.
- Repeatedly opening new discussions on banning anonymous monk and downvotes
- ... while repeatedly claiming he does not mind being downvoted!
- Making unfounded accusations that he is being downvoted by sock-puppet accounts and bots (e.g. here, here, here).
- Not following up on bugs he claims to experience with this site, in particular being repeatedly logged out.
- Posting at length on topics on which he has limited experience or expertise.
- Replying to the wrong post, thus losing context.
- Decorating posts with extravagant typography, stylistic devices, flowery analogies, and unnecessary quotes.
Update: After being criticized for never posting code,
sundialsvc4 appears to be experimenting with a new tactic,
namely posting
extemporaneous code (again again again again again),
pseudocode,
and untested code
and a quasi-Perl sketch with C++ comments.
Update: Wow, on Jun 23 2015, sundialsvc4
actually posted some working code!
And still responding to the wrong post
I see (and again and again and again and again
and again and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again
and again).
And replying with lots of words but little real content.
Update 2017: And, though I thought it impossible, the annoying typography seems to be getting worse: Re: Anonymous Monk comment(s) on questions.
Update: And ignores corrections, re-posting the same guff over and over. For example "Swiss Army knife" - see Re^2: Why did you become a Perl expert (or programmer)?.
Update 2018: Hmmm, looks like sundial has gone incognito:
Experience points over time.
Re: Lots of votes with nowhere to go :-) indicates he had around 13,000 experience points as at May 4 2013.
Re^10: RAM: It isn't free . . . indicates he had 16,251 experience points as at Jan 15 2015.
April 1 2018 16,412 xp,
April 11 2018 16,405 xp,
May 1 2018 16,394 xp,
May 4 2018 16,379 xp,
May 14 2018: 16,361 xp,
May 20 2018 16,359 xp,
May 22 2018 16,361 xp,
Update 2015: Wow, sundialsvc4 has all ten worst nodes of the month!
Worst Nodes of The Month
As of Aug 27, 2015 at 01:48 UTC, Next refresh in 20 hours and 30 mins ±15 min
Update 2017: Done it again on his return.
Worst Nodes of The Month
As of Jun 14, 2017 at 12:36 UTC, Next refresh in 14 hours and 30 mins ±15 min
Worst Nodes of The Month
As of Aug 18, 2017 at 16:28 UTC, Next refresh in 17 hours and 15 mins ±15 min
Worst Nodes of The Year
As of Aug 18, 2017 at 16:28 UTC, Next refresh in 17 hours and 15 mins ±15 min
Update 2018: Finally he has all twenty worst nodes of the year. I believe he is the only one to ever achieve this rare feat.
Worst Nodes of The Week
As of Mar 27, 2018 at 23:44 UTC, Next refresh in 1 hour and 15 mins ±15 min
Worst Nodes of The Month
As of Mar 27, 2018 at 12:21 UTC, Next refresh in 9 hours and 45 mins ±15 min
Worst Nodes of The Year
As of Mar 27, 2018 at 12:21 UTC, Next refresh in 9 hours and 45 mins ±15 min
And again, May 22 2018
Worst Nodes of The Day
As of May 22, 2018 at 20:09 UTC, Next refresh in 15 mins ±15 min
Worst Nodes of The Week
As of May 22, 2018 at 17:30 UTC, Next refresh in 30 mins ±15 min
Worst Nodes of The Month
As of May 22, 2018 at 05:42 UTC, Next refresh in 8 hours and 45 mins ±15 min
Worst Nodes of The Year
As of May 22, 2018 at 13:19 UTC, Next refresh in 16 hours and 15 mins ±15 min
| [reply] |
|
| [reply] |
|
|
|
|
While I agree on the criticism regarding this particular post’s handling — I hadn’t seen it happen, so I’ll also add, if it indeed happened this way — I don’t think you should be this harsh, in fact, please take your differences to a private conversation or something.
By all means, both of you are high level monks, both of you must have done something good to earn that. You should know better.
| [reply] |