在 .NET 中创建具有类似“应用程序”功能的新网站的建议

发布于 2025-01-07 02:47:33 字数 838 浏览 4 评论 0 原文

我是一个非营利组织的成员,该组织要求我帮助他们重做他们的网站。

然而,他们不仅仅想要内容和设计的改变,他们还想要需要一些后端编程的功能。例如,该组织的“课程”的名额有限,人们必须提前报名。当人们报名参加课程时,他们必须提供额外的文件才能参加课程。

他们有一些此类类型的请求希望添加到网站中。

如果只是对其现有内容进行简单的重新设计,我会建议他们使用 Wordpress 或任何其他标准 CMS 之类的东西来更新其外观。但由于他们也想要这些附加功能,我不确定如何继续。

我还没有机会编写 MVC 站点,所以我想以此为契机来学习 MVC。同时,我不想重新发明轮子。所以我正在考虑像 Orchard 这样的 CMS,它使用 MVC,但显然具有很强的可扩展性。

使用 Orchard 对于这种情况有意义吗?如果没有,为什么不呢?还有其他 CMS 推荐吗?我也在关注 Umbraco,因为他们的最新版本似乎正在使用 MVC,但后来我读到它有点 bug,并且缺少旧版本中的一些功能。所以当时我不确定这是否是正确的方法。

最后,我什至不确定是否应该使用 CMS!我想知道如果我从头开始做一个应用程序是否会更好地学习 MVC。在这种情况下,我正在考虑对 Web 内容使用 CMS,然后将“应用程序”部分编程为链接到其主站点(可能是 register.mysite.com)的单独 Web 应用程序。

我只是在寻找建议和指导。如果你处于我的处境,你会怎么做?

我的日常工作是一家大型组织的开发人员。我主要使用 .NET 编写商业 Web 应用程序。但我们还没有任何 MVC 应用程序出现在我的面前,所以我的 MVC 技能基本上不存在。我想学习 MVC,但我也想在适当的时候为非营利组织带来一些回报。

....所以呀...就在那里...

I am a member of a non-profit organization that has asked me to help them redo their website.

However, they don't simply want content and design changes, they also want features that require some back end programming. For example, the organization has "classes" with limited slots available that folks must sign up for in advance. When people sign up for the classes, there is additional documentation they must provide in order to be able to attend the class.

They have several requests in this genre that they want added to the site.

If it was just a simple redesign of their existing content, I would just recommend they use something like Wordpress or any other standard CMS to update their look. But since they also want these additional features, I am not certain how to proceed.

I have not yet had an opportunity to program an MVC site, so I thought I would use this as an opportunity to learn MVC. At the same time, I don't want to reinvent the wheel. So I was considering a CMS such as Orchard, that used MVC but was apparently quite extensible.

Does using Orchard make sense for this scenario? If not, why not? Are there any other recommendations for a CMS? I was looking at Umbraco too since it seems their latest release is using MVC, but then I read that it is a little bit buggy and missing some features that their older version had in it. So then I wasn't sure if that would be the right way to go.

In the end, I'm not even sure if I should be going with a CMS at all! I wonder if I would learn MVC better if I just did an app from the ground up. In that case, I was considering using a CMS for the web content, and then programming the "application" portion as a separate web application that was linked off their main site (perhaps register.mysite.com).

I'm just looking for recommendations and guidance. How would you proceed if you were in my shoes?

My day job is a developer at a large organization. I mainly program business web applications using .NET. But we haven't had any MVC apps come my way yet, so my MVC skills are essentially non-existent. I want to learn MVC, but I also want to get something back to the non-profit in a decent time.

.... so ya... there it is...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

謸气贵蔟 2025-01-14 02:47:33

使用开源 CMS 并不是一个坏主意,但我个人不喜欢使用它们。甚至官方 ASP.NET 站点也在使用 Umbraco

我不建议使用 WordPress,因为它是用 PHP 编写的,而且您是 .NET 开发人员。 WordPress 功能强大且可扩展,但基于 .NET 的 CMS 无疑更适合您。您可以完全理解它并进行任何您想要的更改。

个人更喜欢开发自己的框架和环境。 为什么?因为我认为,开源 CMS 框架提供了超出需要的功能并为其开发模块有时是一个很大的挑战。大多数时候,我可以开发客户想要的简单网络应用程序。客户不需要 CMS 功能(例如:添加页面、添加新闻等),所以我使用自己的框架。 但请记住,这只是我个人的观点

返回 CMS:

我没有尝试过 Umbraco,但我查看了 Orchard 的源代码。 真的很大!代码真的很复杂!

如果我处于你的位置

首先我会测试开源 CMS(特别是使用 MVC 构建的 Umbraco)。我会开发一些Hello World!它的模块,如果它又好又简单,我就会选择它。

但通常我最终会开发自己的网络应用程序。我使用 MVC,建议您也使用它。

这里有一些使用 MVC 开发的不错的开源应用程序。其中还使用了工作单元、存储库模式等设计模式:

http://shrinkr.codeplex.com/

http://kigg.codeplex.com/

http://nerddinner.codeplex.com/

Using an open source CMS is not a bad idea, but I personally prefer not to use them. Even official ASP.NET site is using Umbraco.

I don't recommend using WordPress because it's written in PHP and you are a .NET developer. WordPress is powerful and extensible, but surly a .NET based CMS would be better for you. You can understand it completely and make any changes you want.

I personally prefer to develop my own framework and environment. Why? Because in my opinion, an open source CMS framework gives more power than needed and developing modules for it is sometimes a big challenge. Most of the times I can develop what my client wants as a simple web app. The client doesn't want CMS powers(like: Adding pages, adding news, etc.) so I go with my own framework. But remember this is just my personal opinion.

Back to CMS:

I haven't tried Umbraco, but I took a look at Orchard's source. It's really big! The code is really sophisticated!

If I were in your shoes:

First I would test Open Source CMS (specially Umbraco which is built using MVC). I would develop some Hello World! modules for it and if it was nice and easy, I would go with it.

But normally I end up developing my own web app. I use MVC and I suggest you use it too.

Here are some nice open source apps developed using MVC. Also design patterns like Unit of Work, Repository Pattern, etc. are used in them:

http://shrinkr.codeplex.com/

http://kigg.codeplex.com/

http://nerddinner.codeplex.com/

影子是时光的心 2025-01-14 02:47:33

即使使用 umbraco/joomla 或任何其他 CMS,如果不编写自定义代码,您也无法完成此任务。既然您已经有 Web 开发经验...请尝试一下 MVC。核心编码是相同的...MVC 使很多设计变得容易
并结构化。

You are not going to get this done without writing custom code even with using umbraco/joomla or any other CMS. Since you already have web development experience.... give MVC a shot. Core coding is the same... MVC makes lot of design easy
and structured.

绳情 2025-01-14 02:47:33

为此,我会选择 MVC 应用程序,因为这对您来说将是一次很好的学习经历,并且可以添加到您的简历中。无论如何,如果您不熟悉任何当前的 CMS 解决方案,那么设置、配置和编码您想要的模块可能会花费与从头开始制作一个简单的 MVC 应用程序相同的时间。

I would go with an MVC application for this simply because it will be a great learning experience for you and something really good to add to your resume. Anyway if you're not familiar with any of the current CMS solutions out there it will probably take the same amount of time to setup, configure and code the modules you want as it would to make a simple MVC app from scratch.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文