[sync] Integrating SyncML in other projects?

Eero af Heurlin eero.afheurlin at nemein.com
Mon May 30 03:22:19 PDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Marc Worrell - Mediamatic wrote:
> Good morning,
> 
> Does anybody know someone who has experience in integrating SyncML in 
> other projects?
> 

I've promised (and have yet to keep it, currently it doesn't look good
as I've got more paying customers in line than I can handle...) to write
up on my experiences integrating the 3.0.4 release version of SyncML to
another project (www.openpsa.org).

Since this project runs on Midgard application server the integration
was a bit tricky, key points:

 * Create a class to handle Midgard authentications in Horde (using the
horde auth plugin framework, change horde configuration (on the fly to
avoid breaking horde when used normally) to use this as auth backend.
 * Create very skeleton Horde component (basically has only API and some
dummy file required for the component to load) and change Horde registry
on the fly to use this component for calendar functions.
 * Modify the OpenPSA Calendar component to store Horde history if horde
is configured.
 * The actual syncml server script was originally based on the Horde
rpc.php, though once I got things actually working very little original
code remained (the run-time configuration/registry manglings are done
there).

See http://www.nemein.com/people/rambo/calendar_syncml.html

In general it was less painfull than I expected but still there were
some interesting things to handle (while Horde generally has sensible
namespacing for variables the global configuration is in $conf).

/Eero
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCmulak2FlZlXdE74RA6fMAKCgEB2FMXMWUePCGmHH/yOPmoonzQCcCy8P
BRk3HdAQ/eYdCXH4bYk7jEw=
=IMrC
-----END PGP SIGNATURE-----


More information about the sync mailing list