Suggest some good MVC framework in perl [closed]

2019-01-24 02:45发布

Can you suggest some good MVC framework for perl -- one I am aware of is catalyst

The need is to be able to expose services on the perl infrastructure which can be called by Java/.Net applications seamlessly.

12条回答
太酷不给撩
2楼-- · 2019-01-24 03:04

Been playing with Squatting the last few days and I have to say it looks very promising and been fun to use.

Its a micro webframework (or web microframework ;-) and is heavily influenced by Camping which is written in Ruby.

NB. Squatting (& Camping) don't have model components baked into the framework. Here's the authors comments on models... "Models? The whole world is your model. ;-) I've always been ambivalent about defining policy here. Use whatever works for you"

查看更多
▲ chillily
3楼-- · 2019-01-24 03:04

There is also Clearpress which I can recommend as a useful database backed application. It needs fewer dependencies than Catalyst. We have written a few large applications with it, and I run a badminton ladder website using it.

查看更多
相关推荐>>
4楼-- · 2019-01-24 03:06

I have built some applications with Kelp, it's easy to learn and very helpful.

查看更多
一纸荒年 Trace。
5楼-- · 2019-01-24 03:09

Catalyst is the way to go. There is also Jifty, but (last time I looked), it had terrible documentation.

查看更多
贪生不怕死
6楼-- · 2019-01-24 03:10

There is also CGI::Application, which is more like the guts of a framework. It helps a person to write basic CGI's and glue bits on to it to make it as custom as they like. So you can have it use hardly any modules, or just about everyone under the sun.

查看更多
劳资没心,怎么记你
7楼-- · 2019-01-24 03:12

Since this old thread popped up, I will mention two exciting new additions to the Perl MVC world:

  • Dancer (CPAN) which is heavily influenced by Ruby's Sinatra, known for being very lightweight
  • Mojolicious (CPAN) which is written by the original developer of Catalyst to use what he learned there, it has no non-core dependencies, with very modern builtins (HTML5/CSS3/Websockets, JSON/XML parsers, its own UserAgent/templating engine)

(N.B. I have used Mojolicious more than Dancer, and as such if I missed some features of Dancer that I listed for Mojolicious then I apologize in advance)

查看更多
登录 后发表回答