Re: 1.8 issues

Torben Nehmer <[email protected]> Tue, 07 Mar 2006 13:36:26 +0100
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

- --Piotras wrote on 2006-03-07 13:29:
>> > I am still against having different separators depending on context. Reasons
>> > have been elaborated in detail. The short version: API consistency and Ease of Use.
> 
> OK, I do not say -1 or +1. I just think that it brings ( and will ) some limitations 
> to property names. Once we can support one separator we must forbid property 
> name like 'attachment'.

I would have no problems with that (it should just be documented ;-)).


Another idea that just came me, what about prefixing restricted names with an
underscore?

$qb->add_constraint('_metadata.created',...);

I'm not really sure if this is better then having a : vs . distinction though.
If I had to choose, I'd stick with the reserved property names instead of this
alternative. Just wanted to mention it.


Live long and Prosper!
Torben Nehmer

- --
Torben Nehmer, Guenzburg, Bavaria, Germany
http://www.nathan-syntronics.de, mailto:[email protected]
PGP Public Key: https://www.link-m.de/pgp/t.nehmer.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEDX5KJPh4Kn6d5FYRAgQIAKDE81ehVkOIyGY0OjtWeGHo0/HwuwCg1mxG
dL1TkbpbCMqZY5KdXO3vti0=
=ArdV
-----END PGP SIGNATURE-----