Feature Requests: Browse | Submit New | Admin
Hi Tom, Right now, writing an evolution backend requires quite a knowledge of how evo works and it's internal api, (and I find it's not really that well documented). It would be nice if revolution would allow us to write calendar/task/contact_book backends in pure ruby. V. Seguí
Add A Comment:
Date: 2005-08-11 08:23 Sender: Vicent Seguí Hi Tom, I've found this page wich talks about implementing a backend (among many other things about evo): http://go-evolution.org/EDS_Architecture#Calendar It seems quite straightforward (no dbus/corba magic). I just have a doubt on how we can make a ruby binding, Since it's eds calling us this time, every function would have to call our class, which means that every class we have must have it's own module. E.g. class MyCalBackend < Revolution::Backend end Then the makefile will have to generate a libMyCalBackend.so that we must place in the appropiate dir. I have a feeling this is clumsy, but I otherwise see no way around it. V. Seguí
Date: 2005-08-10 20:54 Sender: Tom Copeland Cool, sounds good. Good stuff is happening with Evolution these days; it's cool that Tor is porting it to Windows as well. He's cleaning up all kinds of things along the way, it seems. Yours, Tom
Date: 2005-08-10 20:34 Sender: Nobody Hi Tom, I've just checked the list and it seems that there is an EDS port to Dbus on track(*), so I think we can wait until that gets in (it seems like it will be soon). OTOH, eds backends can be built from libraries or CORBA. (*) http://lists.ximian.com/pipermail/evolution-hackers/2005-Augu st/006189.html
Date: 2005-08-10 14:25 Sender: Vicent Seguí Hi Tom, From what I've gathered CORBA is only needed for hooking UI plugins into evo. e-d-s backends are normal libraries AFAICT. I know the guys from planner (http://developer.imendio.com/wiki/Planner) have built a backend to integrate planner and evo, maybe they could give us a clue, boiler plate code, etc. V. Seguí
Date: 2005-08-10 12:39 Sender: Tom Copeland Hi Vicent - Yup, there's been some discussion of that on evolution-hackers as well. I guess it's a pretty tricky job, even in C. I wonder how it would be done in Ruby. Don't the e-d-s implementations use a CORBA interface to get the method calls? Any idea if Ruby has a CORBA binding thingy? Yours, Tom