> > One thing I like about Rails is that it's almost trivial to add SOAP, > XMLRPC, JSON, ... interface to existing functionality. It's literally > about a 10 minute job in most cases.
I think this would be a nice feature to add to ErlyWeb -- not just SOAP, but a generic RPC capability that abstracts away the protocol and lets you write handlers that work with multiple protocols without having to write extra code. ErlyWeb already maps URL requests to their controller functions. What needs to be added is 1) Map other types of requests, e.g. SOAP, to their controller functions. 2) Define common return values and implement their translations to different protocols. Ideally, the RPC handler would figure out automatically which protocol to translate the return values to based on the request -- there would be no configuration involved (except for maybe enabling/disabling protocols). If Erlsom already implements SOAP and it's not too difficult to integrate I'd rather use it than write a SOAP handler from scratch. If you have any thoughts on how to do this please share them. Thanks, Yariv --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "erlyweb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en -~----------~----~----~----~------~----~------~--~---
