What are the available MVC web frameworks in the L

2019-06-23 09:23发布

I've never done any web development on Linux, and I'm about to start a project that requires it. I love ASP.Net MVC, so what are my availble options on Linux that kind of follow the same principles?

The project is a very simple "ecommerce" site (two or three products). There may be other sites to come though that are more complicated.

Ruby on Rails comes to mind. Is there something else? Ideas? Thoughts? Pros? Cons?

EDIT: Just personal preference, no PHP, Java, or Mono for this project.

8条回答
走好不送
2楼-- · 2019-06-23 09:28

I've used Django, a Python MVC framework, and it's nice. Lots of 'ecosystem' around it as well. I've not used Rails, so I can't compare the two, but I like Django a lot.

查看更多
Emotional °昔
3楼-- · 2019-06-23 09:30

Since ASP.NET MVC is essentially an attempt at duplicating two thirds of Ruby on Rails, why not try that?

Apart from everything else, the ASP MVC framework is pretty crippled in that it doesn't actually have any support for the model.

查看更多
▲ chillily
5楼-- · 2019-06-23 09:40

Not to forget the Zend Framework which is actively developed.

查看更多
三岁会撩人
6楼-- · 2019-06-23 09:46

Ruby on Rails and Merb for Ruby Django for Python CakePHP, CodeIgnitor and others for PHP.

There are many, many options, and no way to narrow it down without knowing more about your experience, preferences, and goals. The first thing you need to know to narrow down the list is what languages are acceptable. I don't know Python and hate PHP, so I tend toward Rails and Merb. Rails in particular I can heartily recommend; it's a very well-put-together framework.

Unfortunately, I have not used Microsoft's framework, so I can't provide any insight on which other frameworks may be similar to it.

Finally, it's worth noting that these are not exclusively Linux frameworks. Practically speaking, they usually run on some kind of Unix (which may also be BSD, Solaris, or others), but many of them will run just fine on Windows as well.

查看更多
forever°为你锁心
7楼-- · 2019-06-23 09:46

If you love asp.net MVC, why not use it ;)? You can check those two discussions (I suggest reading first answers, not necessary the questions themselves): [1] [2] . I can't say I've tried that myself (although, I've used asp.net on mono just for tests and it worked well.

查看更多
登录 后发表回答