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.
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
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.
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
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
I'm not familliar with the use of VistaDB, but as I understand it, it's an alternative to MySql and SQL Server.
Thanks, pity about that. I'll have to look at another solution then.
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.
I could do, do you have any pointers?
Why don't you use the built-in vistaDB?
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.
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
Excellent, I think a product rebranding would be in order for them, I would have missed it.
is working on a reply...