Posted by mki on December 15, 2006 at 1:49pm
"Relationship" I understood as relationships between fields (nodes are many relationships, which are subject of more advanced process).
Wanted features:
- Powerful and without limitation thanks to the most abstract (see: "everything is a field", compare this to: Global CCK fields, A controversial(?) point: store translations as nodes).
- Build-in categorization features.
- Build-in views features (listing fields, not necessary nodes).
- Build-in menu features.
- Support for Semantic Web/Microformats/similar.
Observations about current situation:
- Drupal still need and looking for relationships system that will be include to the core.
- There are several modules that providing this partially and in different way, e.g. Relationship, NINA, Eaton's proposal, Category, Subform, Nodereference, Editview (sorry for didn't list all) and Drupal enhancement proposal: Relationship API.
- We need to join current deep-rooted idea, e.g. taxonomy, menu system, with the new (small revolution), solve many problems, e.g. high-performance, create well thought out readmap to this changes.
- I dream of searching relationships-categorization system for Drupal 6 core like in case i18n. I hope Gábor, as he said, will move this forward.
Comments
Sounds like a really
Sounds like a really interesting idea. Although I think it would be a good idea, I think it would increase the learning curve for drupal. I think your right in shooting for v6 because maybe by that time we will have drupal distributions so it won't be so much of an issue.
http://xamox.NET
You forgot clipper.
.. which is simple, but works like a charm. The module itself is not a relationship API, but it uses a standardised relationship table. shazamgallery uses the same table, for example.
http://www.webschuur.com | http://bler.webschuur.com
Sorry, yet I wrote this
Sorry, yet I wrote this without the intention of listing all diverse projects (so most likely not only clipper wasn't listed), just in order to some common solution to Drupal core.
How is this relationship
How is this relationship module/functionality related to the "relationship" defined in the sub-form module(http://drupal.org/project/subform).
It seems to be talking about establishing relationship between CCK content types. It seems very useful to me.
It would also be useful to establish relationships between actual instances of CCK content types.
Is this the same. If not, should they be?
Sarvi
Subform module can establish
Subform module can establish which content type can be relateted to other content type, and on this basis, establish relationship between nodes, that belong to above-mentioned content types. This looks like:
content type 1 }----{ content type 2 || || \/ \/ node 1 }----{ node 2But in this story, I am talking about any kind of relationship:
field }--{ field node }--{ field content type }--{ content type anything }--{ anythingSome useful information you can find in SuperClasses, SubClasses and Instances by dman.
relationship is the right module for this to be based on
If you want something as broad and powerful as that then surely relationship is the module you want to base it off. Relationships could work with CCK, is RDF ready, can easily accomodate microformats and everything else on that list. My feeling is that the only reason drupalers havent jumped on this is that its probably too far ahead of its time 9as far as drupaklers are concerned). But Im convinced eventually drupallers will only end up building the same functionality via a long tortous, less standards based and more difficult route.
http://drupal.org/project/relationship
Relationships API
I'd like to refer to [development] relationships API vs i18n discussion on lists.drupal.org.
I was thinking about:
just like in CCK, where we have node super-class, and content types sub-classes with own tables.
For example:
Object and subject fields can have different database types, so we can establish every type of relationship, for example between node (nid INT) and resource from outside (url VARCHAR). As well, also every relation table can have peculiar fields for storing some additional information, like translation language or something else.
example between node (nid
example between node (nid INT) and resource from outside (url VARCHAR). More plz?
my site:altonia
alltonia