Re: Django client
"Bruce D'Arcus" <[email protected]> Tue, 24 Feb 2009 15:16:36 -0500
| Newsgroups | gmane.text.refdb.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Feb 24, 2009 at 10:49 AM, Torsten Bronger <[email protected]> wrote: > Hallöchen! > > Bruce D'Arcus writes: > >> [...] >> >> So what, then, are relevant class models you are thinking of? > > The low-level Python module will implement the classes Reference and > ReferenceList. Reference itself contains the classes Part, > Publication, Set, PubInfo, LibInfo, and Author. The other elements > and attributes of RISX are realised through class attributes. Sounds good. I'd change Author to something more generic though (Contributor) and maybe subclass it if necessary. >> Might there be a way to design them in such a way that someone >> could later use a Django-native model instead (for those that >> don't want to install RefDB)? > > No. I cannot -- and don't want to -- re-engineer the 1,000,000 LOC > of RefDB. On the contrary, the current plan is to have no database > models in the Django app at all. No, that's not what I'm saying (though reimplementing a good chunk of what RefDB does in Python/Django would require hundreds of lines; not a million). I was more just wondering if it'd be possible to leave room for others to do that later. But that might be a bad idea. >> BTW, awhile back I started working on a collection of little Django >> apps to manage my own academic content. The "document" app model code >> is here: >> >> <http://github.com/bdarcus/django-scholar/blob/7c06b6b2fd8cda77299e25406d6dc163a8e6ec71/documents/models.py> >> >> I went with a much lighter-weight alternative though, so gave up working on it. >> >> <http://github.com/bdarcus/mysite/tree/master> > > Nice, but this looks very different, more like a scholar version of > a Personal Information Manager. ;) Correct. Bruce ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H