[Mono-devel-list] .NET Web services in Perl?
Rafael Teixeira
monoman at gmail.com
Thu Aug 12 17:02:13 EDT 2004
Well, you are mixing things.
First, Perl isn't a Mono/.NET language, so if you want to write web
services in Mono, it is better to use the many languages already
available in Mono (C#, Nemerle, Boo, IronPython, ...). Just to be
completely fair, ActiveState had an effort to mix Perl and .NET, but
it was a mixed environment (Perl Interpreter alongside the CLR
(virtual machine)) with some bridging, so the results weren't as good
as using some of the above mentioned languages.
Second, if you just want to be able call Mono classes from Perl,
that's is feasible using the embedding APIs but in your case not very
worthy, because Mono/ASP.NET Web Services Infrastructure does a lot
for you and then calls your code and then does a lot of other things,
not the reverse. So unless you wan't to rewrite large portions of that
infrastructure in Perl.
Finally, you may be tempted to write a Perl Interpreter in C#/Mono, or
call the Perl executable by shelling out to it, so that you'd be able
to execute Perl Scripts inside Web Services hosted by Mono, but the
glue logic you'll need to write to make it simple to use is enormous
or else custom glue logic would be needed to be written for every web
service.
I may have totally misunderstood your intentions, so if you want to
further discuss it, please post here a more detailed plan, with some
good/solid questions about it.
It may help to think of Mono/Web Services support more like Web
Services Server (either own simple XSP server, or the Apache/Mod_Mono
server combination).
Greetings,
On Thu, 12 Aug 2004 16:34:45 -0400, Vsevolod (Simon) Ilyushchenko
<simonf at cshl.edu> wrote:
> Hi,
>
> Has anyone heard of a server-side implementation of .NET/Mono web
> services in Perl? (Something along the lines of SOAP.pm.)
>
> If there is not, I'd be happy to work on this - I've already done
> something simple along those lines with Macromedia Flash Remoting
> (http://www.simonf.com/amfperl). But since I don't know much about Mono,
> I'd like to ask first whether there exist some issues which could make a
> Perl implementation difficult or impossible.
>
> Thanks,
> Simon
> --
>
> Simon (Vsevolod ILyushchenko) simonf at cshl.edu
> http://www.simonf.com
>
> Terrorism is a tactic and so to declare war on terrorism
> is equivalent to Roosevelt's declaring war on blitzkrieg.
>
> Zbigniew Brzezinski, U.S. national security advisor, 1977-81
--
Rafael "Monoman" Teixeira
---------------------------------------
Cognition is not a representation of an objectively existing world
but is a bringing forth of a world in the process of living.
-- Fritjof Capra, citing
Humberto Maturana and Francisco Varella's "Santiago Theory of Cognition"
More information about the Mono-devel-list
mailing list