简体   繁体   English

Orchard CMS和ASP.NET MVC 4

[英]Orchard CMS & ASP.NET MVC 4

I am starting a new project that requires extensive CMS functionality. 我正在开始一个需要广泛CMS功能的新项目。 I would also like it to be a full MVC 4 site. 我也希望它是一个完整的MVC 4站点。

I just installed Orchard CMS from the Web Platform Installer for the first time - and loading the solution (after web setup) - there are no Views / Models or Controllers folder. 我刚刚从Web Platform Installer安装了Orchard CMS - 并加载了解决方案(在Web设置之后) - 没有Views / Models或Controllers文件夹。

I have read that Orchard is based on this technology - what is the best way to get started fully customising the HTML / CSS - and adding my own models / views etc? 我读过Orchard是基于这种技术的 - 开始完全自定义HTML / CSS的最佳方法是什么 - 并添加我自己的模型/视图等?

Thanks 谢谢

Yes, Orchard is based on MVC, but it's also modular. 是的,Orchard基于MVC,但它也是模块化的。 Modules add features to the core but are essentially decoupled from one another, as much as possible. 模块为核心添加功能,但基本上尽可能地彼此分离。 They are also built on ASP.NET MVC Areas. 它们也构建在ASP.NET MVC区域上。 You will find those modules and themes (and also their views, controllers and models) inside of the subfolders of the /Modules and /Themes directories. 您将在/ Modules和/ Themes目录的子文件夹中找到这些模块和主题(以及它们的视图,控制器和模型)。 Those directories themselves can be found right under the root of the web site (src/Orchard.Web if you are using a source code drop). 这些目录本身可以在网站的根目录下找到(src / Orchard.Web,如果您使用的是源代码丢弃)。 Finally, the core modules can be found under Core, with a similar structure. 最后,核心模块可以在Core下找到,具有类似的结构。

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

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