|
Posted by CJ Llewellyn on 12/19/05 19:03
On Mon, 19 Dec 2005 15:43:26 +0000, Susan Baker wrote:
>
>
> CJ Llewellyn wrote:
>
>> On Mon, 19 Dec 2005 13:02:18 +0000, Susan Baker wrote: -snip-
>>
>>>>I really like Java for my bigger projects with Hibernate as ORM-tool. I
>>>>am also very satisfied with PHP5. The only thing I really miss with
>>>>PHP5 is a good debugger which slows down development considerably.
>>>>
>>>>
>>>I had to move away from Java/J2EE because of support/maintainance
>>>issues, for now I have scaled down the server side requirements so that
>>>I can use PHP - however, it is still not clear to me, how o use a C#
>>>frontend to communicate with PHP objects at the server side - this is
>>>what I was trying to find out in my OP.
>>
>>
>> The same way you'd use C#, Java, Python, Perl or gazzillions of other
>> programming languages as middle tier layers. Web Services + SOAP
>>
>> php has a whole suite of libraries already written for this type of
>> interoperation.
>>
>> http://pear.php.net/package/SOAP
>>
>> However as you are aleady using .net at the client end, why not write
>> the backend in C#?
>>
> SOAP is too heavy (and thus WDSL/web services goes out the window too), as
> I mentioned in a previous post. I want to use sockets (I was expecting
> someone to suggest using HttpRequest class - or whatever) ...
Ask yourself what the advantage of trying to reinvent the wheel is? All
you'll achive is a greater understanding why standardised protocols are a
good thing(tm).
You can of cause use .net's http client and return XML records very much
the same way that RSS feeds/readers work.
> It seems no one is even aware that this is possible...
Now we didn't say that, it's just not the PC approach.
[Back to original message]
|