NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
What is Stem? (Score:1)
Sticking with LWP,
-sam
Re:What is Stem? (Score:3, Informative)
It is designed to support asynchronous message-based systems. Does that help?
Saying that you're sticking with LWP is kind of meaningless. Stem is largely orthogonal to LWP.
A representative Stem application might be a process that responds to outside requests via a socket, delegates work to multiple child processes (like Apache, perhaps) and then responds to the request.
The nice thing about using Stem for that is that you would
Re:What is Stem? (Score:1)
Re:What is Stem? (Score:3, Informative)
It can do a _lot_ of stuff for you.
For example, IPC and RPC between multiple Stem servers is trivial.
You can also use Stem to do client/server stuff with a Stem client and a Stem server.
It can also run as a standalone daemon. For example, you could run a Stem daemon that fired off messages at regular intervals to other Stem servers (kind of like cron).
Basically, if you have to do any sort of network project (client/server, multiple servers, messaging across machines) Stem can be very helpful.
Stem is a network app framework. Does that make sense?
Reply to This
Parent
Re:What is Stem? (Score:1)
And, of course, I must ask if those messages are being exchanged in XML format, because *everything* is always better in XML format. :-P
Re:What is Stem? (Score:1)
as for xml (blechh!) formatted messages, that very doable as the messages are just simple data structures. i recently started integrating YAML [yaml.org] into stem and it is used to serialize objects over a socket. we plan to use YAML for config files as well as messages. in fact, plans are