<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Accessing IronPython objects from native Javascript</title><link>http://blogs.msdn.com/srivatsn/archive/2008/05/09/accessing-ironpython-objects-from-native-javascript.aspx</link><description>Today I got a question by e-mail from someone who wanted to implement something like this MSDN article in IronPython. The gist of the article is that there is a property called ObjectForScripting on a WinForms WebBrowser control. If one sets the property</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Using IReflect/IDispatch to expose IronPython objects to native jscript</title><link>http://blogs.msdn.com/srivatsn/archive/2008/05/09/accessing-ironpython-objects-from-native-javascript.aspx#8481188</link><pubDate>Fri, 09 May 2008 20:54:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8481188</guid><dc:creator>shrib</dc:creator><description>&lt;p&gt;There is another solution. Your IronPython class could implement IReflect. This would cause the objects to be marshalled as IDispatch to native JScript. Your IReflect implementation can expose all the Python attributes on the object. &lt;/p&gt;
&lt;p&gt;The good part is that you can have a componentized implementation of IReflect that works for all IronPython classes. Once it works for one class, you can drop it onto any other class. The bad news is that its a bit of work to implement IReflect.&lt;/p&gt;
&lt;p&gt;See this link for some information of IReflect:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/shrib/archive/2007/09/04/ireflect-and-idispatch.aspx"&gt;http://blogs.msdn.com/shrib/archive/2007/09/04/ireflect-and-idispatch.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Accessing IronPython objects from native JScript (using IReflect)</title><link>http://blogs.msdn.com/srivatsn/archive/2008/05/09/accessing-ironpython-objects-from-native-javascript.aspx#8501830</link><pubDate>Wed, 14 May 2008 00:32:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8501830</guid><dc:creator>Shri Borde's WebLog</dc:creator><description>&lt;p&gt;The DLR aims to enable dynamic languages like IronPython and IronRuby to access and minipulate objects&lt;/p&gt;
</description></item></channel></rss>