How to develop middle/large size project with Umbraco?

∥☆過路亽.° 提交于 2019-12-10 17:52:22

问题


I`m currently investigating how can Umbraco be used in our future projects. I watched Umbraco.tv and read different "Getting started" guides - its strong sides are pretty obvious and its abilities as a CMS are great. What is not obvious is how to work with Umbraco when you want a bit more than just CMS written site.

Of cause no one would write large business application using CMS. But if you have just a bit of complex logic where would you settle it in Umbraco environment? If you need some world-simplest workflow model would you place it into some user control or would you place it anywhere else or may be this is the place to give up Umbraco?...

So maybe the question i am asking is: What is the level of complexity beyond which you should stop using Umbraco and better write everything from scratch with ASP.NET MVC (or whatever you like)? Where would you place complex logic in Umbraco?


回答1:


I manage a series of enterprise-level websites with Umbraco. I also have a lot of custom code I wrote myself. Between macros and event hooks and even some other miscellaneous projects written by the community, I haven't found much I can't do, though some things are harder than others.

In my humble opinion, the question one should ask is what sort of website it is, not just what level of complexity should determine a threshold. If it's a content-driven website best served by a CMS, I wouldn't be deterred from using it just based on having to write some custom code. There are lots of ways to add your code to extend Umbraco. If the site content is largely application-driven, I wouldn't try to force it into a CMS just for the sake of being able to.

Hope this helps.




回答2:


You didn't say which version, so I am going to assume 4.7, though the answer is more or less the same in either case - only difference is right now I wouldn't undertake a large project in 5.x unless you have a lot of patience, and understanding client and a deadline that is at least 6 months away. (I am a fan of 5.x, but its not ready for production apps yet).

If I had a lot of complex logic I needed to add, I would write them just like I do in any other asp.net application - use c# to create a new class/object in (most likely) or custom control (less likely) and then load or call that object from my page when appropriate.



来源:https://stackoverflow.com/questions/10698543/how-to-develop-middle-large-size-project-with-umbraco

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!