More in this section

Forums / Developing with Sitefinity / XML Database back end

XML Database back end

3 posts, 0 answered
  1. Lucas
    Lucas avatar
    3 posts
    Registered:
    27 Mar 2009
    03 Jul 2009
    Link to this post
    Hi,

    I'm not sure where else to post this, so my apologies in advance...

    I'd like to create an entirely new database back end for Sitefinity using the Figaro XML Database (http://bdbxml.net). Does the API provide support for doing such a thing, or is that something that needs to be done at a partner level? Any information you could give me for getting started or discussing this further with someone would be greatly appreciated.

    Thanks!
  2. Bob
    Bob avatar
    330 posts
    Registered:
    30 Dec 2016
    04 Jul 2009
    Link to this post
    Hi Lucas,

    You have to implement custom data providers for all modules that you want to support Figaro. In the case of Generic Content for example, you have to inherit ContentProviderBase class and implement all abstract methods. Then you have to configure your application to use the custom provider.

    <cmsEngine defaultProvider="Generic_Content"
          <providers> 
            <clear/> 
            <add name="Generic_Content"  type="MyNamespace.CustomContentProvider, MyAssembly"/> 
    ... 
     


    Unfortunately, documentation and examples on custom data provides is very scarce and since the work will be quite substantial, if you want to support all modules, we will have to help you with this initiative in iterative manner.

    It might be worth waiting a few months for Sitefinity 4.0 for a few reasons:
    The implementation of custom data providers is greatly simplified. The architecture is vastly improved. We are now constantly working on documentation in parallel with development, Sitefinity 4.0 APIs will be much better documented. Sitefinity 4.x API will not be directly backward compatible. Although we plan to provide wrappers around the new API to provide backward compatibility, this may prove to be quite challenging in certain areas.

    Sitefinity 4.0 comes with its own build-in XML database engine. Although it was designed to serve Sitefinity's needs, you may find it quite convenient for general purpose storage as well. It supports transactions, optimistic locking, automatic object serialization / deserialization, LINQ. Sitefinity 4.0 will be capable of working without database while maintaining its full functionality.

    If you decide to start with v3.6, please explain your goal and where you want to start from.

    Kind regards,
    Bob
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Lucas
    Lucas avatar
    3 posts
    Registered:
    27 Mar 2009
    05 Jul 2009
    Link to this post
    Hi Bob,

    Thanks for the reply. I'm happy to wait until version 4 comes out.

    Regards,
    Lucas
Register for webinar
3 posts, 0 answered