Re: [Evolution-hackers] Communication with e-d-s

2005-10-20 Thread Dick Kniep
Hi Harish,

Op woensdag 19 oktober 2005 10:17, schreef Harish Krishnaswamy:
> Hi Dick,
>
>   There is some activity going in providing SWIG wrappers for
> evolution-data-server which should address your requirements.
> vseguip is focused primarily on Ruby - but feel free if you want to
> add python to the melting pot :-)

I will take a shot at it. But it will take some time before I have gathered 
enough courage (and knowledge) to do so. So please bear with me, I will start 
working on this hopefully within a month from now.

Cheers,
Dick Kniep
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Communication with e-d-s

2005-10-19 Thread Harish Krishnaswamy
Hi Dick,

  There is some activity going in providing SWIG wrappers for
evolution-data-server which should address your requirements.
vseguip is focused primarily on Ruby - but feel free if you want to
add python to the melting pot :-)


If you want to do it in C, take the plunge by looking at the source
code and ping the lists/#evolution when you hit any roadblocks.


-Harish

On Mon, 2005-10-17 at 15:00 +0200, Dick Kniep wrote:
> Anyone?
> 
> Op zaterdag 15 oktober 2005 20:59, schreef Dick Kniep:
> > Hi list,
> >
> > This is my first post to this list, and I am definitely no wizard in Bonobo
> > or evolution. On the other hand I have done a fair amount of searching on
> > the Internet, so I hope you have an answer to this fairly basic question I
> > have.
> >
> > We have developed a big application in Python, Postgresql, OpenOffice,
> > taskjuggler and other goodies. Now we want to connect to an agenda, and I
> > have chosen evolution because it connects well to all the real world
> > servers including ms-exchange which is being used by the vast majority of
> > our customers.
> >
> > What we want is:
> >
> > 1. Read the iCal data from evolution, connecting a certain appointment in
> > evolution to a DB item based on the UID number in the iCal. This should be
> > possible under all circumstances (user uses imap, webcal or any other way
> > of storing the calendar data).
> >
> > 2. When a user pushes a certain button in our application evolution should
> > fire up, and the user should be able to enter the appointment (so only the
> > appointment screen should start), next our application should receive the
> > UID of the newly created appointment, so that the appointment-id can be
> > stored in the database.
> >
> > 3. It is necessary that with the appointment also resources like a room, a
> > beamer or anything else, are committed, and the user must be able to look
> > at the free/busy information of these resources.
> >
> > Now I think it is best to use bonobo to connect to the e-d-s. But because I
> > have no experience in doing this, and do not program in C, (only Python), I
> > would be very happy if someone could give me an example on how to do this.
> > The only documentation I found gives .h files for use in C, and although
> > they may be perfectly clear for experienced C programmers, for me they are
> > hullabaloo.
> >
> > I promise that if I get this stuff going, I will write a how-to for the
> > Python folks.
> >
> > Cheers,
> >
> > D.Kniep
> > ___
> > Evolution-hackers mailing list
> > Evolution-hackers@gnome.org
> > http://mail.gnome.org/mailman/listinfo/evolution-hackers
> 

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Communication with e-d-s

2005-10-19 Thread Dick Kniep
Anyone?

Op zaterdag 15 oktober 2005 20:59, schreef Dick Kniep:
> Hi list,
>
> This is my first post to this list, and I am definitely no wizard in Bonobo
> or evolution. On the other hand I have done a fair amount of searching on
> the Internet, so I hope you have an answer to this fairly basic question I
> have.
>
> We have developed a big application in Python, Postgresql, OpenOffice,
> taskjuggler and other goodies. Now we want to connect to an agenda, and I
> have chosen evolution because it connects well to all the real world
> servers including ms-exchange which is being used by the vast majority of
> our customers.
>
> What we want is:
>
> 1. Read the iCal data from evolution, connecting a certain appointment in
> evolution to a DB item based on the UID number in the iCal. This should be
> possible under all circumstances (user uses imap, webcal or any other way
> of storing the calendar data).
>
> 2. When a user pushes a certain button in our application evolution should
> fire up, and the user should be able to enter the appointment (so only the
> appointment screen should start), next our application should receive the
> UID of the newly created appointment, so that the appointment-id can be
> stored in the database.
>
> 3. It is necessary that with the appointment also resources like a room, a
> beamer or anything else, are committed, and the user must be able to look
> at the free/busy information of these resources.
>
> Now I think it is best to use bonobo to connect to the e-d-s. But because I
> have no experience in doing this, and do not program in C, (only Python), I
> would be very happy if someone could give me an example on how to do this.
> The only documentation I found gives .h files for use in C, and although
> they may be perfectly clear for experienced C programmers, for me they are
> hullabaloo.
>
> I promise that if I get this stuff going, I will write a how-to for the
> Python folks.
>
> Cheers,
>
> D.Kniep
> ___
> Evolution-hackers mailing list
> Evolution-hackers@gnome.org
> http://mail.gnome.org/mailman/listinfo/evolution-hackers

-- 

Met vriendelijke groet,

Dick Kniep
Lindix BV
De Specerij 30
1313 NE  ALMERE
tel. 036-5215580
fax. 036-8441825



This is an e-mail message from Lindix. The information contained in this
communication is intended solely for use by the individual or entity to
whom it is addressed. Use of this communication by others is prohibited. 
If the e-mail message was sent to you by mistake, please destroy it without
reading, using, copying or disclosing its contents to any other person.
Sender accepts no liability for damage related to data and/or documents 
which are communicated by electronic mail.


___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Communication with e-d-s

2005-10-18 Thread vseguip
> > > Now I think it is best to use bonobo to connect to the e-d-s. But because 
> > > I
> > > have no experience in doing this, and do not program in C, (only Python), 
> > > I
> > > would be very happy if someone could give me an example on how to do this.
> > > The only documentation I found gives .h files for use in C, and although
> > > they may be perfectly clear for experienced C programmers, for me they are
> > > hullabaloo.

You can also look at http://revolution.rubyforge.org cvs for examples
on how to use the ECal apis (it's a Ruby binding for e-d-s).

 OTOH you are welcome to collaborate on the
http://www.go-evolution.org/SWIGforEDS initiative to generate SWIG
bindings for e-d-s. Right now it only wraps basic calendar operations
with ruby but generating an equivalent python binding ought to be easy
(a file around 300 loc). Your help will be greatly appreciated ;-)

Cheers,
   V. Seguí
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Communication with e-d-s

2005-10-18 Thread chen
On Tue, 2005-10-18 at 09:14 +0200, Dick Kniep wrote:
> Anyone?
> 
> Op zaterdag 15 oktober 2005 20:59, schreef Dick Kniep:
> > Hi list,
> >
> > This is my first post to this list, and I am definitely no wizard in Bonobo
> > or evolution. On the other hand I have done a fair amount of searching on
> > the Internet, so I hope you have an answer to this fairly basic question I
> > have.
> >
> > We have developed a big application in Python, Postgresql, OpenOffice,
> > taskjuggler and other goodies. Now we want to connect to an agenda, and I
> > have chosen evolution because it connects well to all the real world
> > servers including ms-exchange which is being used by the vast majority of
> > our customers.
> >
> > What we want is:
> >
> > 1. Read the iCal data from evolution, connecting a certain appointment in
> > evolution to a DB item based on the UID number in the iCal. This should be
> > possible under all circumstances (user uses imap, webcal or any other way
> > of storing the calendar data).
The calendar should be imported into evolution for viewing it as of now.
An ECal client should be created first with the help of ESource (Gconf
settings associated with each calendar). Then the calendar should be
loaded. The specific appointment can be retrieved using e_cal_get_object
based on UID and RID.

Please refer to http://go-evolution.org/EDS_Architecture#Calendar .
> >
> > 2. When a user pushes a certain button in our application evolution should
> > fire up, and the user should be able to enter the appointment (so only the
> > appointment screen should start), next our application should receive the
> > UID of the newly created appointment, so that the appointment-id can be
> > stored in the database.
Evolution calendar can be started through the command line invocation
'evolution -c calendar'.
A query should be started using e_cal_start_query, signals such as
objects_added, objects_removed, objects_modified should be connected to
the query object and EDS notify the clients when the corresponding
operation happens in the backend.
> >
> > 3. It is necessary that with the appointment also resources like a room, a
> > beamer or anything else, are committed, and the user must be able to look
> > at the free/busy information of these resources.
Do you plan to use your application for looking up freebusy information
or through evolution ?

> >
> > Now I think it is best to use bonobo to connect to the e-d-s. But because I
> > have no experience in doing this, and do not program in C, (only Python), I
> > would be very happy if someone could give me an example on how to do this.
> > The only documentation I found gives .h files for use in C, and although
> > they may be perfectly clear for experienced C programmers, for me they are
> > hullabaloo.
It already uses bonobo to communicate with EDS, ECal Apis wrap the
bonobo layer. 

> >
> > I promise that if I get this stuff going, I will write a how-to for the
> > Python folks.
> >
> > Cheers,
> >
> > D.Kniep
> > ___
> > Evolution-hackers mailing list
> > Evolution-hackers@gnome.org
> > http://mail.gnome.org/mailman/listinfo/evolution-hackers
> ___
> Evolution-hackers mailing list
> Evolution-hackers@gnome.org
> http://mail.gnome.org/mailman/listinfo/evolution-hackers
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Communication with e-d-s

2005-10-17 Thread Dick Kniep
Anyone?

Op zaterdag 15 oktober 2005 20:59, schreef Dick Kniep:
> Hi list,
>
> This is my first post to this list, and I am definitely no wizard in Bonobo
> or evolution. On the other hand I have done a fair amount of searching on
> the Internet, so I hope you have an answer to this fairly basic question I
> have.
>
> We have developed a big application in Python, Postgresql, OpenOffice,
> taskjuggler and other goodies. Now we want to connect to an agenda, and I
> have chosen evolution because it connects well to all the real world
> servers including ms-exchange which is being used by the vast majority of
> our customers.
>
> What we want is:
>
> 1. Read the iCal data from evolution, connecting a certain appointment in
> evolution to a DB item based on the UID number in the iCal. This should be
> possible under all circumstances (user uses imap, webcal or any other way
> of storing the calendar data).
>
> 2. When a user pushes a certain button in our application evolution should
> fire up, and the user should be able to enter the appointment (so only the
> appointment screen should start), next our application should receive the
> UID of the newly created appointment, so that the appointment-id can be
> stored in the database.
>
> 3. It is necessary that with the appointment also resources like a room, a
> beamer or anything else, are committed, and the user must be able to look
> at the free/busy information of these resources.
>
> Now I think it is best to use bonobo to connect to the e-d-s. But because I
> have no experience in doing this, and do not program in C, (only Python), I
> would be very happy if someone could give me an example on how to do this.
> The only documentation I found gives .h files for use in C, and although
> they may be perfectly clear for experienced C programmers, for me they are
> hullabaloo.
>
> I promise that if I get this stuff going, I will write a how-to for the
> Python folks.
>
> Cheers,
>
> D.Kniep
> ___
> Evolution-hackers mailing list
> Evolution-hackers@gnome.org
> http://mail.gnome.org/mailman/listinfo/evolution-hackers
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Communication with e-d-s

2005-10-15 Thread Dick Kniep
Hi list,

This is my first post to this list, and I am definitely no wizard in Bonobo or 
evolution. On the other hand I have done a fair amount of searching on the 
Internet, so I hope you have an answer to this fairly basic question I have.

We have developed a big application in Python, Postgresql, OpenOffice, 
taskjuggler and other goodies. Now we want to connect to an agenda, and I 
have chosen evolution because it connects well to all the real world servers 
including ms-exchange which is being used by the vast majority of our 
customers.

What we want is:

1. Read the iCal data from evolution, connecting a certain appointment in 
evolution to a DB item based on the UID number in the iCal. This should be 
possible under all circumstances (user uses imap, webcal or any other way of 
storing the calendar data).

2. When a user pushes a certain button in our application evolution should 
fire up, and the user should be able to enter the appointment (so only the 
appointment screen should start), next our application should receive the UID 
of the newly created appointment, so that the appointment-id can be stored in 
the database.

3. It is necessary that with the appointment also resources like a room, a 
beamer or anything else, are committed, and the user must be able to look at 
the free/busy information of these resources.

Now I think it is best to use bonobo to connect to the e-d-s. But because I 
have no experience in doing this, and do not program in C, (only Python), I 
would be very happy if someone could give me an example on how to do this. 
The only documentation I found gives .h files for use in C, and although they 
may be perfectly clear for experienced C programmers, for me they are 
hullabaloo. 

I promise that if I get this stuff going, I will write a how-to for the Python 
folks.

Cheers,

D.Kniep
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers