Just a question - 'related records'

A place for users and developers of the Xataface to discuss and receive support.

Just a question - 'related records'

Postby jonbfl » Tue Sep 13, 2011 10:16 am

Hello all,

I'm working on an implementation plan for my research database.. I have an idea we will be able to jump start some things if I do the 'right thing' with some table driven fields whose data isn't ready -- using 'dummy records'.

which brings me to my terminology question - when I'm reading the Xataface Wiki and docs - should I take the term 'related records' to mean those records specifically supported by entries in a relationships.ini file???

I'm thinking, I'll create or assign a role that doesn't allow editing related records, and supply a default 'placeholder instead' for secondary tables that aren't ready.

Any ideas are welcome.

Thanks again.
8)
jonbfl
 
Posts: 66
Joined: Thu Jul 28, 2011 8:20 pm

Re: Just a question - 'related records'

Postby shannah » Tue Sep 13, 2011 6:41 pm

Yes. Related records are almost like regular records except that they are always dealt with in the context of a relationship. This allows you to disallow direct access to a table while still allowing users to add records to the table via a relationship from another table. Notice that there are some permissions that are specifically there for relationships. (e.g. add new related record, add existing related record, remove related record, etc...). You can define different permissions for different relationships also via the rel_relationshipname__permissions() delegate class method.

Big topic... but that's just a quick overview...
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 19 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved