[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [phpGroupWare-developers] SyncML interface, code release 1
From: |
Dave Hall |
Subject: |
Re: [phpGroupWare-developers] SyncML interface, code release 1 |
Date: |
Wed, 18 Jul 2007 21:07:08 +1000 |
On Wed, 2007-07-18 at 12:33 +0200, Johan Gunnarsson wrote:
> On 7/18/07, Guillaume Courtois <address@hidden> wrote:
> > > * WBXML support. A binary XML format heavily used by mobile devices to
> > > reduce bandwith. Still looking for solutions to this. I have been
> > > eyeing the WBXML PECL extension, but it has some drawbacks.
> >
> > I have a php pimplementation of that, but it still needs some work. I'll be
> > happy to help, unfortunately I'm on holidays saturday. Do you want me to
> > send
> > you the php lib file ?
> >
>
> Cool. Please send it over and I'll have a look at it.
>
> What I'm actually is looking for is something that can write WBXML
> directly, so I don't have to first write XML and then convert.
I was doing a google search to learn more about the WBXML format so I
could suggest which approach is likely to be the best in terms of speed
of development and code maintainability.
I am still not sure, but I did find
http://www.devx.com/xml/article/16754 which is a general discussion, and
links to http://www.devx.com/xml/article/16757 which discusses using
java to do the parsing on the fly
For now, I would suggest the following approach:
* Grab gugux's code
* Check if the input is wbxml if so convert it to xml (and back again on
the way out)
* Later benchmark the PECL code vs gugux's code if the PECL version is
measurably quicker, include a check for the PECL module, if it is loaded
and use it
* Evaluate parsing it on the fly
Cheers
Dave
--
Dave Hall (aka skwashd)
API Coordinator
phpGroupWare
e address@hidden
w phpgroupware.org
j address@hidden
sip address@hidden
_ ____ __ __
_ __ | |__ _ __ / ___|_ __ ___ _ _ _ _\ \ / /_ _ _ __ ___
| '_ \| '_ \| '_ \| | _| '__/ _ \| | | | '_ \ \ /\ / / _` | '__/ _ \
| |_) | | | | |_) | |_| | | | (_) | |_| | |_) \ V V / (_| | | | __/
| .__/|_| |_| .__/ \____|_| \___/ \__,_| .__/ \_/\_/ \__,_|_| \___|
|_| |_| |_|Web based collaboration platform