firefly-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Firefly-dev] server


From: firefly-dev
Subject: [Firefly-dev] server
Date: 19 Apr 2003 01:10:42 +0200

Hi,

I' ve started to work on the core using the OSE libraries
(ose.sourceforge.net).
I added to the cvs a dir called "core" with some files.

To test them you need PostgreSQL, OSE and Python 2.2

Here a brief description for each file added:

- firefly/core/server.py
  This is the server, it handles both soap and xml-rpc requests, you
need
  to have this running in order yo use the clients.
  You also need to change the line that make the connection to the db
according to your settings.
  Actually there are only 3 class methods, (but getBook() is incomplete
and test() is useless ;))

- firefly/core/clients_examples/xml-rpc.py:
  A simple client that use XML-RPC, just three lines of code !
  It calls the getAuthors() server's function, so no need to write
queries in SQL,
  these are written only once in the server file.

- firefly/core/clients_examples/soap.py:
  Same as the previous but use SOAP to communicate.
  Unfortunately there isn't python2.2-soappy for debian right now, so I
couldn't test it

I'm going to work on server.py and on the db in the next days.
If I can make available a reasonable amount of functions we can start to
develop the loaning module.

John have you resolved the problems with the db ?
Let me know if you need help.


Marco





reply via email to

[Prev in Thread] Current Thread [Next in Thread]