[Seaside] Database Integration

Adrian Lienhard adi at netstyle.ch
Thu Jun 1 19:32:53 UTC 2006


I'm not sure whether the complete abstraction is only a positive  
thing. The fact that RoR just "does it for you" may be nice for demos  
and simple apps but if your needs get more complex you want to have  
some sort of control. I don't know RoR well, but from what I saw it  
does not seem to support tweaking the automatically generated code  
because round trips cannot be handled (you just loose your changes  
the next time you change the DB schema and generate the code).

Seaside does not deal with persistency at all. I think that's a good,  
after all, it is a web application framework. You are free to use  
whatever persistency solution which works best for you.

If you need something that lets you go fast I suggest you to try  
GOODS or Magma, which are very transparent concerning what you have  
to deal with when writing your app. For a relational DB (e.g.,  
Postgres), the ROE framework is interesting...

Cheers,
Adrian

On Jun 1, 2006, at 18:31 , Dan Shafer wrote:

> Before I returned to my Smalltalk roots, I took a side trip into  
> Ruby on Rails. I never got very good at it (I think maybe I'm too  
> old to learn such fancy new tricks) but I did understand it  
> conceptually and admired it. Seaside seems, in some ways, to be an  
> improvement even on the wildly popular Rails. Except for one thing.
>
> One of the main things Rails does for you as a developer is  
> completely abstract out the necessity of dealing with the database.  
> And since most Web apps -- at least the ones I'm planning to build  
> -- have databases behind them for one reason or another, this is  
> kind of important. As far as I can tell, at least, Seaside leaves  
> the issue unaddressed. Is that because Smalltalk apps are less  
> likely to *use* databases or because of capabilities built into  
> Squeak/Smalltalk that can be taken advantage of without having to  
> put more code into Seaside or is it in the planning stages or what?
>
> Dan
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the Seaside mailing list