Entries published on July 4, 2006
Independence Day
In CONGRESS, July 4, 1776.
The unanimous Declaration of the thirteen united States of America,
When in the course of human Events, it becomes necessary for one People to dissolve the Political Bands which have connected them with another, and to assume among the Powers of the Earth, the separate and equal Station to which the Laws of Nature and of Nature’s God entitle them, a decent Respect to the Opinions of Mankind requires that they should declare the causes which impel them to the Separation.
We hold these Truths to be self-evident, that all Men are created equal, that they are …
JavaScript, ORM and “hiding SQL”
So my little rant on AJAX support in Django apparently touched a nerve with a couple people; that means it’s time to write more about it.
One of the common points people have been raising, in comments and elsewhere, is that I shouldn’t rail against “hiding JavaScript from the developer” when Django’s ORM already hides SQL from the developer; from the perspective of a server-side developer, SQL is just as important, right?
Yes, SQL is just as important. But having ORM isn’t “hiding SQL”.
What ORM is
The intialism “ORM” stands for “object-relational mapping”, which should give away what …