<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: REST and Python</title>
	<atom:link href="http://www.ezran.org/blog/2008/09/rest-and-python/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ezran.org/blog/2008/09/rest-and-python/</link>
	<description>Ezra -ez- Nugroho's blog</description>
	<lastBuildDate>Tue, 02 Mar 2010 19:00:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ezran</title>
		<link>http://www.ezran.org/blog/2008/09/rest-and-python/comment-page-1/#comment-4103</link>
		<dc:creator>ezran</dc:creator>
		<pubDate>Fri, 19 Feb 2010 08:45:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.ezran.org/blog/?p=68#comment-4103</guid>
		<description>Try Intalio or Axis2 from WSO</description>
		<content:encoded><![CDATA[<p>Try Intalio or Axis2 from WSO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lily</title>
		<link>http://www.ezran.org/blog/2008/09/rest-and-python/comment-page-1/#comment-4099</link>
		<dc:creator>lily</dc:creator>
		<pubDate>Thu, 18 Feb 2010 14:46:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.ezran.org/blog/?p=68#comment-4099</guid>
		<description>newbie in this field...
What kind of workflow engine you are using?</description>
		<content:encoded><![CDATA[<p>newbie in this field&#8230;<br />
What kind of workflow engine you are using?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://www.ezran.org/blog/2008/09/rest-and-python/comment-page-1/#comment-2257</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Tue, 05 May 2009 09:08:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.ezran.org/blog/?p=68#comment-2257</guid>
		<description>Hi all,
I started using web.py for programming web services and, although I&#039;m
quite happy with the framework, I couldn&#039;t find an out-of-the-box
solution for what I was looking for. More specifically, I wanted to
select the appropriate representation for the service&#039;s resources in a
RESTful way, i.e. using the HTTP Accept header.
I didn&#039;t like this:

class hello:
    def GET(self, name):
        if not name: name = &#039;world&#039;
        message = &#039;Hello, %s!&#039;%name
        accept_string = web.ctx.env[&#039;HTTP_ACCEPT&#039;]
        mime = find_best_supported_mime(accept_string)
        if mime==&#039;application/html&#039;:
            return render_html.hello(message)
        elif mime==&#039;application/xml&#039;:
            return render_xml.hello(message)
        elif mime==&#039;application/json&#039;:
            return render_json(message)
        else:
            raise web.internalerror(&#039;no representation for &quot;%s&quot;&#039;%mime)

So I made it like this:

    @mimerender.represent(
        html = render_html.hello,
        xml  = render_xml.hello,
        json = render_json)
    def GET(self, name):
        if not name: name = &#039;world&#039;
        message = &#039;Hello, %s!&#039;%name
        return {&#039;message&#039;: message}

I&#039;ve made the library open-source and posted it at http://code.google.com/p/mimerender
Hope you find it useful.
Cheers!

Martín</description>
		<content:encoded><![CDATA[<p>Hi all,<br />
I started using web.py for programming web services and, although I&#8217;m<br />
quite happy with the framework, I couldn&#8217;t find an out-of-the-box<br />
solution for what I was looking for. More specifically, I wanted to<br />
select the appropriate representation for the service&#8217;s resources in a<br />
RESTful way, i.e. using the HTTP Accept header.<br />
I didn&#8217;t like this:</p>
<p>class hello:<br />
    def GET(self, name):<br />
        if not name: name = &#8216;world&#8217;<br />
        message = &#8216;Hello, %s!&#8217;%name<br />
        accept_string = web.ctx.env['HTTP_ACCEPT']<br />
        mime = find_best_supported_mime(accept_string)<br />
        if mime==&#8217;application/html&#8217;:<br />
            return render_html.hello(message)<br />
        elif mime==&#8217;application/xml&#8217;:<br />
            return render_xml.hello(message)<br />
        elif mime==&#8217;application/json&#8217;:<br />
            return render_json(message)<br />
        else:<br />
            raise web.internalerror(&#8216;no representation for &#8220;%s&#8221;&#8216;%mime)</p>
<p>So I made it like this:</p>
<p>    @mimerender.represent(<br />
        html = render_html.hello,<br />
        xml  = render_xml.hello,<br />
        json = render_json)<br />
    def GET(self, name):<br />
        if not name: name = &#8216;world&#8217;<br />
        message = &#8216;Hello, %s!&#8217;%name<br />
        return {&#8216;message&#8217;: message}</p>
<p>I&#8217;ve made the library open-source and posted it at <a href="http://code.google.com/p/mimerender" rel="nofollow">http://code.google.com/p/mimerender</a><br />
Hope you find it useful.<br />
Cheers!</p>
<p>Martín</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pau Aliagas</title>
		<link>http://www.ezran.org/blog/2008/09/rest-and-python/comment-page-1/#comment-165</link>
		<dc:creator>Pau Aliagas</dc:creator>
		<pubDate>Fri, 05 Dec 2008 22:29:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.ezran.org/blog/?p=68#comment-165</guid>
		<description>I&#039;ve been checking many clients and they are really simple, as can be seen in the -yahoo link provide above,

I liked particularilly these ones:

1. http://microapps.sourceforge.net/restclient/
2. http://code.google.com/p/python-rest-client
3. http://pypi.python.org/pypi/z3c.rest/0.2.5

They all provide more or less the same, mainly 1 and 2, but 1 seemed a little more mature, although they all were ok.

I hope it helps.
Pau</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been checking many clients and they are really simple, as can be seen in the -yahoo link provide above,</p>
<p>I liked particularilly these ones:</p>
<p>1. <a href="http://microapps.sourceforge.net/restclient/" rel="nofollow">http://microapps.sourceforge.net/restclient/</a><br />
2. <a href="http://code.google.com/p/python-rest-client" rel="nofollow">http://code.google.com/p/python-rest-client</a><br />
3. <a href="http://pypi.python.org/pypi/z3c.rest/0.2.5" rel="nofollow">http://pypi.python.org/pypi/z3c.rest/0.2.5</a></p>
<p>They all provide more or less the same, mainly 1 and 2, but 1 seemed a little more mature, although they all were ok.</p>
<p>I hope it helps.<br />
Pau</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: omtv</title>
		<link>http://www.ezran.org/blog/2008/09/rest-and-python/comment-page-1/#comment-94</link>
		<dc:creator>omtv</dc:creator>
		<pubDate>Thu, 06 Nov 2008 03:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.ezran.org/blog/?p=68#comment-94</guid>
		<description>This is quite a useful guide in doing restful python service.
Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>This is quite a useful guide in doing restful python service.<br />
Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rascunho &#187; Blog Archive &#187; links for 2008-10-10</title>
		<link>http://www.ezran.org/blog/2008/09/rest-and-python/comment-page-1/#comment-41</link>
		<dc:creator>rascunho &#187; Blog Archive &#187; links for 2008-10-10</dc:creator>
		<pubDate>Fri, 10 Oct 2008 20:05:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.ezran.org/blog/?p=68#comment-41</guid>
		<description>[...] REST and Python &#124; Luchita Specifically, I’ve been looking for ways to implement REST web services for some of our Python-based routines. (tags: www.ezran.org 2008 mes9 dia10 REST Python lista_de_links) [...]</description>
		<content:encoded><![CDATA[<p>[...] REST and Python | Luchita Specifically, I’ve been looking for ways to implement REST web services for some of our Python-based routines. (tags: <a href="http://www.ezran.org" rel="nofollow">http://www.ezran.org</a> 2008 mes9 dia10 REST Python lista_de_links) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ezran</title>
		<link>http://www.ezran.org/blog/2008/09/rest-and-python/comment-page-1/#comment-38</link>
		<dc:creator>ezran</dc:creator>
		<pubDate>Wed, 08 Oct 2008 19:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.ezran.org/blog/?p=68#comment-38</guid>
		<description>Keith,

Pylons is really a web framework, not a web-services framework.

It doesn&#039;t generate any WSDL, so we would have to generate our own.</description>
		<content:encoded><![CDATA[<p>Keith,</p>
<p>Pylons is really a web framework, not a web-services framework.</p>
<p>It doesn&#8217;t generate any WSDL, so we would have to generate our own.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Chapman</title>
		<link>http://www.ezran.org/blog/2008/09/rest-and-python/comment-page-1/#comment-31</link>
		<dc:creator>Keith Chapman</dc:creator>
		<pubDate>Fri, 03 Oct 2008 04:09:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.ezran.org/blog/?p=68#comment-31</guid>
		<description>I&#039;m not familiar with Pylons ,can it generate a WSDL for you? 

Recently we (&lt;a href=&quot;http://wso2.com&quot; rel=&quot;nofollow&quot;&gt;WSO2&lt;/a&gt;) released an alpha version of a &lt;a href=&quot;http://wso2.org/projects/wsf/jython&quot; rel=&quot;nofollow&quot;&gt;Web Services Framework for Jython (WSF/Jython)&lt;/a&gt;. As of not it does not support REST (its a open source project and we would like people getting involved with it) but its a trivial feature to add. I guess you&#039;ve already seeing how we could do &lt;a href=&quot;http://www.keith-chapman.org/2008/09/restfull-mashup-with-wsdl-20-wso2.html&quot; rel=&quot;nofollow&quot;&gt;REST services with Javascript&lt;/a&gt; on the &lt;a href=&quot;http://wso2.org/projects/mashup&quot; rel=&quot;nofollow&quot;&gt;WSO2 Mashup Server&lt;/a&gt;. We could easily do something similar to this. 

BTW we would generate both a WSDL 1.1 and WSDL 2.0 for you too.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not familiar with Pylons ,can it generate a WSDL for you? </p>
<p>Recently we (<a href="http://wso2.com" rel="nofollow">WSO2</a>) released an alpha version of a <a href="http://wso2.org/projects/wsf/jython" rel="nofollow">Web Services Framework for Jython (WSF/Jython)</a>. As of not it does not support REST (its a open source project and we would like people getting involved with it) but its a trivial feature to add. I guess you&#8217;ve already seeing how we could do <a href="http://www.keith-chapman.org/2008/09/restfull-mashup-with-wsdl-20-wso2.html" rel="nofollow">REST services with Javascript</a> on the <a href="http://wso2.org/projects/mashup" rel="nofollow">WSO2 Mashup Server</a>. We could easily do something similar to this. </p>
<p>BTW we would generate both a WSDL 1.1 and WSDL 2.0 for you too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Chapman</title>
		<link>http://www.ezran.org/blog/2008/09/rest-and-python/comment-page-1/#comment-30</link>
		<dc:creator>Keith Chapman</dc:creator>
		<pubDate>Fri, 03 Oct 2008 04:09:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.ezran.org/blog/?p=68#comment-30</guid>
		<description>I&#039;m not familiar with Pylons ,can it generate a WSDL for you? 

Recently we (&lt;a href=&quot;http://wso2.com&quot; rel=&quot;nofollow&quot;&gt;WSO2&lt;/a&gt;) released an alpha version of a &lt;a href=&quot;http://wso2.org/projects/wsf/jython&quot; rel=&quot;nofollow&quot;&gt;Web Services Framework for Jython (WSF/Jython)&lt;/a&gt;. As of not it does not support REST (its a open source project and we would like people getting involved with it) but its a trivial feature to add. I guess you&#039;ve already seeing how we could do &lt;a href=&quot;http://www.keith-chapman.org/2008/09/restfull-mashup-with-wsdl-20-wso2.html&quot;REST services with Javascript&lt;/a&gt; on the &lt;a href=&quot;http://wso2.org/projects/mashup&quot; rel=&quot;nofollow&quot;&gt;WSO2 Mashup Server&lt;/a&gt;. We could easily do something similar to this. 

BTW we would generate both a WSDL 1.1 and WSDL 2.0 for you too.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not familiar with Pylons ,can it generate a WSDL for you? </p>
<p>Recently we (<a href="http://wso2.com" rel="nofollow">WSO2</a>) released an alpha version of a <a href="http://wso2.org/projects/wsf/jython" rel="nofollow">Web Services Framework for Jython (WSF/Jython)</a>. As of not it does not support REST (its a open source project and we would like people getting involved with it) but its a trivial feature to add. I guess you&#8217;ve already seeing how we could do &lt;a href=&#8221;http://www.keith-chapman.org/2008/09/restfull-mashup-with-wsdl-20-wso2.html&#8221;REST services with Javascript on the <a href="http://wso2.org/projects/mashup" rel="nofollow">WSO2 Mashup Server</a>. We could easily do something similar to this. </p>
<p>BTW we would generate both a WSDL 1.1 and WSDL 2.0 for you too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ezran</title>
		<link>http://www.ezran.org/blog/2008/09/rest-and-python/comment-page-1/#comment-28</link>
		<dc:creator>ezran</dc:creator>
		<pubDate>Thu, 02 Oct 2008 04:35:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.ezran.org/blog/?p=68#comment-28</guid>
		<description>Mohamed,

Thanks for the correction. The href is corrected now.</description>
		<content:encoded><![CDATA[<p>Mohamed,</p>
<p>Thanks for the correction. The href is corrected now.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
