Recent Posts and Articles
- Status: a lot of abandoned branches were deleted by Sébastien (the production-ready ones were merged into 1.x, e.g. Redis cache), 1.8.x is merged into 1.x.
- Sipke modified the AuditTrail module according to the discussion last week and renamed the "Rollback" feature to "Restore". The "Recycle Bin" was also added enabling users to restore deleted content items. Permanent delete feature was also added that removes the content data too, but it's a bit controversial.
- Demo by Benedek: DotNest tenants can now run using different language packages (other than American English): French, Italian, Russian, Simplified Chinese, Spanish and Hungarian. Kudos to the localization contributors!
- Adrian fixed markup and embedding in a lot of places in the Orchard Documentation.
- Discussion topic by Sébastien - future of data access: we've enumerated the current ways of getting data out of the DB (pros and cons). There are a few problems with NHibenate that should be addressed. Content Manager API could give abstraction points for direct SQL-query snippets for performance gain. The usage of a micro-ORM is also a possibility (like in the case of Umbraco with PetaPoco). Discussion to be continued on the forums!
- "ContentPicker plugin for TinyMCE" PR needs small, cosmetic changes, then GTG.
- The PR for fixing the "Href" helper has to be confirmed for repro, then GTG.
- The PR for customizing ISessionConfiguration is GTG on 1.x.
- The PR for updating the build scripts is GTG on 1.8.x.
- Discussed a few other PRs that are work-in-progress and quite a few work items were visited as well.
- We reached the middle of June with the proposed issues!
Orchard has a really neat concept of identity that’s mainly used when importing contents into the CMS. One of the difficulties with importing contents is that you need to make sure that you can import not just new items, but also updates to existing items. For this to work consistently, we need to be able to identify a content item reliably.
Orchard CMS Mumbai User Group will be conducting the First Orchard CMS Workshop in Mumbai "Introduction To Orchard CMS and Theme Development" on 2nd Nov 2014.
This user group will conduct workshops which will be aimed for developers new to Orchard and everyone interested in using Orchard in their projects. First Orchard CMS Workshop in Mumbai: "Introduction To Orchard CMS and Theme Development".
Anti-forgery tokens are a very important security feature of ASP.NET MVC and Orchard. Most of the time, you should keep them in place, and just let the system work its magic. There are a few rare situations however where it’s not the appropriate protection and you’ll want to disable it. Being too lazy to include the token in your ajax requests or your forms is of course not one of those situations.
Building WebAPI controllers in Orchard is fairly simple: just inherit from System.Web.Http.ApiController. You’ll then be able to inject dependencies exactly in the same way that you would anywhere in Orchard. WebAPI is designed so that the default behavior is that a controller represents a category of resources, such as a product, an article, etc. There’s a bunch of conventions in place so that just naming the methods on the controllers is enough to wire them up. If this REST-like behavior is what you’re after, that’s great, just apply the conventions and you’re good to go. If you need to stray from that model, and implement something closer to what you’d do with a regular MVC controller, you’ll need to do a little more work.
A video post explaining the Multitenancy Module and showing how easy to setup and manage a multitenancy site and how useful it can be to you.
- Status: Sipke is still working on the Layouts feature, Piotr refactored ICacheService to be more generic, Redis cache module had a few changes/fixes, Piotr is working on IIS-integrated background tasks, Orchard.Cache is modified by Lombiq to use the .NET MemoryCache instead of HTTP cache, Identity is now fixed for content items to match one identity instead of all of them by Bertrand (see his blogpost on the topic), Stanley added a feature for filtering content per user for the TagCloud, Brett extended Orchard.OutputCache so that authenticated requests can be cached too.
- To see the continuous builds and their results for the Orchard source, visit http://teamcity.codebetter.com and log in as guest.
- Abhishek will present at a workshop in Mumbai about Orchard.
- Demo by Zoltán - Tidy Orchard Development Toolkit: an Orchard module that makes it possible to separate your own modules and themes from the original Orchard source. This way you can store the Orchard source you're working with in one central place and use it for different projects.
- A related matter is that in 2.0, some changes will (hopefully) be made to make it easier to work with the Orchard source as a sole developer and in a team too, but the details are still in question.
- Demo by Sipke - content rollback: AuditTrail now provides an action to rollback a content item to a previous state.
- Sébastien's idea to enhance Background Tasks: Background Task Groups. Adding an Attribute defining the group to your Background Task would make it run in that group to separate BGTasks preventing certain tasks blocking others. BGTaskGroups' run intervals to be stored in HostComponents.config.