Alexis Smirnov
Thinking about software




Friday, May 23, 2003
 

Not long ago I’ve talked about a utility called xsd2db that we use to create a database schema directly from .XSD files. A few people told me they about different scenarios where such tool could be useful. John writes re-writing Pet Shop using code-generation tools. To me, it looks like xsd2db could help.

So to put the bits where my mouth is, I’ve created a project on SourceForge to share the code and let others contribute.

I know this initial release works in our environment (.NET 1.0, Sql Server, VS.NET 2002). But there’s plenty of room for improvement of course. The utility can easily be extended to support other databases (Teradata is next on our list). 0.1 version can only create new databases from scratch. A neat feature that would be nice to have is the ability to merge existing database schema with .XSD file. In other words, being able to update (refactor?) existing database schemas using XSD. Comparing a DB schema with a given XSD file is another useful thing to have. It is all about unifying relational and object-oriented data structures. What do you want xsd2db to be? Who knows how far this experiment will go.

As added benefit it gave me a chance to compare SF projects with GDN workspaces. Early results: 10 minutes to set up GDN workspace. 2-3 hours to figure out SF and CVS setup. Needless to say SF/CVS combination is clearly more powerful platform with much more features than GDN/VSS, but it comes with a bit of a cost.


    

 Sam points to VB performance benchmark on MSDN.

Take a look at this beauty:

What I find amazing is the consistency of performance improvements that Windows, .NET and VB teams has managed to maintain while adding more and more usability features to their platform over the years. While the benchmark focuses on VB, the credit for these results must be given to Windows and .NET as well.  Conventional wisdom says the more layers of indirection you put in the framework, the less performant it becomes. Clearly, strong focus on performance can reverse this trend.


    


Subscribe to "Alexis Smirnov" in Radio UserLand. Click to see the XML version of this web page. Click here to send an email to the editor of this weblog.
Site Statistics
© Copyright 2003 Alexis Smirnov.


Last update: 6/4/2003; 9:59:41 AM.

May 2003
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Apr   Jun

Aug 2002