Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: SOAP Modules (OO or not?)

by ForgotPasswordAgain (Priest)
on Jun 30, 2007 at 17:00 UTC ( [id://624222]=note: print w/replies, xml ) Need Help??


in reply to Re^2: SOAP Modules (OO or not?)
in thread SOAP Modules (OO or not?)

Since nobody else is saying anything, I'll just give my thoughts, which are as follows: WTF?!? You're instantiating an object of this class when calling some random method, like a method of the SOAP-exposed API? No, that's not good at all.

BTW, if you're looking for a role model distribution on how to do your classes, SOAP::Lite is not it at all. Wondered why its development ground to a halt, I don't think it's coincidental.

Replies are listed 'Best First'.
Re^4: SOAP Modules (OO or not?)
by Cagao (Monk) on Jun 30, 2007 at 18:26 UTC
    Okay, a bit of background, I need a web service that 'internal' people will use, but could be developing their own front-ends.

    So I thought, use SOAP, send me some valid XML and I'll do what you want, the Object will deal, for arguments sake, with customers details.

    So someone can call the Customer service and send me new details to store in a DB, or alter an existing one, etc.

    Hopefully I'll keep it as a nice object internally to make calling further subs nice and easy, and also call more external modules.

    Any suggestions in this situation? I'll have around 10 such modules dealing with different things, and several methods for each one.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-19 20:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found