[Cuis] 'Internals' questions

Phil (list) pbpublist at gmail.com
Tue Jan 27 03:13:46 CST 2015


On Mon, 2015-01-26 at 20:53 -0800, Casey Ransberger wrote:
> >> Whatcha doin' with FFI?
> > 
> > Prototyping a database app idea I have.  I was starting down the path to
> > yet another silly web app in a language I won't mention.  Then realized
> > 'hey, I could probably do a big chunk of this in Smalltalk in a fraction
> > of the time'... if only I could automate the database sync at
> > startup/shutdown.
> > 
> > Probably going to start with SQLite and if everything goes well move
> > over to a multi-user DB down the line.
> 
> Before you spend too much time inventing that, you should know that there's a database interface, not an ORM like... oh whatever that thing was called, but a DB interface that uses FFI and you can make queries with Smalltalk statements. If you google around a bit, you'll find it. I think it might have been called DBX or something like that. Development seems to have shifted to Pharo, but...
> 
> I suspect it might be more productive to make the existing thing work with Cuis than to invent another thing that does the same job. DB interfaces over FF interfaces are going to be complicated beasts, and likely a lot of work. 

Thanks for the tip, I'll look into it.  It sounds like it might do the
trick as I'm definitely *not* looking for ORM here, just a basic
interface to the database (sometimes a table is just a table.)

> 
> Anyway, cool to hear about someone with a want to do database stuff with Cuis!
> 

Someone has to do it! :-)

> Cheers,
> 
> Casey 
> 






More information about the Cuis mailing list