Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# Constructor 7/1/2010 7:52 PM (edited 7/1/2010 8:03 PM)
Does anyone think that SQL Server Compact Edition 4 would be a good addition to Cuyahoga database support?

Although not released yet it says that version 4 has been designed and tested to work within ASP.NET Web applications. Since one only has to add the SQL CE binaries to the project I was thinking this may be a cheap (meaning free) alternative. It seems like it could be ideal for a small site.

Obviously since it is not released and therefore tested it is just an idea to throw out there for feedback at this stage.

http://weblogs.asp.net/scottgu/archive/2010/06/30/new-embedded-database-support-with-asp-net.aspx

# Monkeyface 7/1/2010 10:28 PM
Sounds good to me although SQL server, MySQL and PostgreSQL are the big ones.
It would be nicer to get the ORM to take care of all the SQL though.

Why not bring in Fluent NHibernate and domain driven design instead?
# Constructor 7/1/2010 11:34 PM
I like the look Fluent NHibernate although not looked at it for Cuyahoga yet. I did make a posting or two regarding it a few months ago and the general consensus was that it was not mature enough at that time.
# Monkeyface 7/2/2010 3:44 PM
I think it's certainly worth looking into... in theory we should be able to get NHibernate to put the database together for us and do all the translating between different SQL dialects automatically so we don't have to maintain all the different SQL scripts.

Then we get support for:

Microsoft SQL Server 2008/2005/2000
Oracle
Microsoft Access
Firebird
PostgreSQL
DB2 UDB
MySQL
SQLite
# Yeorwned 7/8/2010 8:10 PM
I don't see why you would want to spend any serious time on SQL Compact. If somoene is going to try to redistribute the framework to that level, they've got a lot of foot work to do anyway.
# webolize 7/9/2010 6:36 PM
This is fantastic!!!

Ease of development of SQLServer and cost of MySql, and super easy to deploy (no config changes - just ftp cuyahoga and run).

Plus since, Cuy uses NHibernate, it's easy to switch incase performance is needed.

Constructor and Martijn, if it's as good as it's written, it seems like SQL Server CE, maybe should be the default db that cuyahoga works with (just a thought).

# Constructor 7/9/2010 7:25 PM
webolizeThis is fantastic!!!

Ease of development of SQLServer and cost of MySql, and super easy to deploy (no config changes - just ftp cuyahoga and run).

Plus since, Cuy uses NHibernate, it's easy to switch incase performance is needed.

Constructor and Martijn, if it's as good as it's written, it seems like SQL Server CE, maybe should be the default db that cuyahoga works with (just a thought).

It may be another option but not default. It would probably suit small sites where SQL Server would not be required. I think the only way to find out is to test it and see how it performs. We need to find the 'cons' to the obvious 'pro' of no financial cost.

It reminds me a little of the old days of asp and Access database files :)