sergio_101 wrote >> I would say that it depend is the showing is an important part of your >> domain. >> Else you can either have dictionaries or collections on both movie and >> theater. > > so, either way, i am not breaking any best practices?
A Theather will probably have many MovieShow's, which will have in which room it will be shown, the showtime, and the actual movie title, which may be the same but with variants (translated, subtitled, 3D, imax, or those combined), you could also reify the combinations based on language, subtitles (lang, or none), etc. And this is an overly simplified analysis of a domain I barely know. Magritte provides descriptions for these relations, and will create editors based on such relations. I don't know if there is any Magritte-Glorp integration to manage that. Regards! -- Esteban -- View this message in context: http://forum.world.st/simulating-has-and-belongs-to-many-HABTM-tp4649319p4649351.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
