Hi MOA3333! (interesting name!)

On 07-06-2005 22:10, "MOA3333" <[EMAIL PROTECTED]> wrote:
> There is the task "Make gump 3 integrate Description of a Project
> (DOAP)" that i looked at. I guess the most difficult is to parse the xml
> file, and then integrate the information with Gump. I am just about to
> finish a beginner book about python, i know the basics, not the
> ntegratin with java or JPython, but i hope it is not the most difficut
> part in this project. I already used an XML parser (DOM???), but not in
> python.

I think you don't need to integrate with java or JPython. Gump is pure
python. You probably do need to learn more about XML and learn more about
RDF. All of the people around here doing python development started from a
java (and/or C/C++) development perspective, and the transition ain't
without wrinkles, but its a lot of fun.

I think there's roughly these options:

1) write XSLT to transform DOAP XML files into Gump XML files
2) write <other code/> to transform DOAP XML files into Gump XML files
3) write python code to transform DOAP into Gump object model (where
   the gump object model is built from python classes)

#3 is probably the best option, but the others could be okay as well. #3
pretty much requires you learn quite a bit of python and more than a bit
about RDF. And you need to learn about gump's object model and about DOAP (I
know pretty much nothing about DOAP). It probably means more learning and
less coding than the other two, which is generally a Good Thing in open
source (ie reuse other people's work). I would recommend you try this, esp.
if you want to learn more about python.

> I don't know how much work is there,

Man-years of it :-)

> but in any case i will learn python
> and this is also good.

Yep.

> PS: I don't know why, but i cannot use postfix on localhost to send
> emails to gump ml.

Probably because you are using a dynamic host or unregistered IP or
something like that. In an effort to combat spam you're only allowed to
e-mail @apache.org from registered Ips and only as long as SPF allows it.
Set up postfix to relay mail to your ISPs SMTP server.

>>>  This project may be a good way to learn python for me and maybe to
>>>  obtain money and to help some Free Software projects. Since i know
>>>  nothing about any apache project source code  i wanted to know if
>>>  there is anything in python i can help without learning more about
>>>  apache. Some java is good ok, but i don't like java so much even if i
>>>  know it better for now.  It should be good if it is related to only
>>>  one program.
>>> 
>>>  I must want to know what should be done, and what can be done. I don't
>>>  mind coding complicated algorithms, but i don't want to understand the
>>>  code of 10 diferent unrelated projects....

Heh :-). You know, open source is most productive when we try to reuse each
others' code. So while definitely not "unrelated", I'm guessing you'll be
delving into gump code, other python code that processes RDF, XML schemas,
the RDF spec, existing code that processes DOAP, etc etc. They don't tell
you this in school, but one of the most important skills in open source is
reading other people's code!

Cheers,

Leo



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to