<?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>digitalself &#187; Code</title>
	<atom:link href="http://www.digitalself.org/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digitalself.org</link>
	<description>Realization of self in a digital world</description>
	<lastBuildDate>Mon, 10 Oct 2011 22:47:42 +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>Chroots 0.2 &#8211; First Public release</title>
		<link>http://www.digitalself.org/2008/12/10/chroots-02-first-public-release/</link>
		<comments>http://www.digitalself.org/2008/12/10/chroots-02-first-public-release/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 01:33:54 +0000</pubDate>
		<dc:creator>alfmatos</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[chroots]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://www.digitalself.org/?p=143</guid>
		<description><![CDATA[Chroots is a collection of bash scripts to create, maintain, manage and use several chroot environments on debian based systems. It sports such features as privilege drop, multiple chroot maintenance and caching. This is the first public release, under GPLv3. The software is now in a state where I can [...]]]></description>
			<content:encoded><![CDATA[<p><em>Chroots is a collection of bash scripts to create, maintain, manage and use several chroot environments on debian based systems. It sports such features as privilege drop, multiple chroot maintenance and caching.</em></p>
<p>This is the first public release, under GPLv3. The software is now in a state where I can use it every day to maintain chroots. To download the source code, use the link below. There is also a git repository available for cloning. Chroots is developed under Ubuntu, and can build debian and Ubuntu chroots through deboostrap.</p>
<p><span id="more-143"></span></p>
<p><strong>Source Code</strong>: <a href="http://www.digitalself.org/files/chroots-0.2.tar.gz">chroots-0.2.tar.gz</a><br />
<strong>Git Repository</strong>: <a title="Chroots git repository" href="http://git.digitalself.org/?p=chroots.git">http://git.digitalself.org/?p=chroots.git</a></p>
<p>If anyone finds this useful, don&#8217;t hesitate to drop a comment with suggestions or feedback. I&#8217;m looking forward to it. Bug reports are nice, and will be handled. More information about <em>chroots</em> below, and inside the source package. In time, I might put up a page for the project. In the meantime, enjoy this release.</p>
<h3>About Chroots</h3>
<p>Chroots is a set of wrapper scripts around  debootstrap. debootstrap is an effective way of create a general purpose  build environment. While it is fairly simple to setup a working environment, it&#8217;s always necessary to perform several steps to actually login into a deboostrapped environment using chroot. It can  be a cumbersome task, hence chroots.</p>
<p>For test building packages there is already pbuilder. What pbuilder does is build a debian package in a freshly created chroot environment. This allows detecting build and dependency errors quite effectively. Nevertheless, to use pbuilder, an environment is setup every time and out of the user&#8217;s reach, and it is quite a difficult tool to use for the occasional packaging experiment.</p>
<p>This is where chroots comes in. It allows to easily configure setup and deploy a chroot environment, enabling everything from package tests to dependency check, or manual tarball compilation, keeping your production environment &#8216;clean&#8217;. It allows to maintain several chroot environments at the same time, so that it can be easy to test multiple systems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalself.org/2008/12/10/chroots-02-first-public-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Development Workflow</title>
		<link>http://www.digitalself.org/2008/04/21/web-development-workflow/</link>
		<comments>http://www.digitalself.org/2008/04/21/web-development-workflow/#comments</comments>
		<pubDate>Mon, 21 Apr 2008 21:27:58 +0000</pubDate>
		<dc:creator>alfmatos</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[My World]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[sshfs]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.digitalself.org/?p=53</guid>
		<description><![CDATA[Lately I&#8217;ve been working on some web projects, nothing major, one of which is the template for this blog. One thing that always bugs me is the workflow for web development. What is the best workflow for such projects, that require server side testing ? How to develop a WordPress [...]]]></description>
			<content:encoded><![CDATA[<p>Lately I&#8217;ve been working on some web projects, nothing major, one of which is the template for this blog. One thing that always bugs me is the workflow for web development. What is the best workflow for such projects, that require server side testing ?</p>
<p>How to develop a WordPress theme without major hassle ? Or a php website for that matter ?</p>
<h2>Option 1</h2>
<p>Deploy a local http server, and test it as you code it on your local machine.</p>
<h3>Downsides</h3>
<ul>
<li>Requires deployment of local http server and mysql server and wordpress/custom stuff.</li>
</ul>
<h3>Upsides</h3>
<ul>
<li>Fast code/test/fix cycle.</li>
<li>If you screw up, just reinstall or star over.</li>
<li>Does not bother visitor on production sites.</li>
</ul>
<h2>Option 2</h2>
<p>Code directly on the server. Through ssh.</p>
<h3>Downsides</h3>
<ul>
<li>Remote work is usually slugish.</li>
<li>Requires exporting the X windows for minimal usefulness.</li>
<li>Too much work to get into a usable state.</li>
<li>Direct work on the database/project/software.</li>
</ul>
<h3>Upsides</h3>
<ul>
<li>Direct work on the database/project/software.</li>
<li>Already deployed server/php/mysql/wordpress whatever software.</li>
</ul>
<p>But I recently found a third option that seems viable.</p>
<h2>Option 3</h2>
<p>Mount the remote working directory through sshfs.</p>
<h3>Downsides</h3>
<ul>
<li>Remote work can be slugish.</li>
<li>Direct work on the database/project/software.</li>
</ul>
<h3>Upsides</h3>
<ul>
<li>Direct work on the database/project/software.</li>
<li>Simple deployment. Just mount the damn thing and be on your way.</li>
<li>Take advantage of your desktop/development environment.</li>
</ul>
<p>This is the latest and greatest solution so far. But this still doesn&#8217;t sound like perfect, because if I want to code a wordpress theme/template I have to enable it and work on my production website, which hinders both development and visitors.</p>
<p>Has anyone got a great solution for this ? A great workflow ? Or am I just being lazy and should install everything locally ?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitalself.org/2008/04/21/web-development-workflow/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

