Sunday, January 2, 2011

Umbraco – XML Schema

Let’s jot down the importance of XML schema in Umbraco. As I have posted earlier Umbraco is a most flexible open source CMS based on .NET technology. Let’s discuss on an overview of how Umbraco works with the content.




Here the whole content gets stored in Database. Every time a new document is created or edited, the data gets stored in database in normal tables. Here comes the publishing logic which is entirely different from the create/edit logic. Publishing process fetches the content from the database and generates the XML out of it.
Here the publishing logic performs two actions such as
• Stores the data as XML in database itself for easy access
• Stores the data in a physical file called umbraco.config under App_Data folder in Umbraco root and finally places the data onto XML cache which helps to increase the performance.
Every time a request comes to the website, instead of going to the database, fetches the data directly from the XML cache. This increases the overall performance of the website. Umbraco relies on its document types and its properties to generate the corresponding XML.
Keep watching for Document types in my next blog.

No comments:

Post a Comment

Installing ASP.NET MVC

Installing ASP.NET MVC Before we dive deep into the ASP.NET MVC, let’s install it our development machine. This is very straight forwa...