4 ms·
I'm a noob when it comes to designing and implementing programs that interface with a relational database. Based on my small experience so far with an ORM, I'd
by Lagged2Death 15y ago
I'm a noob when it comes to designing and implementing programs that interface with a relational database. Based on my small experience so far with an ORM, I'd say this post is spot-on, clearly articulating the frustrations I've felt on my project. A friend of mine even wrote a blog post about the problems I've had:
http://es-cue-el.blogspot.com/2011/03/entity-framework-and-inheritance.html http://es-cue-el.blogspot.com/2011/03/entity-framework-and-i...
That said, though, I do wish there were more detail on this point:
The programming world is currently awash with key-value stores that will allow you to hold elegant, self-contained data structures in huge quantities and access them at lightning speed.
I'd love to know more about such libraries, frameworks, or tools, but this isn't a lot to go on.
- ebiester 15y agosearch for noSQL. He's right that it's a misnomer, but it's hard to give a recommendation because they are optimized for different use cases. http://en.wikipedia.org/wiki/NoSQL http://en.wikipedia.org/wiki/NoSQL gives a good set for the various use cases.
- rahoulb 15y agoI suspect a major problem with ORMs is that a number of people are using them without a full knowledge of SQL beforehand. Relational databases are complex and you need to understand what's going on if you want to make best use of them. I've never had any issues with ActiveRecord (although I agree that it's mixing of data access and business logic can be a problem) - but I also know what needs joins, which columns to include, which indexes to use, when to drop to raw SQL; all from years of writing complex SQL and stored procedures by hand (and I never want to go back to that). And I don't ActiveRecord to magically guess that stuff for me.