Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Waylander1970 5 posts 20 karma points
    Mar 02, 2009 @ 10:34
    Waylander1970
    0

    How would I go about replacing SQL with XML stored in App_Data?

    Hi,

    I've seen references to extending the data store (someone did it with FTP apparently but that link is dead) and I'd like to do this for a very small XML data store (just a few pages on a micro site) so that I can keep the hosting costs and complexity down.

    Is this scenario supported in Umbraco? Can I redirect the datastore with some web.config changes and my own classes implementing a set of interfaces? If so, does anyone have a pointer to the interfaces I would need to extend?

    I'd be happy to push my contributions back to the community afterwards if they are of interest.

    Thanks in advance,

    Ryan

  • Nico Lubbers 151 posts 175 karma points
    Mar 02, 2009 @ 17:17
    Nico Lubbers
    0

    Do you mean that you want to host an umbraco website without using ms-sql or mysql ? If that is what you mean, the answer is no.

    EDIT: But an option is to use the built-in VistaDB (which does not require any installation !). Just select that you want to use vistadb datastore when configuring umbraco. vistadb is storing all the data inside a file which is located in /data/vistadb. Pretty cool. So, you do not need to have a mysql or mssql server. Recommended usage: small sites and non commercial

  • Stephan Lonntorp 195 posts 212 karma points
    Mar 02, 2009 @ 18:16
    Stephan Lonntorp
    0

    I'm not familliar with the use of VistaDB, but as I understand it, it's an alternative to MySql and SQL Server.

  • Waylander1970 5 posts 20 karma points
    Mar 02, 2009 @ 18:30
    Waylander1970
    0

    Thanks, pity about that. I'll have to look at another solution then.

  • Daniel Lindstrom 454 posts 271 karma points
    Mar 02, 2009 @ 23:09
    Daniel Lindstrom
    0

    Well, maybe you could create a data layer that uses XML as its data store? Should be interesting for microsites indeed, if it is possible.

  • Waylander1970 5 posts 20 karma points
    Mar 03, 2009 @ 09:20
    Waylander1970
    0

    I could do, do you have any pointers?

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Mar 03, 2009 @ 10:41
    Peter Dijksterhuis
    0

    Why don't you use the built-in vistaDB?

  • Waylander1970 5 posts 20 karma points
    Mar 04, 2009 @ 09:11
    Waylander1970
    0

    I did not realise that VistaDB was a 'no-install' piece of software, and with that name I thought it was Vista only. I'll check to see if it runs on shared hosting, thanks for the advice.

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Mar 04, 2009 @ 09:17
    Dirk De Grave
    0

    Hi,

    It's a no-install piece of software, it should run on any host, as it's just a file that resides in the /data directory.

    Regards,
    /Dirk

  • Waylander1970 5 posts 20 karma points
    Mar 04, 2009 @ 09:52
    Waylander1970
    0

    Excellent, I think a product rebranding would be in order for them, I would have missed it.

Please Sign in or register to post replies

Write your reply to:

Draft