Re: zogi - birthDate attribute of Contact

Adam Tauno Williams <[email protected]> Wed, 11 Jun 2008 22:28:20 -0400
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
> I haven't done much with Lua either, but I've had it on my radar for a few 
> years for precisely such situations.  However, after looking at the Lua 
> xml-rpc binding, I decided to complete my own native code instead, just to 
> minimize the number of layers involved.  Since there are so few exceptions 
> to the value-types in the structs, it's easy enough to have a bit of 
> conditional code to work round it.

Your code is in C?  If your interested I'm willing to host your binding
in the zOGI project on Google in the Bindings section.  A very thin
binding might be useful in other places.

One oddity to be on the lookout for is "is" attributes;  like
"isAccount", "isPrivate", etc... These should always be 0 or 1.  In some
cases in these were '' or 1 since nil encoded to an empty string instead
of a 1.  I *believe* I've fixed all of these but it is possible I've
missed one - if you find any it is a bug and I want to fix it in zOGI.

Aside;  why don't these database fields just default to 0 rather than
having three conditions: null, 0, or 1?  Would be cleaner, IMO.

> > No, not a waste of time, it is a legitimate issue.  A large part of
> > making a friendly environment for developers is squashing all the little
> > stupidities/inconsistencies every-single-developer is otherwise burdened
> > with (a) knowing about and (b) working around.
> Thanks.  Considering how much is provided by OGO, and the help on this 
> list, AND how easy you and Helge have made getting a working installation 
> going, I'm astounded that OGO is not better known.  Ninety percent of the 
> things that have slowed me down in this evaluation have been to do with 
> getting my own installs of Postfix and Cyrus working, rather than problems 
> with OGO.  I'm very happy with everything I've seen.  I'll get round to 
> learning ObjC soon, and start looking at the code too.

Some response to this over on discuss@
<http://mail.opengroupware.org/mailman/listinfo/discuss>

-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc