<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>uxebu » blog &#187; dojango</title>
	<atom:link href="http://uxebu.com/category/dojango/feed/" rel="self" type="application/rss+xml" />
	<link>http://uxebu.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 23 Apr 2012 19:10:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>BarCamp Cologne</title>
		<link>http://uxebu.com/blog/2009/06/09/barcamp-cologne/</link>
		<comments>http://uxebu.com/blog/2009/06/09/barcamp-cologne/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 15:52:10 +0000</pubDate>
		<dc:creator>tobias</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[dojango]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[event]]></category>

		<guid isPermaLink="false">http://blog.uxebu.com/?p=482</guid>
		<description><![CDATA[At the weekend (06/06/09 and 07/06/09) I&#8217;ve attended the BarCamp in Cologne. The event was completely overbooked just within some hours after the registration page was opened and I&#8217;m glad that I&#8217;ve got the possibility to attend there. A hint for people who try to attend to an overbooked event: just go there and ask [...]]]></description>
			<content:encoded><![CDATA[<p>At the weekend (06/06/09 and 07/06/09) I&#8217;ve attended the <a href="http://barcampcologne.mixxt.de/">BarCamp in Cologne</a>. The event was completely overbooked just within some hours after the registration page was opened and I&#8217;m glad that I&#8217;ve got the possibility to attend there. A hint for people who try to attend to an overbooked event: just go there and ask on site to get in. Normally they don&#8217;t say no.<br />
<span id="more-482"></span></p>
<p>On saturday I gave a little session there about the JavaScript Framework <a href="http://dojotoolkit.org">Dojo</a> and the server-side web framework <a href="http://www.djangoproject.com/">Django</a> and how you can use <a href="http://dojango.org">Dojango</a> to combine those two worlds. In the session I&#8217;ve showed some basic slides that were followed by a simple coding example. The people, who attended my session, were more interested in Dojo instead of Django, because they already knew a lot of Django. After doing my 30 minutes for the session I had to answer Dojo questions for another half an hour. Next time I definitely will do a Dojo session upfront :-)</p>
<div style="width:425px;text-align:left" class="mhx" id="__ss_1554458"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/klipstein/dojango?type=presentation" title="Dojango">Dojango</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=dojango-090609101601-phpapp01&#038;stripped_title=dojango" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=dojango-090609101601-phpapp01&#038;stripped_title=dojango" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">PDF documents</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/klipstein">klipstein</a>.</div>
</div>
<p>Thanks to the organizers and sponsors for having such a nice event in Cologne. Can&#8217;t wait for attending the next BarCamp there.</p>
]]></content:encoded>
			<wfw:commentRss>http://uxebu.com/blog/2009/06/09/barcamp-cologne/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobile days in Spain</title>
		<link>http://uxebu.com/blog/2009/05/28/mobile-days-in-spain/</link>
		<comments>http://uxebu.com/blog/2009/05/28/mobile-days-in-spain/#comments</comments>
		<pubDate>Thu, 28 May 2009 11:55:24 +0000</pubDate>
		<dc:creator>Nikolai Onken</dc:creator>
				<category><![CDATA[business]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[development tools]]></category>
		<category><![CDATA[dojango]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[uxebu]]></category>
		<category><![CDATA[dojo.beer()]]></category>
		<category><![CDATA[mobile2.0]]></category>

		<guid isPermaLink="false">http://blog.uxebu.com/?p=440</guid>
		<description><![CDATA[As Wolfram already has posted in the last blog post, we are currently involved quite a bit in the mobile world and especially in investigating on how Dojo can be used best to develop for mobile devices. Taking this as an opportunity we want to announce the next dojo.beer() in Barcelona on June 17th. You [...]]]></description>
			<content:encoded><![CDATA[<p>As Wolfram already has posted in the last <a href="http://blog.uxebu.com/2009/05/27/mobile-weeks-wrap-up/">blog post</a>, we are currently involved quite a bit in the mobile world and especially in investigating on how <a href="http://www.dojotoolkit.org">Dojo</a> can be used best to develop for mobile devices.</p>
<p>Taking this as an opportunity we want to announce the next dojo.beer() in Barcelona on June 17th.<br />
You can get all info about the event on the <a href="http://dojocampus.org/content/2009/05/28/dojobeer-barcelona-june-17th/">DojoCampus event site</a>.</p>
<p>The day after, we are speaking at the <a href="http://mobile20.eu/developer-day/">Mobile2.0 developer day</a> and will give a detailed introduction in how to write mobile applications using the Dojo Toolkit and making sure they are running on different platforms such as <a href="http://phonegap.com/">PhoneGap</a> and the W3C widgets being <a href="http://www.betavine.net">supported by Vodafone</a>.</p>
<p>If you are in Barcelona that week, feel free to get in touch and if you have time to join for drinks during the dojo.beer or the mobile 2.0 conference let us know. Please sign up using the poll below.</p>
<p><strong>Para los españoles :-)</strong></p>
<p>Como Wolfram ha escrito en su último <a href="http://blog.uxebu.com/2009/05/27/mobile-weeks-wrap-up">artículo de blog</a>, nosotros estamos muy involucrados en el mundo de los móviles y estamos especialmente investigando como desarollar de la mejor manera para dispositivos móviles con Dojo.</p>
<p>Aprovechamos esta oportunidad para anunciar el próximo dojo.beer() en Barcelona el 17 de junio de 2009.<br />
Puedes encontrar toda la información en inglés sobre el evento en la <a href="http://dojocampus.org/content/2009/05/28/dojobeer-barcelona-june-17th">página de eventos de DojoCampus</a>.</p>
<p>Al día siguiente vamos a dar una ponencia en el <a href="http://mobile20.eu/developer-day/">Mobile2.0 developer day</a> y vamos a explicar como escribir aplicaciones moviles usando el Dojo Toolit y como asegurarse de que funcionan en múltiples plataformas como <a href="http://phonegap.com">PhoneGap</a> y como W3C Widget  <a href="http://www.betavine.net">apoyado por Vodafone</a> entre otros.</p>
<p>Si estás en Barcelona durante esa semana y te apetece contactar con nosotros  no dudes en venir a tomar una copa  al dojo.beer o a la conferencia mobile2.0. Por favor participa en el poll abajo si quieres ir.</p>
<p><iframe width="300" height="250" frameborder="0" src="http://doodle.com/summary.html?pollId=zw4ui9kraiw8cgt3"> </iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://uxebu.com/blog/2009/05/28/mobile-days-in-spain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A JavaScript  Python bridge</title>
		<link>http://uxebu.com/blog/2009/05/15/a-javascript-python-bridge/</link>
		<comments>http://uxebu.com/blog/2009/05/15/a-javascript-python-bridge/#comments</comments>
		<pubDate>Fri, 15 May 2009 13:52:44 +0000</pubDate>
		<dc:creator>tobias</dc:creator>
				<category><![CDATA[dojango]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Tumbles]]></category>

		<guid isPermaLink="false">http://blog.uxebu.com/?p=395</guid>
		<description><![CDATA[A JavaScript Python bridge]]></description>
			<content:encoded><![CDATA[<p><a href="http://github.com/davisp/python-spidermonkey/tree/master">A JavaScript <-> Python bridge</a></p>
]]></content:encoded>
			<wfw:commentRss>http://uxebu.com/blog/2009/05/15/a-javascript-python-bridge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jj: dojo.beer(3) wrap up</title>
		<link>http://uxebu.com/blog/2009/05/11/jj-dojobeer3-wrap-up/</link>
		<comments>http://uxebu.com/blog/2009/05/11/jj-dojobeer3-wrap-up/#comments</comments>
		<pubDate>Mon, 11 May 2009 08:27:08 +0000</pubDate>
		<dc:creator>wolfram</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[dojango]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Tumbles]]></category>
		<category><![CDATA[uxebu]]></category>

		<guid isPermaLink="false">http://blog.uxebu.com/?p=386</guid>
		<description><![CDATA[jj: dojo.beer(3) wrap up]]></description>
			<content:encoded><![CDATA[<p><a href="http://jjkress.tumblr.com/post/105943227/dojo-beer-3-wrap-up">jj: dojo.beer(3) wrap up</a></p>
]]></content:encoded>
			<wfw:commentRss>http://uxebu.com/blog/2009/05/11/jj-dojobeer3-wrap-up/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>dojo.beer in Amsterdam and Munich</title>
		<link>http://uxebu.com/blog/2009/04/22/dojobeer-in-amsterdam-and-munich/</link>
		<comments>http://uxebu.com/blog/2009/04/22/dojobeer-in-amsterdam-and-munich/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 13:20:34 +0000</pubDate>
		<dc:creator>wolfram</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[dojango]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[uxebu]]></category>

		<guid isPermaLink="false">http://blog.uxebu.com/?p=317</guid>
		<description><![CDATA[Some of the dojo guys are traveling around the world, and we are happy to get Pete Higgins, Dylan Schiemann and Nikolai Onken together for a couple of dojo.beers. 1) Amsterdam, 27th April, 19:00 &#8211; the first one will be already next week in Amsterdam on Monday the 27th April, this will be a meetup [...]]]></description>
			<content:encoded><![CDATA[<p>Some of the dojo guys are traveling around the world, and we are happy to get <a href="http://higginsforpresident.net/">Pete Higgins</a>, <a href="http://dylanschiemann.com/">Dylan Schiemann</a> and Nikolai Onken together for a couple of dojo.beers.</p>
<p><strong>1) Amsterdam, 27th April, 19:00</strong> &#8211; the first one will be already <a href="http://dojocampus.org/content/2009/04/22/dojobeer-amsterdam-munich/">next week in Amsterdam</a> on Monday the 27th April, this will be a meetup in a restaurant and probably a lot of tech and geek talk and some beer.</p>
<p><strong>2) Munich, 9th May, all day</strong> &#8211; the second one will be a <a href="http://dojo.beer.mixxt.de/networks/wiki/index.dojo_beer_3">free full-day event in Munich</a> with talks and time to hang out and hack together. It will take place on the 9th May, starting at around 12:00 in the rooms of the <a href="http://skytecag.com/">SKYTEC AG</a> (<a href="http://maps.google.de/maps?q=Germany%2C+Oberhaching%2C+82041%2C+Keltenring+11%2C+SKYTEC+AG&#038;sll=48.002295,11.576005">Keltenring 11, 82041 Oberhaching</a>).<br />
<span id="more-317"></span></p>
<h2>Amsterdam, 27th April</h2>
<p><a href="http://dojocampus.org/content/2009/04/22/dojobeer-amsterdam-munich/">Detailed information</a><br />
All the following info are <a href="http://dojocampus.org/content/2009/04/22/dojobeer-amsterdam-munich/">from the dojocampus.org post</a>.</p>
<blockquote><p>
The first dojo.beer() in The Netherlands will be held on April 27th in Amsterdam. Hopefully this will be the beginning of a series of fun Dojo events bringing people from The Netherlands and around together, who work with Dojo, enjoy using Dojo and like everything around the Web.</p>
<p>As a special guest we will have both Dylan Schiemann (SitePen, Dojo Co-Founder) and Peter Higgins (Dojo Project Lead &#8211; aka phiggins), so if you want to meet the gurus of Dojo, make sure you will be there.</p>
<p>Location and more details will follow shortly.</p></blockquote>
<h2>Munich, 9th May</h2>
<p><a href="http://dojo.beer.mixxt.de/networks/wiki/index.dojo_beer_3">Detailed information</a><br />
After the very well received <a href="http://blog.thinkphp.de/archives/388-DOJO.WINE.html">dojo.wine in W&uuml;rzburg</a> with 37 attendees we hope we can do even better and will fly in Pete and Dylan to join us (so we don&#8217;t have to video-conference them in anymore). We are happy to have the Skytec AG sponsoring the location.</p>
<p>There are some really interesting topics planned, that are not only interesting for the dojo people but also for other JavaScript developers and developers of complementary technologies, such as django, comet(d), etc.</p>
<ul>
<li><a href="http://dojango.org">dojango</a> &#8211; dojo and django integration made easy</li>
<li><a href="http://code.google.com/p/xray-project/">xray</a> &#8211; a JavaScript+browser performance and analyzing tool</li>
<li>EventList &#8211; a google calendar, yahoo pipes mashup</li>
<li><a href="http://www.sitepen.com/blog/2009/04/01/stocker-advanced-dojo-made-easy/">Stocker</a> &#8211; SitePen&#8217;s cometd based chart and grid application</li>
<li><a href="http://code.google.com/p/plugd/">plugd</a> &#8211; a collection of useful functionality built on and around Base dojo.js</li>
</ul>
<p>If any of this catches your eye we will be happy to see you there. Please add yourself to <a href="http://dojo.beer.mixxt.de/networks/wiki/index.dojo_beer_3">the event wiki page</a> so we can better plan and prepare the event. Also if you have a talk you would like to give or there are topics that you are potentially interested in, please fill it in the wiki.<br />
And of course we will have T-Shirts, stickers, food, drinks and so on. We are looking forward to seeing you there.</p>
<h2>Professional Training, 8th May</h2>
<p>If you or your employees need a packed dose of professional dojo training, you can still signup for the <a href="http://blog.uxebu.com/2009/04/20/update-uxebu-sitepen-dojo-training-in-europe-may-8th/">uxebu &#038; SitePen &#8211; Dojo training in Europe</a>. This training takes place in the same location as the dojo.beer, just the day before, on the 8th May.<br />
This one day course on Dojo Data, Grids, Charts, and Comet is a very practical, hands-on, applied usage of Dojo to create a simple data visualization web application that takes advantage of advanced features of the Dojo Toolkit.</p>
]]></content:encoded>
			<wfw:commentRss>http://uxebu.com/blog/2009/04/22/dojobeer-in-amsterdam-and-munich/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Django/Dojo Stammtisch in Berlin</title>
		<link>http://uxebu.com/blog/2009/04/06/djangodojo-stammtisch-in-berlin/</link>
		<comments>http://uxebu.com/blog/2009/04/06/djangodojo-stammtisch-in-berlin/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 16:38:34 +0000</pubDate>
		<dc:creator>wolfram</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[dojango]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://blog.uxebu.com/?p=197</guid>
		<description><![CDATA[For the second time Django enthusiasts are meeting in Berlin on Wednesday, the 15th April, 2009 at 19:30. Find all the details here. And since I will be in Berlin this time, I just simply redeclare this to &#8220;Django/Dojo Stammtisch&#8221; instead of just &#8220;Django Stammtisch&#8221; :-). I hope all the djangoers are ok with that [...]]]></description>
			<content:encoded><![CDATA[<p>For the second time Django enthusiasts are meeting in Berlin on Wednesday, the 15th April, 2009 at 19:30. <a href="http://www.django-de.org/news/58-zweiter-django-stammtisch-in-berlin/">Find all the details here</a>. And since I will be in Berlin this time, I just simply redeclare this to &#8220;Django/Dojo Stammtisch&#8221; instead of just &#8220;Django Stammtisch&#8221; :-). I hope all the djangoers are ok with that (I requested permission in <a href="http://mibbit.com/?server=irc.freenode.net&#038;channel=%23django-de">#django-de</a>). It just makes things easier to also meet some dojo people in Berlin. I will also have some cool new <a href="http://dojango.org">dojango</a> stuff to show off!<br />
So if AJAX, JavaScript and Dojo people are around, it would be cool to meet you there and chat about what&#8217;s hot and how the beer is. Please add yourself to <a href="http://doodle.com/h7f64ga6n6tgdnxx">the attendees list on doodle</a>. And thanks again to the Berlin djangoers for organizing this, I am looking forward to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://uxebu.com/blog/2009/04/06/djangodojo-stammtisch-in-berlin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>dojo.beer(2) by Mayflower</title>
		<link>http://uxebu.com/blog/2008/12/09/dojobeer2-by-mayflower/</link>
		<comments>http://uxebu.com/blog/2008/12/09/dojobeer2-by-mayflower/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 15:24:12 +0000</pubDate>
		<dc:creator>wolfram</dc:creator>
				<category><![CDATA[dojango]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[Tumbles]]></category>
		<category><![CDATA[dojo.beer()]]></category>
		<category><![CDATA[mayflower]]></category>

		<guid isPermaLink="false">http://blog.uxebu.com/?p=101</guid>
		<description><![CDATA[dojo.beer(2) by Mayflower]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.thinkphp.de/archives/375-dojo.beer2.html">dojo.beer(2) by Mayflower</a></p>
]]></content:encoded>
			<wfw:commentRss>http://uxebu.com/blog/2008/12/09/dojobeer2-by-mayflower/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dojango Version 0.3.1 (AppEngine release)</title>
		<link>http://uxebu.com/blog/2008/12/01/dojango-version-031-appengine-release/</link>
		<comments>http://uxebu.com/blog/2008/12/01/dojango-version-031-appengine-release/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 23:51:58 +0000</pubDate>
		<dc:creator>tobias</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[dojango]]></category>
		<category><![CDATA[dojo]]></category>

		<guid isPermaLink="false">http://blog.uxebu.com/?p=94</guid>
		<description><![CDATA[After several weeks there is a new release of Dojango and this release introduces the compatibility to Google&#8217;s AppEngine. AppEngine delivers helpers so that Django applications can run on Google&#8217;s server farm and now this release of dojango allows the deployment of Dojo powered web applications to it. At the moment AppEngine just supports version [...]]]></description>
			<content:encoded><![CDATA[<p>After several weeks there is a new release of <a href="http://code.google.com/p/dojango/">Dojango</a> and this release introduces the compatibility to <a href="http://code.google.com/appengine/">Google&#8217;s AppEngine</a>. AppEngine delivers helpers so that <a href="http://www.djangoproject.com/">Django</a> applications can run on Google&#8217;s server farm and now this release of dojango allows the deployment of <a href="http://www.dojotoolkit.org">Dojo</a> powered web applications to it. <span id="more-94"></span></p>
<p>At the moment AppEngine just supports version 0.96 (see <a href="http://code.google.com/appengine/articles/appengine_helper_for_django.html">Google AppEngine Helper for Django</a>) of Django and dojango is now able to run with this old version.</p>
<p>Since dojo&#8217;s variety of modules easily excesses the limitation of Google&#8217;s AppEngine of 1000 files, dojango now can solve this problem with an <strong>extreme mini build</strong> that just keeps the basic dojo files and all image files. I have to mention that this build removes all js-files that could be postloaded on a page using <em>dojo.require</em>. This means, that a <em>dojo.require</em> on Dojo modules that weren&#8217;t included in the <a href="http://dojotoolkit.org/book/dojo-book-0-9/part-4-meta-dojo/package-system-and-custom-builds">Dojo build profile</a> would not work anymore. So, when using the extreme mini build, you have to add all Dojo modules, that are used within the deployed application, to your Dojo build profile.</p>
<p>I&#8217;ll show the deployment to AppEngine of a dojango application and the building of a Dojo release with the extreme mini build in another blog entry.</p>
<p>Dojango 0.3.1 also had some other changes, like the addition of Dojo 1.2 as the new default Dojo version for dojango and Google is now used as the default CDN instead of AOL. </p>
<p>Also two new decorator functions found their way into dojango. </p>
<p>One is the <strong>json_iframe_response</strong> decorator that makes it easier to return json data when <em>dojo.io.iframe</em> is used. <em>dojo.io.iframe</em> is utilized e.g., if you want to submit multipart/form-data forms with file fields in the background. Here is a simple example, how to use that decorator:</p>
<p>The Django side:</p>
<div class="codecolorer-container python twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="python codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #ff7700;font-weight:bold;">from</span> dojango.<span style="color: black;">decorators</span> <span style="color: #ff7700;font-weight:bold;">import</span> json_iframe_response<br />
<br />
<span style="color: #66cc66;">@</span>json_iframe_response<br />
<span style="color: #ff7700;font-weight:bold;">def</span> my_view<span style="color: black;">&#40;</span>request<span style="color: black;">&#41;</span>:<br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;"># do your file handling here</span><br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;"># and just return simple python objects like booleans, </span><br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;"># Strings, integers, dictionaries, lists, ... </span><br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;"># the decorator does the rest for you</span><br />
&nbsp; &nbsp; <span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: black;">&#123;</span><span style="color: #483d8b;">'success'</span>: <span style="color: #008000;">True</span><span style="color: black;">&#125;</span></div></td></tr></tbody></table></div>
<p>The Dojo side:</p>
<div class="codecolorer-container javascript twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">dojo.<span style="color: #660066;">require</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;dojo.io.iframe&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
dojo.<span style="color: #660066;">io</span>.<span style="color: #660066;">iframe</span>.<span style="color: #660066;">send</span><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#123;</span> <br />
&nbsp; &nbsp; &nbsp; url<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;/my-view/&quot;</span><span style="color: #339933;">,</span> <br />
&nbsp; &nbsp; &nbsp; form<span style="color: #339933;">:</span> dojo.<span style="color: #660066;">byId</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;my_file_upload_form&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; handleAs<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;json&quot;</span><span style="color: #339933;">,</span> <br />
&nbsp; &nbsp; &nbsp; load<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>response<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>console.<span style="color: #660066;">log</span><span style="color: #009900;">&#40;</span>response<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>The other decorator <strong>jsonp_response</strong> can enable django views to deliver json data to foreign web applications using JSONP. You need that, if you want to make several django views available as your external API. Here is a short usage example:</p>
<p>The Django side:</p>
<div class="codecolorer-container python twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="python codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #ff7700;font-weight:bold;">from</span> dojango.<span style="color: black;">decorators</span> <span style="color: #ff7700;font-weight:bold;">import</span> jsonp_response<br />
<br />
<span style="color: #66cc66;">@</span>jsonp_response<br />
<span style="color: #ff7700;font-weight:bold;">def</span> my_view<span style="color: black;">&#40;</span>request<span style="color: black;">&#41;</span>:<br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;"># prepare and return your data</span><br />
&nbsp; &nbsp; <span style="color: #ff7700;font-weight:bold;">return</span> <span style="color: black;">&#123;</span><span style="color: #483d8b;">'success'</span>: <span style="color: #008000;">True</span><span style="color: black;">&#125;</span></div></td></tr></tbody></table></div>
<p>The Dojo side:</p>
<div class="codecolorer-container javascript twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">dojo.<span style="color: #660066;">require</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;dojo.io.script&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
dojo.<span style="color: #660066;">io</span>.<span style="color: #660066;">script</span>.<span style="color: #660066;">get</span><span style="color: #009900;">&#40;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#123;</span> <br />
&nbsp; &nbsp; &nbsp; url<span style="color: #339933;">:</span><span style="color: #3366CC;">&quot;/my-view/&quot;</span><span style="color: #339933;">,</span> <br />
&nbsp; &nbsp; &nbsp; data<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span>doIt<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; handleAs<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;json&quot;</span><span style="color: #339933;">,</span> <br />
&nbsp; &nbsp; &nbsp; load<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>response<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>console.<span style="color: #660066;">log</span><span style="color: #009900;">&#40;</span>response<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// the returned json data is wrapped into that function!</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #006600; font-style: italic;">// always add that parameter</span><br />
&nbsp; &nbsp; &nbsp; callbackParamName<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;jsonp_callback&quot;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>For the next release we planned to take <a href="http://groups.google.com/group/json-rpc/web/json-rpc-1-2-proposal">JSON-RPC</a>, <a href="http://groups.google.com/group/json-schema/web/service-mapping-description-proposal">SMD (Simple Method Description)</a> and maybe <a href="http://cometdproject.dojotoolkit.org/">CometD</a> into account. If you are interested in other features please don&#8217;t hesitate to contact us.</p>
]]></content:encoded>
			<wfw:commentRss>http://uxebu.com/blog/2008/12/01/dojango-version-031-appengine-release/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>uxebu at the Ajax in Action</title>
		<link>http://uxebu.com/blog/2008/10/22/uxebu-at-the-ajax-in-action/</link>
		<comments>http://uxebu.com/blog/2008/10/22/uxebu-at-the-ajax-in-action/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 12:22:09 +0000</pubDate>
		<dc:creator>wolfram</dc:creator>
				<category><![CDATA[dojango]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[uxebu]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[ajax in action]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://blog.uxebu.com/?p=75</guid>
		<description><![CDATA[Just one week to go and we are glad that all three of us will make it to the Ajax in Action 2008 in Mainz (Germany). So if you like to contact us, meet in person or just have a chat (besides the virtual reality) let&#8217;s do it. If you are interested in JavaScript as [...]]]></description>
			<content:encoded><![CDATA[<p>Just one week to go and we are glad that all three of us will make it to the <a href="http://createordie.de/ajaxinaction/">Ajax in Action 2008 in Mainz (Germany)</a>. So if you like to contact us, meet in person or just have a chat (besides the virtual reality) let&#8217;s do it. If you are interested in JavaScript as we are, want to have an in depth <a href="http://dojotoolkit.org">dojo</a> discussion, feel like you need to know more about <a href="http://dojango.org">dojango</a> or just would like to talk AJAX with us, do it! We are looking forward to it.<br />
Of course we will have some stuff to share, we are going to hold four talks <a href="http://createordie.de/ajaxinaction/speaker/#3338">RIA/UI development with Dojo, Adobe AIR and Dojo, bringing the web to the desktop</a> from Nikolai and <a href="http://createordie.de/ajaxinaction/speaker/#3331">Architectures for scaling AJAX apps and Efficient AJAX/JavaScript Development</a> from me.<br />
<span id="more-75"></span></p>
<p>Besides holding talks, which occupies at least most of my brain time until I am done, we are really looking forward to getting to know better the AJAX Community here in Germany and we hope for a lot of input and to share ideas with like minded people. If there will be so much brain capital as there was in Boston for the <a href="http://blog.uxebu.com/2008/10/08/boston-wrap-up-dojo-12/">Ajax Experience two weeks ago</a>, we will need at least the rest of the year to digest it all. But hey, that is what we are out for. We want your input and we want to give input.</p>
<p>May be we will even try to have a gathering of some of the most interesting and most interested AJAX people that are coming to the conference in order to shoot a <a href="http://dojocampus.org/podcast/">dojo.cast()</a>, may be some kind of &#8220;conference edition&#8221;. Actually, that is just an idea I made up right this second while writing this, but I guess Nikolai and Pete won&#8217;t be too opposed to it.</p>
<p>Feel free to mail us or drop a comment if you like to meet up &#8211; no matter if dojo, ajax, javascript or whatever related.</p>
]]></content:encoded>
			<wfw:commentRss>http://uxebu.com/blog/2008/10/22/uxebu-at-the-ajax-in-action/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Home for the Dojo Foundation</title>
		<link>http://uxebu.com/blog/2008/10/21/home-for-the-dojo-foundation/</link>
		<comments>http://uxebu.com/blog/2008/10/21/home-for-the-dojo-foundation/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 18:19:58 +0000</pubDate>
		<dc:creator>tobias</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[dojango]]></category>
		<category><![CDATA[dojo]]></category>
		<category><![CDATA[uxebu]]></category>

		<guid isPermaLink="false">http://blog.uxebu.com/?p=73</guid>
		<description><![CDATA[Finally the Dojo Foundation Web Site, a joined work of people from SitePen and uxebu, has launched. The main purpose of the site is explaining the intention of the Dojo Foundation, decluttering the Foundation from the Dojo Toolkit and giving all the other interesting projects under the hood of the Dojo Foundation a corporate presentation [...]]]></description>
			<content:encoded><![CDATA[<p>Finally the <a href="http://dojofoundation.org">Dojo Foundation Web Site</a>, a joined work of people from <a href="http://www.sitepen.com/">SitePen</a> and uxebu, has launched. The main purpose of the site is explaining the intention of the Dojo Foundation, decluttering the Foundation from the Dojo Toolkit and giving all the other interesting projects under the hood of the Dojo Foundation a corporate presentation location.</p>
<p>You can visit the site, that was build on top of <a href="http://code.google.com/p/dojango/">dojango</a> (wohooo) at <a href="http://dojofoundation.org">http://dojofoundation.org</a>.</p>
<p>It was great to work together with the people of <a href="http://www.sitepen.com/">SitePen</a> and I hope there will be more things in the future where we can join our forces.</p>
]]></content:encoded>
			<wfw:commentRss>http://uxebu.com/blog/2008/10/21/home-for-the-dojo-foundation/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

