Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: •Re: How to parse XML coming from a socket?

by vadim_t (Acolyte)
on Oct 04, 2003 at 14:16 UTC ( [id://296510]=note: print w/replies, xml ) Need Help??


in reply to •Re: How to parse XML coming from a socket?
in thread How to parse XML coming from a socket?

Kind of, perhaps. But there's not really much that I have left to solve. Somebody on #perl commented that basically I'm doing a kind of HURD. The server itself is a small core with several independent support services around it. The server already works, as well as the parsing. Basically, that's the largest problem I have right now. If I can fix it, pretty much all that is left is to design a proper protocol, and add handlers.

Replies are listed 'Best First'.
•Re: Re: •Re: How to parse XML coming from a socket?
by merlyn (Sage) on Oct 04, 2003 at 15:15 UTC
    pretty much all that is left is to design a proper protocol, and add handlers.
    Heh. You probably don't realize that you did the easy part, and the hard part is what's ahead.

    Designing a protocol that is clean, transparent, scalable, and reusable is a royal pain. If you had leveraged off SOAP or Jabber, you'd also have the advantage of interoperability and pre-existing mindset and docs.

    Good luck, because it looks like you're doing things the hard way.

    -- Randal L. Schwartz, Perl hacker
    Be sure to read my standard disclaimer if this is a reply.

      But that's not really the point of what I'm doing :-)

      If I wanted to simply get my server done then I'd probably take Jabber and modify it for my needs. But that's not very fun.

      I'm precisely writing it to have problems like the one I had and learn how to solve them. At the moment, I don't know how to properly write a server that uses XML for communication. I want to learn how. Just plugging a module that does it for me takes out the fun of it.

      I also want to try some design ideas I have in mind. Some of them look like they wouldn't fit very well in the design of existing servers.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://296510]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-03-28 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found