For Programmers: Free Programming Magazines  


Home > Archive > PERL POE > January 2007 > Q: Createing a POE module









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Q: Createing a POE module
Reinhard Pagitsch

2007-01-18, 4:20 am

Hello,

I am sorry if my question is stupid but I did not find anything about it
on the http://poe.perl.org/.

Is there a documentation,cookbook how to create own modules for POE?

Thank you,
Reinhard

--
PM Mails an rpirpag <at> gmx dot at
Nicholas Perez

2007-01-18, 8:16 am

Do you want to extend POE itself, or publish to CPAN something that
uses POE? Because if the latter, all of the typical CPAN packaging
still applies and all of the normal rules of package; still apply. The
API, the guts, the whatever is up to you. If you want to look at how
other people did it, search CPAN for just about anything in the
POE::Component namespace. If you want to implement something lower
level (A Wheel, or a Filter) the same search applies but with
POE::Wheel and POE::Filter, respectively. For the initiate, I wouldn't
probably look too deeply into the modules that come along with POE.
They can have scary guts.

HTH,

Nicholas

On 1/18/07, Reinhard Pagitsch <reinhard.pagitsch@isis-papyrus.com> wrote:
> Hello,
>
> I am sorry if my question is stupid but I did not find anything about it
> on the http://poe.perl.org/.
>
> Is there a documentation,cookbook how to create own modules for POE?
>
> Thank you,
> Reinhard
>
> --
> PM Mails an rpirpag <at> gmx dot at
>

Reinhard Pagitsch

2007-01-18, 8:16 am

I want to make a new module like the POE::Component::DirWatch,but for
processes, using the module
Win32::Process::List.
Today it is only an idea,but ...

But ok, I have to investigate more research as I believed.

regards
Reinhard


Nicholas Perez wrote:
> Do you want to extend POE itself, or publish to CPAN something that
> uses POE? Because if the latter, all of the typical CPAN packaging
> still applies and all of the normal rules of package; still apply. The
> API, the guts, the whatever is up to you. If you want to look at how
> other people did it, search CPAN for just about anything in the
> POE::Component namespace. If you want to implement something lower
> level (A Wheel, or a Filter) the same search applies but with
> POE::Wheel and POE::Filter, respectively. For the initiate, I wouldn't
> probably look too deeply into the modules that come along with POE.
> They can have scary guts.
>
> HTH,
>
> Nicholas
>
> On 1/18/07, Reinhard Pagitsch <reinhard.pagitsch@isis-papyrus.com> wrote:
>


--
QA

ISIS Information Systems
Austria tel: (+43) 2236 27551 150 Fax: 2236 21081
Visit our web site http://www.isis-papyrus.com
---------------------------------------------------------------
This e-mail is only intended for the recipient and not legally
binding. Unauthorised use, publication, reproduction or
disclosure of the content of this e-mail is not permitted.
This email has been checked for known viruses, but ISIS accepts
no responsibility for malicious or inappropriate content.
---------------------------------------------------------------

Michael S Costello

2007-01-18, 7:17 pm

Seems like a great place to put an equivalent function in a module
though, don't let it discourage you, in fact such a module would be
quite valuable! Allow me to be volunteer as (one of) your documentation
monks and testers as well ;).

Reinhard Pagitsch wrote:
> I want to make a new module like the POE::Component::DirWatch,but for
> processes, using the module
> Win32::Process::List.
> Today it is only an idea,but ...
>
> But ok, I have to investigate more research as I believed.
>
> regards
> Reinhard
>
>
> Nicholas Perez wrote:
>


Reinhard Pagitsch

2007-01-18, 7:17 pm



Michael S Costello wrote:
> Seems like a great place to put an equivalent function in a module
> though, don't let it discourage you, in fact such a module would be
> quite valuable! Allow me to be volunteer as (one of) your
> documentation monks and testers as well ;).

I did not believed that such a module could be useful for other.
You are welcome to help me with documentation and tests.
(I think I forgot to mention that I am the owner of the module
Win32::Process::List)

Anyway, I have to do a "big" research how to implement it into PoCo. I
also have to tell that I am quit new to POE-*.
At this time I try to implement a smtp Server using
POE::Component::Server::SMTP. The problem is I have no experience with
smtp. If you want I can tell you what my intent is to do that. Maybe you
can help me with that as well.

regards,
Reinhard
>
> Reinhard Pagitsch wrote:
>


--
QA

ISIS Information Systems
Austria tel: (+43) 2236 27551 150 Fax: 2236 21081
Visit our web site http://www.isis-papyrus.com
---------------------------------------------------------------
This e-mail is only intended for the recipient and not legally
binding. Unauthorised use, publication, reproduction or
disclosure of the content of this e-mail is not permitted.
This email has been checked for known viruses, but ISIS accepts
no responsibility for malicious or inappropriate content.
---------------------------------------------------------------

Nicholas Perez

2007-01-18, 7:17 pm

I actually have a rather sane POE SMTP server implementation in the
works(even with a client solution using Wheel::Run to have multiple
outbound connections going) with an included Filter that implements
RFC2821 with objects to encapsulate commands. It was originally
intended to be part of the Jabber-to-SMTP gateway I was writing. I was
going to expose the SMTP server functionality via XMLRPC and store
accounts/email in a DB. The part that isn't finished is the XMLRPC
glue (the XMLRPC server is actually functional and implements mo'
better stuff than the current one out on CPAN).

But I digress. If you are wanting a good starting point, I would love
for you to look over/use the code I have already written. We can
collaborate to finish the SMTP server if you want

On 1/18/07, Reinhard Pagitsch <reinhard.pagitsch@isis-papyrus.com> wrote:
>
>
> Michael S Costello wrote:
> I did not believed that such a module could be useful for other.
> You are welcome to help me with documentation and tests.
> (I think I forgot to mention that I am the owner of the module
> Win32::Process::List)
>
> Anyway, I have to do a "big" research how to implement it into PoCo. I
> also have to tell that I am quit new to POE-*.
> At this time I try to implement a smtp Server using
> POE::Component::Server::SMTP. The problem is I have no experience with
> smtp. If you want I can tell you what my intent is to do that. Maybe you
> can help me with that as well.
>
> regards,
> Reinhard
>
> --
> QA
>
> ISIS Information Systems
> Austria tel: (+43) 2236 27551 150 Fax: 2236 21081
> Visit our web site http://www.isis-papyrus.com
> ---------------------------------------------------------------
> This e-mail is only intended for the recipient and not legally
> binding. Unauthorised use, publication, reproduction or
> disclosure of the content of this e-mail is not permitted.
> This email has been checked for known viruses, but ISIS accepts
> no responsibility for malicious or inappropriate content.
> ---------------------------------------------------------------
>
>

Kidney Bingos

2007-01-22, 8:36 am

On Thu, Jan 18, 2007 at 01:40:45PM -0600, Nicholas Perez wrote:
> I actually have a rather sane POE SMTP server implementation in the
> works(even with a client solution using Wheel::Run to have multiple
> outbound connections going) with an included Filter that implements
> RFC2821 with objects to encapsulate commands. It was originally
> intended to be part of the Jabber-to-SMTP gateway I was writing. I was
> going to expose the SMTP server functionality via XMLRPC and store
> accounts/email in a DB. The part that isn't finished is the XMLRPC
> glue (the XMLRPC server is actually functional and implements mo'
> better stuff than the current one out on CPAN).


I was only talking to George Nistorica (ULTRADM) about my own sane POE
SMTP server implementation recently, POE::Component::Server::SimpleSMTP

Mine was starting with the express purpose to create a simple to use SMTP
relay.

I'll show you mine if you'll show me yours >:)

Cheers,

--
Chris Williams
aka BinGOs
PGP ID 0x4658671F
http://www.gumbynet.org.uk
==========================

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com