<?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>Sat, 31 Jul 2010 05:51:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<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>February 19, 2010 -- <a href="http://dev.enekoalonso.com/2010/02/19/having-fun-with-mooml-and-twitter/" title="Having fun with Mooml &#038; Twitter">Having fun with Mooml &#038; Twitter</a> (0)</li><li>January 28, 2010 -- <a href="http://dev.enekoalonso.com/2010/01/28/things-to-do/" title="Things to do">Things to do</a> (0)</li><li>August 29, 2009 -- <a href="http://dev.enekoalonso.com/2009/08/29/spaniards-for-iphone-available-now/" title="Spaniards for iPhone available now">Spaniards for iPhone available now</a> (0)</li><li>June 30, 2009 -- <a href="http://dev.enekoalonso.com/2009/06/30/iphone-3-0-geolocation-with-javascript/" title="iPhone 3.0 geolocation with Javascript">iPhone 3.0 geolocation with Javascript</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>2</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 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> (2)</li><li>January 31, 2010 -- <a href="http://dev.enekoalonso.com/2010/01/31/cloudservers-creating-a-new-web-server-with-httpd-php-memcached/" title="CloudServers: Creating a new web server with httpd, php &#038; memcached">CloudServers: Creating a new web server with httpd, php &#038; memcached</a> (1)</li><li>December 23, 2008 -- <a href="http://dev.enekoalonso.com/2008/12/23/grass-demo-background-sounds/" title="Grass demo: background sounds">Grass demo: background sounds</a> (0)</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 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> (2)</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>
