简体   繁体   English

可编辑页面方法

[英]Editable pages approach

I'm working on application with some sort of CMS features. 我正在使用具有某些CMS功能的应用程序。 I need some pages to be editable. 我需要一些页面是可编辑的。 For instance: 例如:

  • you can edit a text block right in your browser 您可以直接在浏览器中编辑文本块
  • you can add and remove different modules to your page 您可以在页面中添加和删除不同的模块

For instance, if I have a main page I may want to edit welcome text. 例如,如果我有主页,则可能要编辑欢迎文本。

If I have a sidebar I may want to add/remove new modules to the sidebar such as: 如果我有侧边栏,则可能要向侧边栏添加/删除新模块,例如:

  • email subscription module 电子邮件订阅模块
  • social network (facebook, twitter, etc) links block 社交网络(facebook,twitter等)链接块
  • text block 文字区块

My application may have several pages, not only one. 我的应用程序可能有几页,而不仅仅是一页。

I want to keep it simple and I'm looking for the right approach/examples/existing tools. 我想保持简单,我正在寻找正确的方法/示例/现有工具。

What's the best pattern / third-party solution for ASP .NET in order to implement this and keep it simple? 为了实现此功能并使它保持简单性,ASP.NET的最佳模式/第三方解决方案是什么?

If you want to use ASP.NET MVC I think the best solution is to look into Orchard. 如果您想使用ASP.NET MVC,我认为最好的解决方案是研究Orchard。 It's really easy to get up and running, has a rich set of existing modules and building a module from scratch is really easy. 它非常容易启动和运行,具有丰富的现有模块集,并且从头开始构建模块真的很容易。 This was actually started by a couple of Microsoft guys and then spun out into it's own open source project. 这实际上是由几个Microsoft家伙开始的,然后扩展到它自己的开源项目中。 http://www.orchardproject.net/ http://www.orchardproject.net/

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

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