Why Orchard?
My current project at Q42 is a big one. One framework that will serve four similar websites, each with their own content and UI, and each site in about 7 different languages. And of course loads of traffic. Not unimportant; when we’re done developing, our customer wants to be able to continue development with in-house developers.
While looking around for a framework that would fit the specs I noticed the new Orchard project, back when it was a little 1.1 release. In about a week the first of the four sites in the first of the seven languages will be deployed, so here’s a glance at the pro’s and con’s I found untill now.
w00t’s
- It uses standards: MVC3 with area’s, normal ViewEngines, nHibernate, Autofac IoC. These are easily googlable if you run into trouble. And it’s possible to create an MVC3 area that just does it’s own thing!
- It shouldn’t have any trouble with huge amounts of data. There’s no hierarchy in the navigation that could give trouble, and the database schema is simple yet extensible.
- Very modular and configurable product. I can create modules with specific functionality that can be included in only 1 or two of the websites. Settings are fairly easily reachable.
- The source is included! If something goes wrong I can just debug and/or fix it myself :)
- There’s a small community, but it actively builds modules, blogs and discusses
- Microsoft backs this project, that always helps
- Recipes and command-line functionality facilitate easy deployment on development machines and batch processes
Hurdle’s
- It’s huge!! There’s so much in it that it takes a lot of time before you have a grasp on the framework. You can’t just add a <script> element, you have to include it via the resourcemanager. You can’t use the global resources, you should use the @T(“translate this”) function. You need a “shape tracing module” before you know where to type the HTML. And in version 1.1 there wasn’t even a shape tracing module!
- The Clay Factory with its dynamics is hard to wrap your head around. Everything’s dynamic which makes it really nasty to work with. Luckily the Shape Tracing module helps out here, but still…
- Localization isn’t thoroughly thought through. The localization module is too basic, and the multitenancy module separates the databases so that there’s no re-usability of for instance user management. There’s also no easy way for editors to translate dictionary values.
- There’s a lot of naming conventions. If you set a name wrong, weird things start happening and it takes quite some time before you figure out what the convention is that you broke.
- There’s still a lot of other issues to be tackled, like background tasks and performance. Colleagues of mine are creating a harvester to import about 500.000 items from a webservice each night. This cloggs up the whole website and exposes a lot of issues with database threading and background processes.
There’s a lot I don’t know about Orchard yet. When the first site is deployed I’ll start looking at multitenancy and performance a lot, so expect some more posts on those subject.