简体   繁体   English

是Orchard还是Umbraco MVC?

[英]Is Orchard or Umbraco MVC?

I'm much happier with the quality of output I can get with MVC over webforms: hand crafted HTML that isn't full of additional machine generated gubbins (polite term). 我对使用MVC而不是webforms可以获得的输出质量感到非常满意:手工制作的HTML并没有充满额外的机器生成的gubbins(礼貌用语)。 I realize of course that MVC is about a lot more than this, but concentrating on just that "view" part... 我当然意识到MVC不仅仅是这个,而是专注于那个“视图”部分......

I'm looking at Orchard or Umbraco for a project. 我正在寻找Orchard或Umbraco的项目。 I see both support Razor syntax (Umbraco just about) - but with my strong leaning to MVC Views rather than webforms, does that rule out Umbraco? 我看到它们都支持Razor语法(Umbraco) - 但由于我强烈倾向于使用MVC Views而不是webforms,这是否排除了Umbraco?

All the Umbraco reading I've found so far is about the XSLT engine, as the razor syntax is brand new, which scares me :-) 到目前为止我发现的所有Umbraco读取都是关于XSLT引擎,因为剃刀语法是全新的,这让我感到害怕:-)

Orchard runs on ASP.NET MVC - it was designed like that from the very beginning. Orchard在ASP.NET MVC上运行 - 它从一开始就是这样设计的。 Building apps with it is much like building ordinary ASP.NET MVC 3 application, so the learning curve is not that steep. 使用它构建应用程序就像构建普通的ASP.NET MVC 3应用程序一样,因此学习曲线并不那么陡峭。 Also Orchard delivers an extensible component framework to ease building MVC apps, so I guess it's much more than a CMS. Orchard还提供了一个可扩展的组件框架来轻松构建MVC应用程序,所以我想它不仅仅是一个CMS。 And at it's core it uses pure MVC approach (fully controllable and no trash markup attached) to render final output. 在它的核心,它使用纯MVC方法(完全可控并且没有附加垃圾标记)来渲染最终输出。

Don't know much about Umbraco, though. 但是,对Umbraco不太了解。 Tried that some time ago and at first sight it just looked overcomplicated, so I searched for other solution and sticked to Orchard as it appeared pure and simple. 试过一段时间以前,乍一看它只是看起来过于复杂,所以我寻找其他解决方案并坚持Orchard,因为它看起来纯粹而简单。 It was over a year ago, so at that time Orchard was in pretty early stage (<0.5), not ready for production use, though. 这是一年多以前,所以当时Orchard还处于早期阶段(<0.5),但尚未准备好用于生产。 But lots have changed since then and now it's a full-featured platform with large community behind it. 但是从那以后很多都发生了变化,现在它已经成为一个功能齐全的平台,背后有大型社区。 Not to add that Orchard is free, open-source and has a strong Microsoft support (financial and personal). 不要说Orchard是免费的,开源的,并且拥有强大的Microsoft支持(财务和个人)。 The team working on it is all ASP.NET guys, so I guess it can't be better:) Btw - the newest Orchard release - 1.1 - will be officially announced on upcoming MIX'11. 研究它的团队是所有ASP.NET人员,所以我想它不可能更好:) Btw - 最新的Orchard发布 - 1.1 - 将在即将到来的MIX'11上正式宣布。

I'm currently building two large commercial applications based on Orchard and I'm just very happy with it. 我目前正在构建基于Orchard的两个大型商业应用程序,我对它非常满意。

Umbraco 4.7 does not yet use MVC, but you have total control over the HTML output. Umbraco 4.7尚未使用MVC,但您可以完全控制HTML输出。 Razor syntax is supported, for most tasks you won't be needing XSLT anymore. 支持Razor语法,对于大多数任务,您将不再需要XSLT。

Orchard is based on MVC, but it's also more than only a CMS. Orchard基于MVC,但它不仅仅是一个CMS。 The focus is on developing reusable components. 重点是开发可重用的组件。

In my opinion, the most important point whether to go with Umbraco or Orchard is maturity : Umbraco is stable and mature, with a big and very friendly community (which makes up for the slight lack of documentation of the latest features). 在我看来,最重要的一点是与Umbraco或Orchard一起走向成熟 :Umbraco稳定而成熟,拥有一个非常友好的社区(弥补了最新功能的文档略有缺失)。 Orchard's first version was released only recently. Orchard的第一个版本最近才发布。 Therefore, I'd definitely go right now with Umbraco, but keep an eye on Orchard - there's certainly a lot to learn from this project. 因此,我现在肯定会和Umbraco一起去,但要留意Orchard - 从这个项目中可以学到很多东西。

Just a quick update on umbraco, as of 13th June 2012, umbraco has ceased development on V5. 关于um​​braco的快速更新,截至2012年6月13日,umbraco已停止在V5上开发。

They are focusing on a better 4.x with the move to MVC coming but not yet. 他们正在关注更好的4.x,转向MVC即将到来,但还没有。

As far as I am aware razor support will continue. 据我所知,剃刀支持将继续。

Umbraco v5 (currently RC1 10 Jan 2012) is a ground up rewrite in MVC. Umbraco v5(目前RC1 2012年1月10日)是MVC的重写。 It changes the answer to this (9 month old) question. 它改变了这个(9个月大)问题的答案。

We use Umbraco for over a year, they just release 4.7 in witch you can use Razor and it's great! 我们使用Umbraco超过一年,他们只是发布4.7女巫你可以使用Razor,这太棒了! But if you want to build custom usercontrol in Umbraco you have to go webforms way, but since Umbraco it's a CMS for developper, you can almost do anything without having to build usercontrol. 但是如果你想在Umbraco中构建自定义用户控件,你必须采用webforms方式,但由于Umbraco是开发人员的CMS,你几乎可以做任何事情而无需构建用户控件。 This summer Umbraco 5.0 will be release and it will be using MVC, I guess they will rule the CMS world after that ;) 今年夏天Umbraco 5.0将发布,它将使用MVC,我猜他们将在此之后统治CMS世界;)

Don't know about Orchard, I was having the same question one year ago and read about Orchard and it does not seems so nice for what I saw. 不知道Orchard,一年前我有同样的问题并且读过关于Orchard的内容,看起来并不是那么好看。

Anyway, hope my umbraco experience help you take your decision, let me know if you have more question. 无论如何,希望我的umbraco经验可以帮助你做出决定,如果你有更多问题,请告诉我。

My take to this whole topic and including the "DOA" Umbraco 5 is that people are afraid of change, Umbraco 5 to me was by far the best CMS in both Razor syntax and MVC platform, everything was simplified. 我对整个主题的看法,包括“DOA”Umbraco 5,是人们害怕变化,Umbraco 5对我来说是Razor语法和MVC平台中最好的CMS,一切都被简化了。 I mean from creating templates to managing content both static and dynamic content. 我的意思是从创建模板到管理内容静态和动态内容。 I'm still gonna keep my umbraco 5, work on it locally with the high hopes of it coming back very soon. 我仍然要保留我的umbraco 5,在当地工作,很快就会回来。

I've been using Umbraco since version 7.1.4 and I've always used MVC with it. 自7.1.4版以来我一直在使用Umbraco,我一直使用MVC。 I know there is still support for web forms too, but its main direction is down the MVC route. 我知道仍然支持Web表单,但它的主要方向是MVC路由。 The current version as I write this comment is 7.6.3 我写这篇评论的当前版本是7.6.3

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM