Tango DeRailed,DeActive Nomen est Omen ?

Julio César Carrascal Urquijo jcarrascal at gmail.com
Sat Mar 1 20:28:05 PST 2008


OK, I've read most of what you suggested, and also found this post on 
the Sendero forum wich seems very interesting:

http://www.dsource.org/forums/viewtopic.php?t=3580


Bjoern wrote:
> Hi,
> just a few ideas about DDBI, DeRailed ...
> So, the Sendero folks gave up the idea of ORM, CORBA etc. instead :
> back to the roots: named DDBI. A good chance to reactivate DDBI but
> unfortunately the DDBI rowset discussion is  at a stand still so I'd 
> like to add a few sugesstions.
> 
> Let us use Java like DAO and a D-ish RowSet instead of Active Record.
> -----
> DAO is IMO a very good choice in case that you want to have a db 
> agnostic library.
> The required pattern are very well known. (factory, etc.)

Yes, DAO is a very successful pattern and there's not much needed from 
the language to implement it. That seems like a good plan.


> Implementing RowSet is difficult using traditional compiled languages 
> like D, so I suggest to implement LISP like lists in D.
> These Lists are able to contain any kind of data including other lists. 
> ('cause we just deal with void*)
> 
> Opinions ?

When you say "implement LISP like lists in D" are you suggesting adding 
LISP lists to the language or in a library? Because I think it a list of 
Variants as implemented on Tango would provide the same functionality.



> Bjoern
> 
> (Corba is indeed a bad choice in case that you have to deal with massive 
> service requests)

Yea, Corba is too heavyweight to be used for database access. Though for 
intranet services would be a nice add-on. Just not needed right now.




-- 
Julio César Carrascal Urquijo
http://jcesar.artelogico.com/



More information about the Digitalmars-d mailing list