TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Choosing an ORM strategy

20 pointsby fogusalmost 13 years ago

3 comments

sophaclesalmost 13 years ago
I feel the notion of "ORM strategy" is fundamentally broken. The idea of an ORM is to allow your object model to match the program, and your data model to match your DB/data/etc. An ORM strategy feels like point missing, it is a tool to allow interaction with data, not the data model itself.
评论 #4271074 未加载
bborudalmost 13 years ago
I have a brilliant ORM strategy: don't.
Xurinosalmost 13 years ago
To the folks putting down ORMs: what is your alternative to solve the same problems? (A positive note would be nice.) For my work, using something with a Data Mapper strategy has been useful.
评论 #4271335 未加载
评论 #4271117 未加载