<?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>dev.enekoalonso.com &#187; development</title>
	<atom:link href="http://dev.enekoalonso.com/tag/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.enekoalonso.com</link>
	<description>having fun with code</description>
	<lastBuildDate>Wed, 12 Oct 2011 21:40:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>My Sublime Text 2 settings</title>
		<link>http://dev.enekoalonso.com/2011/07/26/my-sublime-text-2-settings/</link>
		<comments>http://dev.enekoalonso.com/2011/07/26/my-sublime-text-2-settings/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 03:54:25 +0000</pubDate>
		<dc:creator>Eneko Alonso</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[settings]]></category>
		<category><![CDATA[sublime]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://dev.enekoalonso.com/?p=714</guid>
		<description><![CDATA[My Sublime Text 2 settings: // Settings in here override those in &#34;Default/Base File.sublime-settings&#34;, and // are overridden in turn by file type specific settings. Place your settings // here, to ensure they&#39;re preserved when upgrading. &#123; &#160;// Set to false for horizontal scrolling &#160;&#34;word_wrap&#34;: false, &#160;// Set to false to disable detection of tabs [...]]]></description>
			<content:encoded><![CDATA[<p>My <a href="http://www.sublimetext.com/2">Sublime Text 2</a> settings:</p>
<div class="geshi no javascript">
<ol>
<li class="li1">
<div class="de1"><span class="co1">// Settings in here override those in &quot;Default/Base File.sublime-settings&quot;, and</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co1">// are overridden in turn by file type specific settings. Place your settings</span></div>
</li>
<li class="li1">
<div class="de1"><span class="co1">// here, to ensure they&#39;re preserved when upgrading.</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;<span class="co1">// Set to false for horizontal scrolling</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;<span class="st0">&quot;word_wrap&quot;</span>: <span class="kw2">false</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp;<span class="co1">// Set to false to disable detection of tabs vs. spaces on load</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;<span class="st0">&quot;detect_indentation&quot;</span>: <span class="kw2">false</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp;<span class="co1">// Set to &quot;none&quot; to turn off drawing white space, &quot;selection&quot; to draw only the</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;<span class="co1">// white space within the selection, and &quot;all&quot; to draw all white space</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;<span class="st0">&quot;draw_white_space&quot;</span>: <span class="st0">&quot;all&quot;</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp;<span class="co1">// Set to true to removing trailing white space on save</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;<span class="st0">&quot;trim_trailing_white_space_on_save&quot;</span>: <span class="kw2">true</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp;<span class="co1">// Set to true to ensure the last line of the file ends in a newline</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;<span class="co1">// character when saving</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;<span class="st0">&quot;ensure_newline_at_eof_on_save&quot;</span>: <span class="kw2">true</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<h3  class="related_post_title">Related Posts:</h3><ul class="related_post"><li>July 30, 2010 -- <a href="http://dev.enekoalonso.com/2010/07/30/titanium-developer-love-and-hate/" title="Titanium Developer: love and hate">Titanium Developer: love and hate</a> (3)</li><li>June 3, 2011 -- <a href="http://dev.enekoalonso.com/2011/06/03/step-back-and-watch-what-the-%e2%80%9cnormals%e2%80%9d-do/" title="Step back and watch what the “normals” do">Step back and watch what the “normals” do</a> (0)</li><li>May 12, 2011 -- <a href="http://dev.enekoalonso.com/2011/05/12/angry-birds-as-a-web-app/" title="Angry Birds as a Web App">Angry Birds as a Web App</a> (0)</li><li>August 27, 2010 -- <a href="http://dev.enekoalonso.com/2010/08/27/link-whirlpool-js/" title="Link: Whirlpool JS">Link: Whirlpool JS</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://dev.enekoalonso.com/2011/07/26/my-sublime-text-2-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Step back and watch what the “normals” do</title>
		<link>http://dev.enekoalonso.com/2011/06/03/step-back-and-watch-what-the-%e2%80%9cnormals%e2%80%9d-do/</link>
		<comments>http://dev.enekoalonso.com/2011/06/03/step-back-and-watch-what-the-%e2%80%9cnormals%e2%80%9d-do/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 03:23:09 +0000</pubDate>
		<dc:creator>Eneko Alonso</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://dev.enekoalonso.com/2011/06/03/step-back-and-watch-what-the-%e2%80%9cnormals%e2%80%9d-do/</guid>
		<description><![CDATA[&#8220;We as developer must remember that we are not the target for 99% of the software that is written. We are not the final judge on what will or will not work. If anything, we are the last people that should have an opinion on what is good or bad. We should be the ones [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;We as developer must remember that we are not the target for 99% of the software that is written. We are not the final judge on what will or will not work. If anything, we are the last people that should have an opinion on what is good or bad. We should be the ones that step back and watch what the “normals” do with it. They determine the success or failure; not us.&#8221;<br />

http://www.cimgf.com/2011/06/03/why-so-serious</p>
<h3  class="related_post_title">Related Posts:</h3><ul class="related_post"><li>August 3, 2010 -- <a href="http://dev.enekoalonso.com/2010/08/03/iphone-sdk-old-versions/" title="List of iPhone SDK &#038; XCode packages">List of iPhone SDK &#038; XCode packages</a> (1)</li><li>July 30, 2010 -- <a href="http://dev.enekoalonso.com/2010/07/30/titanium-developer-love-and-hate/" title="Titanium Developer: love and hate">Titanium Developer: love and hate</a> (3)</li><li>July 26, 2011 -- <a href="http://dev.enekoalonso.com/2011/07/26/my-sublime-text-2-settings/" title="My Sublime Text 2 settings">My Sublime Text 2 settings</a> (0)</li><li>June 14, 2011 -- <a href="http://dev.enekoalonso.com/2011/06/14/titanium-studio-and-titanium-mobile-1-7/" title="Titanium Studio and Titanium Mobile 1.7">Titanium Studio and Titanium Mobile 1.7</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://dev.enekoalonso.com/2011/06/03/step-back-and-watch-what-the-%e2%80%9cnormals%e2%80%9d-do/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Titanium Developer: love and hate</title>
		<link>http://dev.enekoalonso.com/2010/07/30/titanium-developer-love-and-hate/</link>
		<comments>http://dev.enekoalonso.com/2010/07/30/titanium-developer-love-and-hate/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 04:57:16 +0000</pubDate>
		<dc:creator>Eneko Alonso</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[appcelerator]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[pc]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[titanium]]></category>

		<guid isPermaLink="false">http://dev.enekoalonso.com/?p=615</guid>
		<description><![CDATA[I&#8217;ve been using Titanium Developer for a while now, since I installed it to do some mobile app research one or two months ago. But up until now I barely used it again other than to maintain a desktop app I created for a game, which thanks to Titanium runs in both Mac and PC. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://www.appcelerator.com/products/titanium-mobile-application-development/">Titanium Developer</a> for a while now, since I installed it to do some mobile app research one or two months ago. But up until now I barely used it again other than to maintain a desktop app I created for a game, which thanks to Titanium runs in both Mac and PC. Thus, up until this week, I hadn&#8217;t really get in depth with it.</p>
<h3>The good things</h3>
<p>Nice, easy and fast. Creating apps is piece of cake, loading JSON feeds from Internet, using local storage, placing buttons and labels on the screen&#8230; it&#8217;s all easy and it works on both iPhone and Android right away.</p>
<h3>The bad things</h3>
<p>Titanium Developer looks like an unfinished app. It shouldn&#8217;t be version 1.X, not even 0.X. Looks like an alpha, buggy and very easy to get screwed up, specially if you share your projects between Windows and Mac. This time it launches the emulator, this time it does not. This time your project does not load properly. Next time, you try to create a new project and it fails. And the errors are totally useless. Not very helpful.</p>
<h3>Conclusion</h3>
<p>The idea is great, awesome. The code is clean and using Javascript for development makes it easy for web developers to get easily involved into mobile app development. If only the <a href="http://twitter.com/appcelerator">Appcelerator</a> team could improve their app, we would save a lot of headaches.</p>
<h3  class="related_post_title">Related Posts:</h3><ul class="related_post"><li>September 17, 2010 -- <a href="http://dev.enekoalonso.com/2010/09/17/mootools-core-for-server-and-mobile-development/" title="MooTools Core for Server and Mobile Development">MooTools Core for Server and Mobile Development</a> (1)</li><li>August 18, 2010 -- <a href="http://dev.enekoalonso.com/2010/08/18/titanium-developer-love-and-hate-part-ii/" title="Titanium Developer: love and hate (Part II)">Titanium Developer: love and hate (Part II)</a> (0)</li><li>June 14, 2011 -- <a href="http://dev.enekoalonso.com/2011/06/14/titanium-studio-and-titanium-mobile-1-7/" title="Titanium Studio and Titanium Mobile 1.7">Titanium Studio and Titanium Mobile 1.7</a> (0)</li><li>August 3, 2010 -- <a href="http://dev.enekoalonso.com/2010/08/03/iphone-sdk-old-versions/" title="List of iPhone SDK &#038; XCode packages">List of iPhone SDK &#038; XCode packages</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://dev.enekoalonso.com/2010/07/30/titanium-developer-love-and-hate/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Adding specific code for production only</title>
		<link>http://dev.enekoalonso.com/2008/12/26/adding-specific-code-for-production-only/</link>
		<comments>http://dev.enekoalonso.com/2008/12/26/adding-specific-code-for-production-only/#comments</comments>
		<pubDate>Sat, 27 Dec 2008 05:46:54 +0000</pubDate>
		<dc:creator>Eneko Alonso</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[production]]></category>
		<category><![CDATA[stats]]></category>

		<guid isPermaLink="false">http://dev.enekoalonso.com/?p=218</guid>
		<description><![CDATA[When you are developing a website you want to get as close as production as possible, to guarantee the final result will be appropriate and to make sure everything is going to work fine. But there are special cases when you want to add some code only on production, like stats code for example. One [...]]]></description>
			<content:encoded><![CDATA[<p>When you are developing a website you want to get as close as production as possible, to guarantee the final result will be appropriate and to make sure everything is going to work fine. But there are special cases when you want to add some code only on production, like stats code for example.</p>
<p>One easy way to do this is to check the server HTTP variables, the HTTP_HOST to be exact. This will contain your server host name, without the &#8220;http://&#8221; and the page URL. In my case, the value is &#8220;dev.enekoalonso.com&#8221;.</p>
<p>In PHP:</p>
<div class="geshi no php">
<ol>
<li class="li1">
<div class="de1"><span class="kw2">&lt;?php</span> <span class="kw1">if</span> <span class="br0">&#40;</span><span class="re1">$_SERVER</span><span class="br0">&#91;</span><span class="st0">&#39;HTTP_HOST&#39;</span><span class="br0">&#93;</span> <span class="sy0">==</span> <span class="st0">&#39;dev.enekoalonso.com&#39;</span><span class="br0">&#41;</span><span class="sy0">:</span> <span class="kw2">?&gt;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#91;</span>Google Analytics code here<span class="br0">&#93;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">&lt;?php</span> <span class="kw1">endif</span><span class="sy0">;</span> <span class="kw2">?&gt;</span></div>
</li>
</ol>
</div>
<p>That way I don&#8217;t mess up my stats while spending hours creating a demo in my development environment.</p>
<h3  class="related_post_title">Related Posts:</h3><ul class="related_post"><li>November 29, 2008 -- <a href="http://dev.enekoalonso.com/2008/11/29/setting-up-a-development-environment/" title="Setting up a development environment">Setting up a development environment</a> (0)</li><li>July 26, 2011 -- <a href="http://dev.enekoalonso.com/2011/07/26/my-sublime-text-2-settings/" title="My Sublime Text 2 settings">My Sublime Text 2 settings</a> (0)</li><li>June 3, 2011 -- <a href="http://dev.enekoalonso.com/2011/06/03/step-back-and-watch-what-the-%e2%80%9cnormals%e2%80%9d-do/" title="Step back and watch what the “normals” do">Step back and watch what the “normals” do</a> (0)</li><li>July 30, 2010 -- <a href="http://dev.enekoalonso.com/2010/07/30/titanium-developer-love-and-hate/" title="Titanium Developer: love and hate">Titanium Developer: love and hate</a> (3)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://dev.enekoalonso.com/2008/12/26/adding-specific-code-for-production-only/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Setting up a development environment</title>
		<link>http://dev.enekoalonso.com/2008/11/29/setting-up-a-development-environment/</link>
		<comments>http://dev.enekoalonso.com/2008/11/29/setting-up-a-development-environment/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 19:54:00 +0000</pubDate>
		<dc:creator>Eneko Alonso</dc:creator>
				<category><![CDATA[uncategorized]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://dev.enekoalonso.com/?p=61</guid>
		<description><![CDATA[I want to left behind the days when I was developing code without any version control system. I have been using these at work for years now, but never for my personal projects. So know I use/have two SVN repositories: enekoalonso.com/svn for my personal projects and tests. code.google.com/u/eneko.alonso/ for more complex projects in which other [...]]]></description>
			<content:encoded><![CDATA[<p>I want to left behind the days when I was developing code without any version control system. I have been using these at work for years now, but never for my personal projects. So know I use/have two SVN repositories:</p>
<ul>
<ol><a href="http://enekoalonso.com/svn">enekoalonso.com/svn</a> for my personal projects and tests.</ol>
<ol><a href="http://code.google.com/u/eneko.alonso/">code.google.com/u/eneko.alonso/</a> for more complex projects in which other people my want to participate.</ol>
</ul>
<p>But SVN doesn&#8217;t solve all problems, specially when working with Javascript and HTML. This is because I want to see my code in action. For this, I have <a href="http://code.enekoalonso.com">http://code.enekoalonso.com</a>. Until now I was uploading manually javascript and html demo pages that I was working on, but synchronizing it with the SVN repository became a pain very fast. So in order to avoid this, I have done a checkout of my SVN repository on my webserver. Now, whenever I update or add a new project to the repository, updating <a href="http://code.enekoalonso.com">http://code.enekoalonso.com</a> will be as simple as running the command:
<pre>svn update</pre>
<p> And that&#8217;s it! </p>
<p>Now I can develop and test locally on my own computer, then commit to svn and update my code server without any pain.</p>
<h3  class="related_post_title">Related Posts:</h3><ul class="related_post"><li>February 7, 2010 -- <a href="http://dev.enekoalonso.com/2010/02/07/my-current-svn-setup/" title="My current SVN setup">My current SVN setup</a> (0)</li><li>January 26, 2010 -- <a href="http://dev.enekoalonso.com/2010/01/26/loving-gitgithub/" title="Loving git+github">Loving git+github</a> (0)</li><li>December 26, 2008 -- <a href="http://dev.enekoalonso.com/2008/12/26/adding-specific-code-for-production-only/" title="Adding specific code for production only">Adding specific code for production only</a> (2)</li><li>July 26, 2011 -- <a href="http://dev.enekoalonso.com/2011/07/26/my-sublime-text-2-settings/" title="My Sublime Text 2 settings">My Sublime Text 2 settings</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://dev.enekoalonso.com/2008/11/29/setting-up-a-development-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

