[Seaside] [Q] Tag-Note relationship, any suggestion?

Sebastian Sastre ssastre at seaswork.com
Thu Apr 10 14:52:49 UTC 2008


Hi Chun,

	yes you can store that in magma if you want and there is no mapping needed. Depending on volume consider to evaluate well before migration.

	cheers,

Sebastian

 

> -----Mensaje original-----
> De: seaside-bounces at lists.squeakfoundation.org 
> [mailto:seaside-bounces at lists.squeakfoundation.org] En nombre 
> de "S.J.Chun"
> Enviado el: Jueves, 10 de Abril de 2008 05:11
> Para: Seaside-generaldiscussion
> Asunto: [Seaside] [Q] Tag-Note relationship, any suggestion?
> 
> Hi, 
> 
> my web application uses following classes; 
> 
> NOTE: which has "contents" and "tags" 
> TAG: which has "name" 
> 
> What I want is getting notes using tag and simple but crude 
> idea could be 
> using dictionary and set; 
> 
> MainDBDictionary(an instance of dictionary). 
> 
> inserting: 
> MainDBDictionary at: #SomeTagName put: 
> (aSetOfNotesUnderThisTag add: aNewNote) 
> 
> fetching: 
> MainDBDictionary at: #SomeTagName 
> 
> current implentation does not above model; in fact I'm using 
> SQLite but I want to remove 
> dependency on SQLite or other RDB. 
> 
> Can above model be directly mapped into OODB? For example Magma? 
> If not, any suggestion on better design or 
> reference/documentation on this? 
> 
> Thank you in advance. 
> 
> 



More information about the seaside mailing list