Topics

programming

php drupal scheme scheming macros design patterns da la

design

design css

random thoughts

scribbles

alter ego

other me 'em that link us my space me linked in

Collections

Programmable web
PHP design patterns

Similar things

  • Relation modules
  • Relations battle plan
  • Relations Battle Plan II and first results
  • Going mad talking about relations
  • Relations and their domain structures
  • Once again relations, or the need to focus on smaller parts of the big picture. A rant.
  • Relations API - query generation and TODO
  • relations update
  • Relations, declarative knowledge and inference
  • Relations api and SQLGEN

Home » blogs » vlado's blog

A pause for thought and some cut backs

Submitted by vlado on Wed, 2006-01-11 11:05.drupal | programming | projects | relations | scheme

I've been reading. Scheming. And I stumpled upon SchemeUnit and SchemeQL: Two Little Languages. I liked the paper. Especially the SchemeQL part. It does state my (intellectual) motivation behind writing relations/sqlgen.

  • SQL statements are not checked until execution time. That is error prone.
  • SQL statements are not host language statements. They can't be used in the same way or manipulated as the host language statements. Except by using crude text processing, one cannot programatically compose, abstract and refine embedded SQL statements. Code quality and productivity suffers.

The downside is that the SQL produced code, at least initially, will be sub-optimal. But hey, do you write in Assembler? If yes, in what cases?

vlado's blog | add new comment
Home » blogs » vlado's blog

dikini.net

spreading confusion by accident since 1970