home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
New Webinterface
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="samuel337" data-source="post: 84599" data-attributes="member: 10347"><p>I just briefly checked out the code and it seems like they're using .net remoting over TCP. This should mean that the data is serialised in binary too, making it harder for PHP to decode (and even once it is decoded, you have to decode the structures as well). </p><p></p><p>The main reason for using binary as far as I can see is that Microsoft, in their infinite wisdom, decided that you cannot serialise generics using XML/SOAP (which is coupled with communication over HTTP). I ran into this problem as well with my ECP2 plugin, hence why there's a web service to expose this properly via SOAP.</p><p></p><p>If they were using XML/SOAP over HTTP for the remoting bit there would be some hope of PHP being able to communicate directly via SOAP, but as they're not I think it would be fairly difficult (I'm not exactly sure what PHP is capable of, so take this with a grain of salt).</p><p></p><p>Your other option is to communicate using COM in PHP. Not sure if it works currently, but it should with a few changes in code. But with this option you probably still have to decode and convert the .NET objects to PHP objects.</p><p></p><p>Sam</p></blockquote><p></p>
[QUOTE="samuel337, post: 84599, member: 10347"] I just briefly checked out the code and it seems like they're using .net remoting over TCP. This should mean that the data is serialised in binary too, making it harder for PHP to decode (and even once it is decoded, you have to decode the structures as well). The main reason for using binary as far as I can see is that Microsoft, in their infinite wisdom, decided that you cannot serialise generics using XML/SOAP (which is coupled with communication over HTTP). I ran into this problem as well with my ECP2 plugin, hence why there's a web service to expose this properly via SOAP. If they were using XML/SOAP over HTTP for the remoting bit there would be some hope of PHP being able to communicate directly via SOAP, but as they're not I think it would be fairly difficult (I'm not exactly sure what PHP is capable of, so take this with a grain of salt). Your other option is to communicate using COM in PHP. Not sure if it works currently, but it should with a few changes in code. But with this option you probably still have to decode and convert the .NET objects to PHP objects. Sam [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
New Webinterface
Contact us
RSS
Top
Bottom