News for hackers. Stuff that matters.
Re:Type Driven Domain Modelling, Part 2: Evolving Models wit... by tejasv on Saturday February 04, 2017 @07:09PM (#13569916)
I've taken the approach of converting my models to XML, mostly because they map 1:1 from F#-land to XML-land, and I can use SQL Server's XML Indices, but most importantly, I can use XSLT to evolve my persisted models upon change change to F# code.

Then using a bit of F# Quotations, I can convert most match queries to XPath queries and query SQL Server directly (still work-in-progress).

But running into performance problems, so it's not 100% done.

http://stackoverflow.com/questions/41949177/f-data-types-sql...

Re:Type Driven Domain Modelling, Part 2: Evolving Models wit... by daxfohl on Saturday February 04, 2017 @09:42PM (#13570509)
Yeah, I did the first part a couple years ago too. I also put the whole thing behind a VCS so we'd have version-controlled data. But, yeah, it didn't scale well enough and I ended up dropping that for mongodb, and later for postgres.