<?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>GString *blog = g_string_new(&#34;Hacking&#34;); &#187; Web development</title>
	<atom:link href="http://gabrielfalcao.com/category/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://gabrielfalcao.com</link>
	<description>Hacking for a better world</description>
	<lastBuildDate>Thu, 21 Jan 2010 10:59:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Eclipse + Java + UML + RESTful, the real silver bullet</title>
		<link>http://gabrielfalcao.com/2009/04/01/eclipsejava-much-better-aprils-fool/</link>
		<comments>http://gabrielfalcao.com/2009/04/01/eclipsejava-much-better-aprils-fool/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 11:30:23 +0000</pubDate>
		<dc:creator>gabriel</dc:creator>
				<category><![CDATA[Web development]]></category>
		<category><![CDATA[not true]]></category>

		<guid isPermaLink="false">http://gabrielfalcao.com/?p=21</guid>
		<description><![CDATA[Some days ago I was just thinking about all these agile bullshit.
I mean, no matter if you do TDD or not, if you do care about continuous integration, this is all a real lose of time.
When thinking about shipping good software, the best combination is, indeed, quite simple:

Use a powerful IDE. You as developer don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Some days ago I was just thinking about <a href="http://en.wikipedia.org/wiki/Agile_software_development">all</a> <a href="http://en.wikipedia.org/wiki/Scrum_(development)">these</a> <a href="http://en.wikipedia.org/wiki/You_Ain%27t_Gonna_Need_It">agile</a> <a href="http://en.wikipedia.org/wiki/Continuous_Integration">bullshit</a>.</p>
<p>I mean, no matter if you do TDD or not, if you do care about continuous integration, this is all a real lose of time.</p>
<p>When thinking about <a href="http://en.wikipedia.org/wiki/April_Fools%27_Day">shipping</a> good software, the best combination is, indeed, quite simple:</p>
<ol>
<li>Use a powerful IDE. You as developer don&#8217;t even need to now how the things work, let the IDE do everything for you. <a href="http://en.wikipedia.org/wiki/Eclipse_(software)">Eclipse</a> is <a href="http://en.wikipedia.org/wiki/Disgust">the one you really need</a>.</li>
<li>Use a well known, certified and reliable language. Why using dynamic languages ? You don&#8217;t need to be agile, you need to ship something with trust value, so build it with java.</li>
<li>Don&#8217;t code, use wizards and boilerplate generators. Once again, what is better, easy money or thousands of hours hacking things from scratch ? You can use UML-based code generators, and super-duper eclipse plugins to generate your code. Forget all stress and make your project manager happy.</li>
<li>Prepare yourself for possible future needs. To build a real scallable application you must ALWAYS use a complex <a href="http://en.wikipedia.org/wiki/Service-oriented_architecture">SOA</a> approach, so you can separate business-rules in each module and distribute in many servers. A RESTful approach is even better. <a href="http://en.wikipedia.org/wiki/April_Fools%27_Day">Forget everything</a> about agile software development, your customer doesn&#8217;t need a term, he needs a full-featured project.</li>
</ol>
<p>To but it bluntly, <a href="http://en.wikipedia.org/wiki/Fred_Brooks">Fred Brooks</a> was totally wrong in his book <a href="http://en.wikipedia.org/wiki/The_Mythical_Man-Month">&#8220;The Mythical Man-Month&#8221;</a>, about &#8220;no silver bullet&#8221;, the steps below are, indeed, a silver bullet and you can see proofs of this sentence in the &#8220;Martin Flawler&#8217;s&#8221; <a href="http://en.wikipedia.org/wiki/April_Fools%27_Day">article.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://gabrielfalcao.com/2009/04/01/eclipsejava-much-better-aprils-fool/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Hosting and deploying django apps on Dreamhost</title>
		<link>http://gabrielfalcao.com/2008/12/02/hosting-and-deploying-django-apps-on-dreamhost/</link>
		<comments>http://gabrielfalcao.com/2008/12/02/hosting-and-deploying-django-apps-on-dreamhost/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 12:12:00 +0000</pubDate>
		<dc:creator>gabriel</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Web development]]></category>

		<guid isPermaLink="false">http://gabrielfalcao.com/?p=10</guid>
		<description><![CDATA[About two years ago, I&#8217;ve signed up to Dreamhost. My goals were and still being to host my personal projects, websites and so on.
Once I am a Django web developer, one of my first actions were to create a django deployment setup, good and flexible enough. The time passed on and have been got new [...]]]></description>
			<content:encoded><![CDATA[<p>About two years ago, I&#8217;ve signed up to Dreamhost. My goals were and still being to host my personal projects, websites and so on.</p>
<p>Once I am a <a href="http://www.djangoproject.com/">Django</a> web developer, one of my first actions were to create a django deployment setup, good and flexible enough. The time passed on and have been got new experiences, and the best desision, i think, was to create a new python sandbox, i mean, a customized python environment.</p>
<h2>How is it possible ?</h2>
<p>Simple! Just compiling python from scratch, with a fake root path (a prefix)</p>
<p>Anyway, the deployment process involves more variables, like setting both htaccess and dispatch files for each project, installing some basic modules such <a href="http://www.pythonware.com/products/pil/">PIL</a> and <a href="http://sourceforge.net/projects/mysql-python/">MySQL</a> and so on&#8230;</p>
<p>So, i ever wanted to create a super duper script to do all that &#8220;dirty&#8221; work. And i did it last weekend!</p>
<p>I were working ia a freelance job and decided to create a subdomain to host test instance of them.</p>
<p>A new sandbox, ready to make my tests to create the super script.</p>
<p>So folks, i present you the brand new: <strong>django_dreamhost.sh</strong> <img src='http://gabrielfalcao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It&#8217;s composed by 4 files:</p>
<ul>
<li><strong>django_dreamhost.sh</strong> itself</li>
<li><strong>djangify.template</strong> &#8211; a template with will become a script to setup new projects (htaccess and dipatch files, for instance)</li>
<li><strong>htaccess.template</strong> &#8211; a template that will become the .htaccess of each project of yours</li>
<li><strong>dispatch.template</strong> &#8211; will become the dispatch.fcgi for your projects as well</li>
</ul>
<p>&#8220;But do i need to download all them ?&#8221;, of course NO!</p>
<p>You just download the main script, and he will do all do hard work!</p>
<p>&#8220;I wanna contribute, modify or do anything with that script, can I ?&#8221;, of course yes! All parts of the script are GPLv2 +</p>
<p>You can also always get the development version through <a href="http://git.or.cz/">git</a> repository:</p>
<p><strong>git clone http://git.nacaolivre.org/django_dreamhost</strong></p>
<p>Don&#8217;t want to get all code, just the script ?</p>
<p>Download it at: <a href="http://gnu.gabrielfalcao.com/django_dreamhost/django_dreamhost.sh"><strong>http://gnu.gabrielfalcao.com/django_dreamhost/django_dreamhost.sh</strong></a></p>
<h2><strong>What does that script do ?</strong></h2>
<p>He will do the following steps:</p>
<ol>
<li>Download Python, Django, Python-setuptools, Python-fastcgi to a directory called downloads</li>
<li>Extract all</li>
<li>Create a local root at $HOME/.myroot and the subdirs etc and usr</li>
<li>Set the new bin path to you global path through bashrc and bash_profile</li>
<li>Compile and install python to the new prefix: $HOME/.myroot/usr</li>
<li>Install Django, rename django-admin.py to django-admin</li>
<li>Setup your bash-completion to support django scripts</li>
<li>Install the python modules above with the new python</li>
<li>Install PIL and MYSQL modules through easy_install (setuptools)</li>
<li>Download the template scripts to $HOME/projects/script_templates</li>
<li>Replace the custom tags in templates</li>
<li>Move the djangify.template to the new bin PATH: $HOME/usr/bin and give it execution permission</li>
</ol>
<p>I thinks it&#8217;s all.</p>
<p>I currently use <a href="http://www.nongnu.org/fab/">Fabric</a> to help on deployment, and i have a quite smart basic setup for it to work with this dreamhost django environment, but it will be approached in the next blog post <img src='http://gabrielfalcao.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>See you, folks!</p>
]]></content:encoded>
			<wfw:commentRss>http://gabrielfalcao.com/2008/12/02/hosting-and-deploying-django-apps-on-dreamhost/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
