Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: An introduction to POE

by bsb (Priest)
on Aug 12, 2003 at 13:52 UTC ( #283177=note: print w/replies, xml ) Need Help??


in reply to An introduction to POE

Events are generated by input engines (called Wheels)...

Why "Wheels"? This has puzzled me for a while.

Replies are listed 'Best First'.
Re: Re: An introduction to POE
by RMGir (Prior) on Aug 12, 2003 at 14:02 UTC
    The explanation is cute, but fairly non-obvious (from Evolution of a POE Server, on the POE site):

    The POE based server we just completed is still a bunch of work. What's worse, most of the work never changes from one server to the next. Listening to a server socket and accepting connections from it is a well-established science. Likewise, performing buffered operations on non-blocking sockets is largely the same everywhere. Reinventing these wheels for every server gets old very fast.

    We created a group of classes under the POE::Wheel namespace to encapsulate these standard algorithms. Each Wheel contains some initialization code to set up event generators, and each implements the handlers for those events.
    --
    Mike

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://283177]
help
Chatterbox?
[choroba]: I configured signature font to 2pt size, so I don't care
[choroba]: Moreover, I don't find the Big Lebowski quote offensive
Lady_Aleena wishes she could format her signature a bit without getting metaphorical hives.

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2017-06-23 09:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (539 votes). Check out past polls.