|
From: Andy T. <an...@ha...> - 2002-02-08 08:31:37
|
Patrick K. O'Brien wrote: > My take on this is that a Hypercard application could be seen as a > collection of persistent object instances. In this case, each object > instance also knew about its display properties and could override them. So > the *class* would be "defined" to have a particular background (with a set > of buttons, etc.), but each *instance* (card) could have specific additions > (different background). > > It seems to me that one could replicate much of this behavior using the > ZODB. But that would imply that we wanted the display mechanism and the > object data to be tightly intertwined and both stored in the database. That > is not how the Pythoncard framework is designed now. And I'm not sure > everyone would agree that this is a good idea. At the same time, I don't > think it would be too much of a stretch to imagine all the Pythoncard > resource files existing in the ZODB for the app. But then we have the same > problem as Zope - programmers want these kinds of things to be text files, > not buried in the database. > > Just a bit of rambling. Rambling, possibly, but I think you have hit the nail on the head. Our guiding principle should always by K.I.S.S. - no, not the make up addicted band, but "Keep It Simple Stupid". We should make our central framework as elegant, simple and thin as possible but make it easily extensible. Our default choices for such things as persistent storage should be available to everyone, but expandible to include more complex solutions for those who require them (e.g. oodbms, rdbms, etc.). > > --- > Patrick K. O'Brien > Orbtech > > >>-----Original Message----- >>From: pyt...@li... >>[mailto:pyt...@li...]On Behalf Of >>Francois Granger >>Sent: Sunday, January 06, 2002 3:22 PM >>To: pyt...@li... >>Subject: Re: [Pythoncard-users] What Do We Call These Things? >> >> [snip original message] >> Regards, Andy -- ----------------------------------------------------------------------- From the desk of Andrew J Todd esq. "Another year older, still no wiser." - Me, on my birthday |