开发者_开发百科
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this questionSorry I want to learn Python, and was curious if Reddit's codebase uses any sort of ORM?
Have a look: http://code.reddit.com/browser/r2/r2/lib/db/
Yes. Reddit uses the Pylons framework, and relies on the SQLAlchemy framework for its own ORM layer. However, SQLAlchemy is a fairly low-level ORM library as far as ORMs go, and so Reddit has a fair amount of custom code that makes the ORM stuff work.
精彩评论