|
From: | Andrew Gwozdziewycz |
Subject: | Re: [Chicken-users] A call to arms |
Date: | Thu, 22 Jan 2009 07:18:54 -0500 |
On Jan 21, 2009, at 12:55 PM, Mor Phir wrote: I want it to be the Django for schemers only that I am using chicken. I want this to scale easily. Deploy more servers -> load balancing. I was with you until this. I want a storage backend that just works, be it stored in XML, metakit, Sqlite, MySQL, Postgres, Berkeley DB. But the kicker is, I want the same interface to work regardless of the storage engine. One might define a "user" storage unit as: (define-storage user (columns (id integer) (username (string 50)) (password (string 50)))) which generates a `define-record` like set of methods (e.g. make-user, set-user-id!, set-user-username!, user-username, etc..) It would also add (user-save storage), and (user-find storage args), and other appropriate things. A while ago, I started on something like this, but didn't get all that far (just a macro to generate some of the procedures, and enforce the "type" constraints). I believe that data access is the thing holding us back. There are already flexible ways to define resources in the Chicken eggs. There are already ways to connect Chicken to fastcgi and others. Web-unity makes it possible to connect to a bunch of different things by changing only a little bit of code. We should not abandon the work that's already done in this area. We should instead, identify the pieces that aren't there at all, and collaborate on unifying everything else that is into one library like Django, or Rails, or whatever else exists. Just my 2 cents. Andrew |
[Prev in Thread] | Current Thread | [Next in Thread] |