<?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>the blixtra blog &#187; web development</title>
	<atom:link href="http://blixtra.org/blog/category/tech/web_development/feed/" rel="self" type="application/rss+xml" />
	<link>http://blixtra.org/blog</link>
	<description>whoopie!</description>
	<lastBuildDate>Sun, 05 Sep 2010 22:59:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Top 30 Django Tutorials and Articles</title>
		<link>http://blixtra.org/blog/2006/07/17/top-30-django-tutorials-and-articles/</link>
		<comments>http://blixtra.org/blog/2006/07/17/top-30-django-tutorials-and-articles/#comments</comments>
		<pubDate>Mon, 17 Jul 2006 11:19:01 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://blixtra.org/blog/2006/07/17/top-30-django-tutorials-and-articles/</guid>
		<description><![CDATA[As a response to the Top 30 Ruby on Rails Tutorials, I&#8217;ve compiled a list of the top 30 Django tutorials and articles. These links are in addition to the great documentation on the Django project site. For those who don&#8217;t know, Django is a Python web development framework that makes development super fast. The [...]]]></description>
			<content:encoded><![CDATA[<p>As a response to the <a href="http://www.econsultant.com/web-developer/ruby-rails-tutorials/">Top 30 Ruby on Rails Tutorials</a>, I&#8217;ve compiled a list of the top 30 <a href="http://www.djangoproject.com/">Django</a> tutorials and articles. These links are in addition to the <a href="http://www.djangoproject.com/documentation/">great documentation</a> on the Django project site.</p>
<p>For those who don&#8217;t know, <a href="http://www.djangoproject.com/">Django</a> is a <a href="http://www.python.org/">Python</a> web development framework that makes development super fast.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-6177640580512042";
google_ad_width = 468;
google_ad_height = 15;
google_ad_format = "468x15_0ads_al";
google_ad_channel ="";
google_color_border = "272727";
google_color_bg = "F5ECE3";
google_color_link = "447E44";
google_color_url = "FF3333";
google_color_text = "272727";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>The list in no particular order&#8230;</p>
<ol>
<li><a href="http://www.wilsonminer.com/posts/2006/may/10/are-you-generic/">Are you generic?</a></li>
<li><a href="http://www.rossp.org/blog/2006/jul/11/sending-e-mails-templates/">Sending E-Mails via Templates</a></li>
<li><a href="http://www2.jeffcroft.com/2006/jul/14/django-admin-your-php-app/">Django admin for your PHP app?</a></li>
<li><a href="http://www.b-list.org/weblog/2006/07/16/django-tips-hacking-freecomment">Hacking FreeComment</a></li>
<li><a href="http://www.b-list.org/weblog/2006/06/28/django-tips-difference-between-blank-and-null">the difference between ‘blank’ and ‘null’</a></li>
<li><a href="http://www.rossp.org/blog/2006/jun/23/building-blog-django-4/">Using Django&#8217;s TemplateTags</a></li>
<li><a href="http://lukeplant.me.uk/blog.php?id=1107301641">A Django website that took (a lot) more than 20 minutes</a></li>
<li><a href="http://www.pointy-stick.com/blog/2006/07/03/django-tips-forms-multiple-inline-objects/">Forms With Multiple Inline Objects</a></li>
<li><a href="http://www.pointy-stick.com/blog/2006/06/29/django-tips-extending-generic-views/">Extending Generic Views</a></li>
<li><a href="http://www.b-list.org/weblog/2006/06/14/django-tips-template-context-processors">Template context processors</a></li>
<li><a href="http://www.pointy-stick.com/blog/2006/06/14/custom-sql-django/">Custom SQL In Django</a></li>
<li><a href="http://www.b-list.org/weblog/2006/06/13/how-django-processes-request">How Django processes a request</a></li>
<li><a href="http://www.b-list.org/weblog/2006/06/07/django-tips-write-better-template-tags">Write better template tags</a></li>
<li><a href="http://www.b-list.org/weblog/2006/06/06/django-tips-extending-user-model">Extending the User model</a></li>
<li><a href="http://feh.holsman.net/articles/2006/06/03/django-contenttype">Django&#8217;s Undocumented contenttype app</a></li>
<li><a href="http://www.b-list.org/weblog/2006/05/21/django-gzip-and-wsgi">Django, gzip and WSGI</a></li>
<li><a href="http://www2.jeffcroft.com/2006/may/02/django-non-programmers/">Django for non-programmers</a></li>
<li><a href="http://www2.jeffcroft.com/2006/feb/25/django-templates-the-power-of-inheritance/">Django Templates: The Power of Inheritance</a></li>
<li><a href="http://www2.jeffcroft.com/2006/feb/21/django-templates-an-introduction/">Django Templates: An Introduction</a></li>
<li><a href="http://www2.jeffcroft.com/2006/may/11/django-dreamhost/">Setting up Django on Dreamhost</a></li>
<li><a href="http://thinkhole.org/wp/2006/04/03/django-on-windows-howto/">Django on Windows HOWTO</a></li>
<li><a href="http://lukeplant.me.uk/blog.php?id=1107301634">Django Admin Hack &#8211; Fields varying with user permissions</a></li>
<li><a href="http://www.carcosa.net/jason/blog/computing/django/gotchas-2006-04-19">Some django gotchas</a></li>
<li><a href="http://rfc1437.de/page/django-templates-are-not-limited/">Django Templates are not limited</a></li>
<li><a href="http://www-128.ibm.com/developerworks/linux/library/l-django/index.html">Develop for the Web with Django and Python</a></li>
<li><a href="http://code.djangoproject.com/wiki/AJAXWidgetComboBox">An AJAX ComboBox Widget for Django</a></li>
<li><a href="http://code.djangoproject.com/wiki/UsingFreeComment">Using Django&#8217;s Free Comments</a></li>
<li><a href="http://grindhaug.org/?p=157">MochiKit and Django</a></li>
<li><a href="http://www.oreillynet.com/onlamp/blog/2006/06/django_rss_made_stupidly_simpl.html">RSS made stupidly simple</a></li>
<li><a href="http://toolmantim.com/article/2006/5/31/installing_django_on_osx">Installing Django on OSX</a></li>
</ol>
<p><em>Note: keep an eye out at Django&#8217;s <a href="http://www.djangoproject.com/community/">community page</a> for new tutorials and articles.</em></p>
<p><strong>Related Links</strong></p>
<ul>
<li><a href="http://www.djangoproject.com/documentation/">Official Documentation</a></li>
<li><a href="http://video.google.com/videoplay?docid=-70449010942275062">Web Development for Perfectionists with Deadlines (VIDEO)</a></li>
<li><a href="http://code.djangoproject.com/wiki/DjangoFriendlyWebHosts">Django-friendly web hosts</a></li>
<li><a href="http://code.djangoproject.com/wiki/DjangoPoweredSites">Sites using Django</a></li>
</ul>
<p>If you have an additional tutorial, put it in the comments.</p>
<p><a href="http://digg.com/programming/Top_30_Django_Tutorials_and_Articles">digg story</a></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-6177640580512042";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel ="";
google_color_border = "272727";
google_color_bg = "F5ECE3";
google_color_link = "272727";
google_color_url = "FF3333";
google_color_text = "437D42";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://blixtra.org/blog/2006/07/17/top-30-django-tutorials-and-articles/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Setting Up Tomcat 5 on Ubuntu 6.06</title>
		<link>http://blixtra.org/blog/2006/07/14/setting-up-tomcat-5-on-ubuntu-606/</link>
		<comments>http://blixtra.org/blog/2006/07/14/setting-up-tomcat-5-on-ubuntu-606/#comments</comments>
		<pubDate>Fri, 14 Jul 2006 00:30:18 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://blixtra.org/blog/2006/07/14/setting-up-tomcat-5-on-ubuntu-606/</guid>
		<description><![CDATA[I had mentioned that I&#8217;d post a quick how-to on setting up Tomcat 5 on Ubuntu Dapper. So here it is and lucky for me it&#8217;s VERY easy. Translations: castellano First a quick overview of what we are going to do: 1. install software 2. change 1 line in a configuration file. 3. start the [...]]]></description>
			<content:encoded><![CDATA[<p>I had mentioned that I&#8217;d post a quick how-to on setting up <a href="http://tomcat.apache.org/">Tomcat</a> 5 on <a href="http://www.ubuntu.com/">Ubuntu</a> Dapper. So here it is and lucky for me it&#8217;s VERY easy.</p>
<p><strong>Translations:</strong> <a href="http://bailandodesvan.sytes.net/blog/">castellano</a></p>
<p><!--adsense#banner--></p>
<p>First a quick overview of what we are going to do:</p>
<p>1. install software<br />
2. change 1 line in a configuration file.<br />
3. start the Tomcat5 service<br />
4. go to http://localhost:8180</p>
<p>And now for the good stuff.</p>
<p>First we want to install the right packages. basically we want to install apache2, a java jdk and tomcat (duh). I&#8217;ve chosen to use <a href="http://java.sun.com/">Sun&#8217;s java</a> implementation. To install this you need to enable the multiverse repository. See <a href="http://ubuntuguide.org/wiki/Dapper#How_to_add_extra_repositories">this section</a> of the <a href="http://ubuntuguide.org/wiki/Main_Page">Unofficial Ubuntu Starter Guide</a> for help with enabling additional repositories. To install Tomcat itself you will also need to have the universe repository enabled.</p>
<p><strong>Note: For Tomcat you <em>MUST</em> have a jdk not just a jre.</strong></p>
<p>So, for the basic install use the following command.</p>
<p><code>sudo apt-get install apache2 tomcat5 sun-java5-jdk</code></p>
<p>If you want a shiny Tomcat welcome page when we finally get that far then install the example apps by adding tomcat5-webapps to the end of the last command. For the Tomcat admin web interface add tomcat5-admin, too.</p>
<p>My final command looks like this.</p>
<p><code>sudo apt-get install apache2 tomcat5 sun-java5-jdk tomcat5-webapps tomcat5-admin</code></p>
<p>By default Ubuntu uses a free Java implementation. We now need to tell Ubuntu that we want to use Sun Java as the default. Run the following command.</p>
<p><code>sudo update-alternatives --config java</code></p>
<p>Then enter the number of the version of Java you want from the list when prompted. The one I wanted was <em>/usr/lib/jvm/java-1.5.0-sun/jre/bin/java</em>.</p>
<p>Now we need to tell Tomcat where the jdk is. Open <em>/etc/default/tomcat5</em> and change the variable <strong>JAVA_HOME</strong> to read&#8230;</p>
<p><code>JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun/</code></p>
<p>Make sure it&#8217;s NOT got a &#8220;#&#8221; at the start of the line. You can should now be able to start Tomcat5 with&#8230;</p>
<p><code>sudo /etc/init.d/tomcat5 start</code></p>
<p>Tomcat is listening on port 8180. So open up firefox and enter <a href="http://localhost:8180">http://localhost:8180</a> in the address bar. Once the page loads you should see either a tomcat welcome page or, if you chose not to install the examples and admin packages, a fairly empty page with &#8220;Apache Tomcat/5.0&#8243; at the bottom left. Congrats, you just installed a working Tomcat service. If you don&#8217;t see one of these pages, either you or I screwed up. <img src='http://blixtra.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>If you installed them, the example apps can be found in &#8220;<em>/usr/share/tomcat5/webapps/</em>&#8220;. Also take a look at the configuration files in &#8220;<em>/etc/tomcat5/</em>&#8220;.</p>
<p>Hope that was helpful.</p>
<p><em><strong>Update:</strong> <a href="http://bailandodesvan.sytes.net/">Manolo Canga</a> added a section in his Spanish translation of this tutorial that I&#8217;ve translated into English below.</em></p>
<p><strong>Setting up an admin user</strong></p>
<p>If you try to use the admin interface you&#8217;ll find you can&#8217;t because no admin user has been set up. To resolve that go into /var/lib/tomcat5/conf and edit tomcat-users.xml. You&#8217;ll see that 3 users have been created by default. We&#8217;re going to change the password of the user &#8220;tomcat&#8221; (<code>&lt;user username=&quot;tomcat&quot; </code>) to something better than the default of &#8220;tomcat&#8221;. Duh!? Now we are going to give the user &#8220;tomcat&#8221; admin access. Add &#8220;admin&#8221; to the user tag&#8217;s roles attribute. It should look smilar to this.</p>
<p><code> &lt;user username=&quot;tomcat&quot; password=&quot;your_password&quot; roles=&quot;tomcat,admin&quot;/> </code></p>
<p>Now restart tomcat&#8230;</p>
<p><code>sudo /etc/init.d/tomcat5 restart</code></p>
<p>&#8230;and you&#8217;re done!</p>
<p><!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://blixtra.org/blog/2006/07/14/setting-up-tomcat-5-on-ubuntu-606/feed/</wfw:commentRss>
		<slash:comments>38</slash:comments>
		</item>
		<item>
		<title>Django Nicities</title>
		<link>http://blixtra.org/blog/2006/06/08/django-nicities/</link>
		<comments>http://blixtra.org/blog/2006/06/08/django-nicities/#comments</comments>
		<pubDate>Thu, 08 Jun 2006 09:48:14 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://blixtra.org/blog/2006/06/08/django-nicities/</guid>
		<description><![CDATA[I&#8217;ve been working on a project using Django for the last couple days and am falling in love with it. There are so many nice features that make the life of the developer much more enjoyable. The nicest thing is the automatic administration panel. For many projects it&#8217;s enough to define a model and activate [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a project using <a href="http://www.djangoproject.com/">Django</a> for the last couple days and am falling in love with it.  There are so many nice features that make the life of the developer much more enjoyable. The nicest thing is the <a href="http://www.djangoproject.com/documentation/tutorial2/">automatic administration panel</a>. For many projects it&#8217;s enough to define a model and activate the admin panel. Another nice feature that I just discovered is the automatic api documentation for you project. If you click on the &#8216;documentation&#8217; link at the top right of the admin panel, the documentation is presented in a very well organized and attractive manner. You&#8217;ll need <a href="http://docutils.sourceforge.net/">docutils</a> installed for this. Whenever an error occurs in you code and you set &#8216;DEBUG&#8217; to &#8216;True&#8217; in settings.py, you get a really clean error report. <a href="http://www.djangoproject.com/documentation/generic_views/">Generic Views</a>  saves you a huge amount of coding.</p>
<p>I&#8217;m still trying to get my head around everything, but so far everything has been going quite well. I would like to have a way to automatically choose the current user in the Admin panel and some of the included apps (comments, for example) need to be documented. Most aspects of the framework have quite nice <a href="http://www.djangoproject.com/documentation/">documentation</a>, though.</p>
<p>Ok, back to the project.</p>
<p><!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://blixtra.org/blog/2006/06/08/django-nicities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up Django on Dreamhost</title>
		<link>http://blixtra.org/blog/2006/05/19/setting-up-django-on-dreamhost/</link>
		<comments>http://blixtra.org/blog/2006/05/19/setting-up-django-on-dreamhost/#comments</comments>
		<pubDate>Fri, 19 May 2006 11:15:59 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[django]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blixtra.org/blog/2006/05/19/setting-up-django-on-dreamhost/</guid>
		<description><![CDATA[Jeff Croft has a nice tutorial on how to set up Django, a python web framework, on Dreamhost. If you want to use the sweetness that is Python to do web development, are a Dreamhost customer and would like to be able to avoid this in the future, I propose that you vote to have [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www2.jeffcroft.com/">Jeff Croft</a> has a <a href="http://www2.jeffcroft.com/2006/may/11/django-dreamhost/">nice tutorial</a> on how to set up <a href="http://www.djangoproject.com/">Django</a>, a python web framework, on <a href="http://www.dreamhost.com/rewards.cgi?blixtra">Dreamhost</a>.</p>
<p>If you want to use the sweetness that is <a href="http://www.python.org/">Python</a> to do web development, are a <a href="http://www.dreamhost.com/rewards.cgi?blixtra">Dreamhost</a> customer and would like to be able to avoid this in the future, I propose that you vote to have it included as a standard feature. Go to Home &gt; Suggestions in the Admin Panel, search for Django and then <a href="https://panel.dreamhost.com/index.cgi?tree=home.sugg&#038;search=django">cast your vote</a>. This is how <a href="http://www.rubyonrails.org/">Ruby on Rails</a> got included.</p>
<p>While you&#8217;re at it, <a href="https://panel.dreamhost.com/index.cgi?tree=home.sugg&#038;search=postgresql">cast a vote</a> for <a href="http://www.postgresql.org/">Postgresql</a>, Django&#8217;s preferred database and a <a href="https://panel.dreamhost.com/index.cgi?tree=home.sugg&#038;search=mod_python">vote</a> for <a href="http://www.modpython.org/">mod_python</a>.</p>
<p><a href="http://jeffcroft.com/2006/may/11/django-dreamhost/">read more</a>&nbsp;|&nbsp;<a href="http://digg.com/design/Setting_up_Django_on_Dreamhost">digg story</a></p>
<p><!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://blixtra.org/blog/2006/05/19/setting-up-django-on-dreamhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
