TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Mojolicious – Perl real-time web framework

268 点作者 megahz将近 11 年前

18 条评论

ThePhysicist将近 11 年前
It&#x27;s great to see such an awesome Perl project on HN, especially these days when most folks here write Python, Ruby and JS and love to make fun of those &quot;nerdy old Perl hackers&quot;.<p>I mostly use Python these days myself but I&#x27;ll never forget the sense of power that Perl gave me when I learned it back in the late 90s (prior to Perl I had programmed in Turbo Pascal and Basic). To most programming enthusiasts back then it was what Python is today: A great, easy-to-learn, fun language that let&#x27;s you solve almost any problem with just a few lines of code, mostly thanks to a huge ecosystem of powerful libraries (CPAN). Granted, the object-orientation felt more like a hack than a normal language feature (because it was one), but all in all it&#x27;s still a really great language and just as powerful as Python, JS or Ruby.
评论 #8097765 未加载
评论 #8096772 未加载
评论 #8097407 未加载
doesnt_know将近 11 年前
The &quot;installation&quot; instructions wgets a script (over http) which in turn curls a raw github link of cpanminus which is &quot;a script to get, unpack, build and install modules from CPAN&quot; which then downloads and installs the perl module.<p>How many developers or &quot;power users&quot; would have just ran that command without even thinking about it?<p>I guess signing packages with trusted keys and serving them over https is far too lame for devs these days.<p>(Not that I&#x27;m calling out this particular project, it&#x27;s seems to be crazy popular to offer &quot;curl some.script | bash&quot; as installation instructions lately for some reason.)
评论 #8095886 未加载
评论 #8095891 未加载
评论 #8095845 未加载
评论 #8099903 未加载
f055将近 11 年前
I&#x27;ve been using Mojolicious for about 5 years now - from somewhere around v1.0 - and it&#x27;s been awesome. The more I learned the easier and quicker things got. Now I use if for all my backend needs, from SaaS, APIs to real-time websockets - and there&#x27;s still a ton of things Mojo can do but I never tried them. Not to mention Perl itself. And CPAN.<p>Let&#x27;s face it - Perl is magic ;)
fibo将近 11 年前
Mojolicious is best Perl web micro framework, remember that the Author also started catalyst. Dancer is similar but I don&#x27;t like dsl. Mojo is very fast, powerful and expressive with a lor of features, mature and more perlish. Try Mojolicious::Lite, there is no other web Framework that can write an app in a single,file.
评论 #8096294 未加载
评论 #8102695 未加载
评论 #8096257 未加载
perlgeek将近 11 年前
I&#x27;ve done a few small projects with Mojolicious, and it&#x27;s been real fun to work with.<p>The only thing that&#x27;s missing is a book that explains the concepts in more depth than the documentation. (I believe some folks in the community are working on that).
评论 #8095805 未加载
elb0w将近 11 年前
This is such a great project. I remember when it started back when I used to work in perl. The main devs on it are awesome. If I ever build anything in perl again that needs an webserver it would be this.
blue1将近 11 年前
The problem with framework reviews is that they are mostly written by people that have used just that one (not surprising since it takes some time to become proficient in such things), and always the conclusion is, oh it is awesome.<p>I would be much more interested in a comparison with the alternatives, for example Mojolicious vs Catalyst, but apparently very few people are able to do that.
评论 #8096115 未加载
评论 #8095964 未加载
lazyloop将近 11 年前
My favourite IRC client is built with Mojolicious! <a href="http://convos.by/" rel="nofollow">http:&#x2F;&#x2F;convos.by&#x2F;</a>
pimlottc将近 11 年前
What exactly is a &quot;real-time&quot; web framework? Is that anything like being &quot;web scale&quot;?
评论 #8095697 未加载
评论 #8095900 未加载
评论 #8098756 未加载
vijayboyapati将近 11 年前
I&#x27;ve been developing with Perl for almost 20 years and am a great fan of it. I think it&#x27;s not difficult to write easy to read and understand Perl code (although it&#x27;s also not difficult to write awful Perl code). I&#x27;m very interested to learn more about Mojolicious. I&#x27;ve been using and really enjoying Perl Dancer, which from the example on the landing page of Mojolicious looks very similar. Could someone familiar with the two give me a summery of the differences and pros and cons between them?
odc将近 11 年前
I love the combo Mojolicious + Mango (the MongoDB driver). They allow to build a completely non-blocking applications very easily.
__Joker将近 11 年前
If say I want to build a web application and new to Ruby, Python and Perl. But I want to use one of the RoR, Flask (or Django), Mojolicious. Which one should I go for. I.e. either one it had some advantage than other ? Rather, I know Python so I should go for Flask, argument.
评论 #8096161 未加载
评论 #8098537 未加载
评论 #8096096 未加载
joeclark77将近 11 年前
I used to love Perl... it&#x27;s been about 15 years, though. What a great excuse to learn it again!
qmaxquique将近 11 年前
You can test and develop Mojolicious in a terminal.com container. Check my snapshot at <a href="https://terminal.com/tiny/8TRpbtVffh" rel="nofollow">https:&#x2F;&#x2F;terminal.com&#x2F;tiny&#x2F;8TRpbtVffh</a>
Daviey将近 11 年前
As web frameworks go, I prefer the experience of Django.... but a recent project I did with Mojolicious was a really fast experience to &#x27;get something&#x27; together, whilst also staying out of the way.
sarciszewski将近 11 年前
&quot;curl get.mojolicio.us | sh&quot;<p>Delicious! Let&#x27;s pipe data retrieved over raw HTTP and pipe it directly to sh. It&#x27;s like one of those Head-On commercials (remember those?) only with digital cyanide.
评论 #8100954 未加载
instakill将近 11 年前
Existing libraries around modern web frameworks sure do have a unicorn obsession.
chawk将近 11 年前
People still use Perl?
评论 #8096566 未加载
评论 #8096937 未加载
评论 #8096695 未加载
评论 #8096770 未加载
评论 #8102558 未加载