我应该使用第三方CMS还是为小型网站构建ASP.NET MVC网站?

时间:2021-06-04 03:13:08

I'm primarily a .NET desktop developer, but I've done some static HTML/CSS websites in the past. I'm currently taking on a web project for a local restaurant and one of the most important features is the ability for the owner to edit the content (e.g., add events to a calendar, adjust the menu, post news items, update a photo gallery).

我主要是.NET桌面开发人员,但过去我做过一些静态的HTML / CSS网站。我正在为当地餐馆开展一个网络项目,其中一个最重要的功能是所有者能够编辑内容(例如,将活动添加到日历,调整菜单,发布新闻,更新照片)画廊)。

I've been reviewing CMS solutions for the past couple of days and the main drawback I'm finding is that the admin forms for the end-user are mostly generic. That is, they are mainly free text forms that require the user to format the content (think wiki pages).

我在过去几天一直在审查CMS解决方案,我发现的主要缺点是最终用户的管理表单大多是通用的。也就是说,它们主要是*文本表单,需要用户格式化内容(想想维基页面)。

I think it might be safer to build a custom ASP.NET application that will let the user do something like: "Edit Menu Item" versus "Edit Page." This is obviously a lot more work, but I'm afraid that the user can really screw up the site's layout if they're given the latitude that most CMS solutions provide.

我认为构建一个允许用户执行以下操作的自定义ASP.NET应用程序可能更安全:“编辑菜单项”与“编辑页面”。这显然是更多的工作,但我担心如果给予大多数CMS解决方案提供的*,用户可以真正搞砸网站的布局。

Any web developers have suggestions? Are there any CMS solutions that let you build custom admin screens that force the user into a certain structure? Should I just bite the bullet and build my own mini custom CMS?

任何网站开发者都有建议?是否有任何CMS解决方案可以让您构建自定义管理屏幕,迫使用户进入某种结构?我应该咬紧牙关,建立自己的迷你定制CMS吗?

Thanks!

EDIT: my time-frame for selecting a CMS is about a week. I have no experience with any existing CMS and my experience with ASP.NET MVC is pretty minimal.

编辑:我选择CMS的时间约为一周。我没有任何现有CMS的经验,我对ASP.NET MVC的经验非常少。

4 个解决方案

#1


I've wrestled with this question before as well.

我之前也和这个问题搏斗过。

The proper thing to do is to prepare an estimate for the amount of work for both options. Think of every component, every test, etc etc and come up with some numbers. See which number with your rate is economical for you and your client.

正确的做法是准备两种方案的工作量估算。想想每个组件,每个测试等等,并想出一些数字。查看您的费率对您和您的客户来说是经济的。

A packaged CMS will give you a head start. You will have a learning curve however because it may be out of your expertise. Estimate this as well.

打包的CMS将为您提供一个良好的开端。然而,您将有一个学习曲线,因为它可能超出您的专业知识。估计这一点。

Also, what you are doing is not unique. Almost all restaurants that have a web presence have editable content including menus. I found this post on the drupal forums that might be relevant.

而且,你所做的并不是唯一的。几乎所有拥有网站的餐厅都有可编辑的内容,包括菜单。我在drupal论坛上发现了这篇可能相关的帖子。

#2


Have you checked out DotNetNuke? It's free and open source -- starting from scratch is unnecessary.

你看过DotNetNuke了吗?它是免费和开源的 - 从头开始​​是不必要的。

#3


  1. How much time do you have?

    你有多少时间?

  2. How fast do you think you can do it? Remember whatever you think it will take, double it, and that's usually the real time.

    你认为你能做多快?记住你认为它会采取什么,加倍,这通常是实时。

  3. How good are you with MVC?

    你对MVC有多好?

Someone above pointed out DotNetNuke and this is pretty much what it was designed for. I think Sharepoint could do this, but I've pretty much avoided MOSS my entire career to my benefit and or detriment :)

上面有人指出DotNetNuke,这几乎就是它的设计目标。我认为Sharepoint可以做到这一点,但我几乎完全避免了我的整个职业生涯中的利益和损害:)

#4


One CMS option could be WSS (As opposed to MOSS which carries a cost)

一个CMS选项可能是WSS(与带有成本的MOSS相对)

  • It allows drafts and versioning so if a mistake is made it can be quickly rolled back.

    它允许草稿和版本控制,因此如果出现错误,可以快速回滚。

  • One issue with this is that some shared hosting companies will likely not allow you to run a WSS site, so it may bump up the cost in the hosting sense.

    与此相关的一个问题是,某些共享托管公司可能不允许您运行WSS站点,因此可能会提高托管意义上的成本。

Another CMS Option

另一个CMS选项

  • Would be to use DotNetNuke as suggested

    将按照建议使用DotNetNuke

  • In my opinion, and from trying to quickly set up a DNN site the first time I used it...It's going to cost you a lot of time getting familiar and customising it.

    在我看来,并且在我第一次使用它时试图快速建立一个DNN网站...这将花费你很多时间熟悉并定制它。

Quickest Way

  • The quickest and dirtiest way would be to use forms based .NET and create a simple and quick back end using built in server controls.

    最快最肮脏的方法是使用基于表单的.NET,并使用内置服务器控件创建一个简单快速的后端。

  • The option to edit a menu would be quicker to implement imo, than learning a new CMS and getting familiar with it.

    与学习新的CMS并熟悉它相比,编辑菜单的选项可以更快地实现imo。

  • This may be the best option if you are doing this on a shoestring budget

    如果您在预算不足的情况下这样做,这可能是最好的选择

  • It doesn't have to look bad, you can easily dress up those built in controls, it's just not the most efficient way in terms of the site loading up etc.

    它不必看起来很糟糕,你可以很容易地装扮那些内置的控件,它不是最有效的方式加载网站等。

It all depends on your clients budget too.

这一切都取决于您的客户预算。

You can build a website for £100, and you can build a website for £800. But you can't build an £800 website for £100. It's just not feasible.

#1


I've wrestled with this question before as well.

我之前也和这个问题搏斗过。

The proper thing to do is to prepare an estimate for the amount of work for both options. Think of every component, every test, etc etc and come up with some numbers. See which number with your rate is economical for you and your client.

正确的做法是准备两种方案的工作量估算。想想每个组件,每个测试等等,并想出一些数字。查看您的费率对您和您的客户来说是经济的。

A packaged CMS will give you a head start. You will have a learning curve however because it may be out of your expertise. Estimate this as well.

打包的CMS将为您提供一个良好的开端。然而,您将有一个学习曲线,因为它可能超出您的专业知识。估计这一点。

Also, what you are doing is not unique. Almost all restaurants that have a web presence have editable content including menus. I found this post on the drupal forums that might be relevant.

而且,你所做的并不是唯一的。几乎所有拥有网站的餐厅都有可编辑的内容,包括菜单。我在drupal论坛上发现了这篇可能相关的帖子。

#2


Have you checked out DotNetNuke? It's free and open source -- starting from scratch is unnecessary.

你看过DotNetNuke了吗?它是免费和开源的 - 从头开始​​是不必要的。

#3


  1. How much time do you have?

    你有多少时间?

  2. How fast do you think you can do it? Remember whatever you think it will take, double it, and that's usually the real time.

    你认为你能做多快?记住你认为它会采取什么,加倍,这通常是实时。

  3. How good are you with MVC?

    你对MVC有多好?

Someone above pointed out DotNetNuke and this is pretty much what it was designed for. I think Sharepoint could do this, but I've pretty much avoided MOSS my entire career to my benefit and or detriment :)

上面有人指出DotNetNuke,这几乎就是它的设计目标。我认为Sharepoint可以做到这一点,但我几乎完全避免了我的整个职业生涯中的利益和损害:)

#4


One CMS option could be WSS (As opposed to MOSS which carries a cost)

一个CMS选项可能是WSS(与带有成本的MOSS相对)

  • It allows drafts and versioning so if a mistake is made it can be quickly rolled back.

    它允许草稿和版本控制,因此如果出现错误,可以快速回滚。

  • One issue with this is that some shared hosting companies will likely not allow you to run a WSS site, so it may bump up the cost in the hosting sense.

    与此相关的一个问题是,某些共享托管公司可能不允许您运行WSS站点,因此可能会提高托管意义上的成本。

Another CMS Option

另一个CMS选项

  • Would be to use DotNetNuke as suggested

    将按照建议使用DotNetNuke

  • In my opinion, and from trying to quickly set up a DNN site the first time I used it...It's going to cost you a lot of time getting familiar and customising it.

    在我看来,并且在我第一次使用它时试图快速建立一个DNN网站...这将花费你很多时间熟悉并定制它。

Quickest Way

  • The quickest and dirtiest way would be to use forms based .NET and create a simple and quick back end using built in server controls.

    最快最肮脏的方法是使用基于表单的.NET,并使用内置服务器控件创建一个简单快速的后端。

  • The option to edit a menu would be quicker to implement imo, than learning a new CMS and getting familiar with it.

    与学习新的CMS并熟悉它相比,编辑菜单的选项可以更快地实现imo。

  • This may be the best option if you are doing this on a shoestring budget

    如果您在预算不足的情况下这样做,这可能是最好的选择

  • It doesn't have to look bad, you can easily dress up those built in controls, it's just not the most efficient way in terms of the site loading up etc.

    它不必看起来很糟糕,你可以很容易地装扮那些内置的控件,它不是最有效的方式加载网站等。

It all depends on your clients budget too.

这一切都取决于您的客户预算。

You can build a website for £100, and you can build a website for £800. But you can't build an £800 website for £100. It's just not feasible.