Re: GObject's property with _ issue

"Jukka Zitting" <[email protected]> Mon, 20 Feb 2006 15:22:25 +0200
Newsgroups gmane.comp.web.midgard.devel
Message-ID <[email protected]>
Hi,

On 2/20/06, Piotras <[email protected]> wrote:
> > I would go a step further, limiting schema field names to [a-z][a-z0-9]*. Not
> > all client languages (namely PHP) are case-sensitive when it comes down to
> > variable names.
>
> +1 from me , even for classes names.

-0 from property names, -1 for class names. This seems like a pretty
heavy restriction, but I suppose we could live with that if the other
alternatives are considered unacceptable.

My preference would still be to use the XML NCName production for
class and property names and define mappings for NCName => GObject,
NCName => SQL, and NCName => PHP.

> Jukka, will it hurt midgard-java binding a bit?

No problem there, properties are accessed using String names instead
of them being member variables like in Midgard-PHP.

BR,

Jukka Zitting

--
Yukatan - http://yukatan.fi/ - [email protected]
Software craftsmanship, JCR consulting, and Java development