Hi Ralf,
Ok. Thought it will be good for other purposes too. Remember it would have been an option set to false by default.
But if that conflicts with posix I’ll solve it from outside. Thanks for the hint.
Bye Christian
Ralf Becker rb@stylite.de schrieb:
Hi Christian,
Hi devs,
I want to extend sqlfs propfind to have an optional props inheritance.
Means that a file in “folder1/folder2/folder3/file.txt” can inherit
props of folder1, 2 and 3 (and in the end props of file.txt) where last
property wins if one prop is set on more than one level.
Any objections for that?
Yes, that is completely outside WebDAV and POSIX filesystem semantics.
What about handling that in your application logic: if you dont find
that property on the current file, look in it’s directory, or parent
directories.
That can be done with a single call to:
egw_vfs::propfind($urls, $namespace)
Specifying filename and all parents as array as $url parameter.
You should use an own namespace, so you can only query relevant
properties for your context, eg. “http://egroupware.org/$appname/”.
Just “http://egroupware.org/” is already used for custom fields, which
can have arbitrary names.
Ralf
Bye
Christian
Don’t let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
–
Ralf Becker
Director Software Development
Stylite AG
Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30
Email: rb@stylite.de
www.stylite.de | www.egroupware.org
Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer
VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany
Don’t let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers