Re: [Zope-dev] server for new protocol?
Nikolay Kim wrote: it'll be open source. source in attach. it not very usefull without additional products that must actually handle emails. now i'm working on mail storage products. very cool product Nikolay. re mail storage: have you looked at ZMailIn? http://www.zope.org/Members/NIP/ZMailIn /dario -- -- --- Dario Lopez-Kästen, IT Systems Services Chalmers University of Tech. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] server for new protocol?
On Sunday 29 February 2004 11:21 pm, Nikolay Kim wrote: P.S. i'm developing smtp server for zope and already have working code. Ooh! This is really cool. Will this be open source? I'll be a lot of people will be interested in this. -Fred -- Fred L. Drake, Jr. fred at zope.com PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] server for new protocol?
it'll be open source. source in attach. it not very usefull without additional products that must actually handle emails. now i'm working on mail storage products. Ooh! This is really cool. Will this be open source? I'll be a lot of people will be interested in this. -Fred -- Fred L. Drake, Jr. fred at zope.com PythonLabs at Zope Corporation SMTPService.tar.gz Description: application/compressed-tar ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] server for new protocol?
Thanks Fred! all works well. P.S. i'm developing smtp server for zope and already have working code. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] server for new protocol?
Please stay on the list (readded) Nikolay Kim wrote at 2004-2-27 10:26 +0600: You must implement the server for the new protocol and you will need some integration code. You have lots of examples at hand. write server itself not very hard, i simply don't want patch ZServer/components.xml is there any way don't touch Zserver? At least, you do not need to change ZServer/components.xml as such component schemas can be inherited and extended -- similar to the implementation. I did not (yet) implemented my own server, thus, I cannot tell you the details. But, I am very confident that you do not need to change ZServer when you do not want to. -- Dieter ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] server for new protocol?
On Thursday 26 February 2004 06:50 am, Nikolay Kim wrote: is there any way create server for new protocol without changing ZServer module? There's clearly a need for some more documentation here, but I'm not sure what to write yet, or where it should go. Contrary to many of the other responses, yes, this shouldn't be difficult at all. You'll need a couple of pieces of Python code: 1. Your server implementation. It sounds like you have this already. 2. A factory object that can accept configuration data and create an instance of your server object. You then need to create a ZConfig component that provides a section type to support your server. The ZConfig documentation discusses this somewhat. The new section type will need to declare that it implements the ZServer.server abstract type; it should probably look something like this: component import package=ZServer/ sectiontype name=myserver implements=ZServer.server datatype=mypackage.server.ServerFactory !-- configuration data should be described here -- /sectiontype /component You'll need to arrange for the package containing this component is available on the Python sys.path before zope.conf is loaded; this is mostly easily done by manipulating the PYTHONPATH environment variable. Your zope.conf file can now include the following to load and use your new server: %import mypackage myserver # configuration settings go here /myserver Feel free to ask questions about this; I'm usually more available to respond than I have been a couple of days. -Fred -- Fred L. Drake, Jr. fred at zope.com PythonLabs at Zope Corporation ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] server for new protocol?
is there any way create server for new protocol without changing ZServer module? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] server for new protocol?
Nikolay Kim wrote: is there any way create server for new protocol without changing ZServer module? Nope, have you looked at Twisted? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] server for new protocol?
write server itself not very hard, i simply don't want patch ZServer/components.xml is there any way don't touch Zserver? probably not. jens smime.p7s Description: S/MIME cryptographic signature ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] server for new protocol?
You must implement the server for the new protocol and you will need some integration code. You have lots of examples at hand. write server itself not very hard, i simply don't want patch ZServer/components.xml is there any way don't touch Zserver? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] server for new protocol?
Nikolay Kim wrote at 2004-2-26 17:50 +0600: is there any way create server for new protocol without changing ZServer module? You must implement the server for the new protocol and you will need some integration code. You have lots of examples at hand. -- Dieter ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )