Hi I have a PHP website i want to integrate it with silverlight for some rich experience ,how can i do it ,.. is it necessary to host the website on IIS if we want silverlight integration.Please suggest ways ?
+1
A:
Silverlight works just fine on a PHP website. Steps:
- Host the Silverlight .xap file on your site
- Use an object tag (or Silverlight.js file) to instantiate Silverlight
Object tag instantiation:
<object width="200" height="200"
data="data:application/x-silverlight-2,"
type="application/x-silverlight-2" >
<param name="source" value="YourApp.xap"/>
</object>
Erik Mork
2009-06-16 06:18:53
+1
A:
If by integrate you mean get data made available via PHP, then you could use PHP to output XML which could be read by Silverlight. You could alternatively use JSON if Silverlight supports it (or if there is a parser available).
alex
2009-06-16 06:25:47