GObject usage in libsyncml

View: New views
2 Messages — Rating Filter:   Alert me  

GObject usage in libsyncml

by Michael Bell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

actually I prepare the plans for the 0.6.x series of libsyncml. My idea
was to make the code ready for servers. Nevertheless I check the API
before I do this.

Do you think it is a good idea to use GObject for the libsyncml 0.6.x
series? I already plan to replace SmlBool and SmlError by gboolean and
GError. libsyncml should be more "object oriented" and glib is already
used by libsyncml. So perhaps GObject would help the people who like
more object oriented code even if it is still plain C.

It's just an idea ... so please give comments.

Best regards

Michael
- --
___________________________________________________________________

Michael Bell                        Humboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482           ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704           Unter den Linden 6
michael.bell@...       D-10099 Berlin
___________________________________________________________________

PGP Fingerprint: 09E4 3D29 4156 2774 0F2C  C643 D8BD 1918 2030 5AAB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ/wL42L0ZGCAwWqsRAq7rAJ9UiSy4+zjecKZf9WzydkAa9j8XCwCgkuUk
DuL5yynYnu+cmY3bgyh6vLc=
=mzVt
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: GObject usage in libsyncml

by John Carr-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, May 4, 2009 at 4:00 PM, Michael Bell
<michael.bell@...> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> actually I prepare the plans for the 0.6.x series of libsyncml. My idea
> was to make the code ready for servers. Nevertheless I check the API
> before I do this.
>
> Do you think it is a good idea to use GObject for the libsyncml 0.6.x
> series? I already plan to replace SmlBool and SmlError by gboolean and
> GError. libsyncml should be more "object oriented" and glib is already
> used by libsyncml. So perhaps GObject would help the people who like
> more object oriented code even if it is still plain C.
>
> It's just an idea ... so please give comments.
>
> Best regards
>
> Michael
> - --
> ___________________________________________________________________
>
> Michael Bell                        Humboldt-Universitaet zu Berlin
>
> Tel.: +49 (0)30-2093 2482           ZE Computer- und Medienservice
> Fax:  +49 (0)30-2093 2704           Unter den Linden 6
> michael.bell@...       D-10099 Berlin
> ___________________________________________________________________
>
> PGP Fingerprint: 09E4 3D29 4156 2774 0F2C  C643 D8BD 1918 2030 5AAB
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJ/wL42L0ZGCAwWqsRAq7rAJ9UiSy4+zjecKZf9WzydkAa9j8XCwCgkuUk
> DuL5yynYnu+cmY3bgyh6vLc=
> =mzVt
> -----END PGP SIGNATURE-----
>

Hi Michael,

It's going to be great to see GError in use (will work much nicer with
Vala, for a start).

One big advantage of a move to GOjbect is automatic binding generation
through gobject-introspection.

http://live.gnome.org/GObjectIntrospection/

This project also benefits Qt users:

http://www.kdedevelopers.org/node/3878
http://www.kdedevelopers.org/node/3894

And even without g-i, there are established (easy) ways to bind to
python, java, c# and i guess c++.

John

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel