Tiernan OTooles Programming Blog

code and programming stuff from the hairy bloke!

thinking of a new app, but thinking problems are there...

Ok. I am thinking of a new blogging app, but i dont know what to do with it yet. it will be a desktop blogging application, and i dont know weather do use SQL Server Express or XML. SQL Server Express has some major advantages over XML, but XML has its advantages too. So, the advantages of SQL Server are:
Speed: Very fast for queries
Managability: Single file with the DB in it.
Support: Fully supported by the .NET Framework, and its SQL too.
Ease of programming: Because its SQL, its a lot easer to program for, and it ties directly in with the .NET frame work and IDE.

Disadvantages:
Size: Ok. my app could be up to a meg is size, maybe a little more, but i have to get the .NET framework 2.0 and SQL Server Express to the users machine. I know the .NET 2.0 boot strapper could help, but its still a hefty download for the users, and if its only a 1 or 2mb file, some are just not going to download!

I cant think of any other disadvantages to SQL Express, but if you have any tell me!

when it comes to XML, the only advantage of XML is the size of it. Its basicly the oppisite to SQL Server Express. i know i can write and read XML with the Dataset, but i still have to do some code to find stuff i want in there, and theres no real Query Language for data sets. So, its really a toss up between size and speed (etc). What would you choose?

Posted: Sep 17 2004, 11:51 PM by tiernanotoole | with 2 comment(s)
Filed under:

Comments

Keith Reid said:

Disadvantage to SQLE:
Well something you probably know about, but just haven't mentioned, is that SQL Express is another running service on the users machine. There is still the concern for exploit on any running services.

Using XML you'll almost need to mimic the "tables" you would have used in SQL within XML somehow.

There is a query language for XML (XQUERY), and you can use filter criteria on datasets to find specific records. Keep these in mind.
# September 18, 2004 7:11 PM

Tiernan O'Toole said:

thanks for that. i will keep these in mind when specing out the app.
# September 20, 2004 3:30 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)