Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we generalize from File to Location? #1

Open
seandenigris opened this issue Feb 17, 2016 · 1 comment
Open

Can we generalize from File to Location? #1

seandenigris opened this issue Feb 17, 2016 · 1 comment

Comments

@seandenigris
Copy link
Owner

The original title of this issue was "Model File or Domain Object?" e.g. Email vs. EmailFile.
In my experience so far, it seems important that the Domain is the primary object. Maybe it uses a specialized file object underneath. In fact, the question seems to be even bigger: maybe there's a generalized location underneath, of which a file could be one, but a pointer to a physical resource (e.g. "in my file cabinet under 'z'", or a resource on the web (e.g. an article, youtube video)

@seandenigris seandenigris changed the title Model File or Domain Object? Can we generalize from File to Location? Feb 23, 2016
@seandenigris
Copy link
Owner Author

Right now, there is RlPhysicalResource and it's a subclass of RlResource, but the problem is that all the other subclasses represent digital files, so it has very little in common with them. OTOH, it's convenient to be a subclass for e.g. Magritte to fill options with #allSubclasses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant