Fixing up our identity mapper
A technical guide on implementing an identity mapper with caching optimizations in Django to reduce database queries.
A technical guide on implementing an identity mapper with caching optimizations in Django to reduce database queries.
Django 1.1 introduces F() expressions for database queries, enabling field comparisons and arithmetic in filter() and update() methods.
A tutorial on implementing a basic identity map pattern in Django to optimize memory by ensuring duplicate database objects are represented by the same Python instance.
Explains the new aggregate and annotate query syntax for Django 1.1, detailing how to perform calculations like MAX, MIN, and COUNT on data.
Explains how to create an efficient timeline view in Django by merging multiple sorted querysets to minimize database queries.
Argues that perfectly uncoupled code is impossible, using Django's ORM and admin as examples of necessary coupling to specific APIs.
A developer highlights key upcoming features in Django 1.1, including ORM aggregation, model validation, and class-based generic views.
A technical deep dive into how Django models work internally, focusing on the ModelBase metaclass and the class creation process.
A technical guide on creating a generic LazyForeignKey field in Django to simplify foreign key relationships and add custom manager functionality.
A guide to creating a custom Django ForeignKey field that automatically generates a manager to filter objects by user, simplifying user-specific queries.
Announcing the release of Hades 0.2, a JPA and Spring-based library for domain class and DAO development.
A summary of a talk by Spring JDBC lead Thomas Risberg on performance tuning for data access in Spring applications, covering JDBC, transactions, and ORM configuration.
A developer troubleshoots an NHibernate error when switching to SqlClient, explaining the mapping issue and solution.
A guide to using a custom MyGeneration template for automatically generating Zend_Db_Table classes from a database in PHP's Zend Framework.