<?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>Doga Berntas &#187; iPad</title>
	<atom:link href="http://doganberktas.com/tag/ipad/feed/" rel="self" type="application/rss+xml" />
	<link>http://doganberktas.com</link>
	<description>is actually from a small planet somewhere in the vicinity of Betelgeuse</description>
	<lastBuildDate>Sat, 21 Apr 2012 21:48:45 +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>iOS and Custom Fonts</title>
		<link>http://doganberktas.com/2012/01/26/ios-and-custom-fonts/</link>
		<comments>http://doganberktas.com/2012/01/26/ios-and-custom-fonts/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 22:52:51 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[custom fonts]]></category>
		<category><![CDATA[font]]></category>
		<category><![CDATA[HelveticaNeue]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=793</guid>
		<description><![CDATA[Recently, I was working on a game with Cocos2d and keep getting this weird iOS version problem. On iOS 5, all my labels were shown as expected but on iOS 4 labels somehow kept disappearing. First I thought this is because of the retina display and point/pixels stuff. However, it was because of the fonts I was [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a title="Crazy quilt collage, is this Cubism (Hockney anyone?) or is this a Fauvist mess?" href="http://flickr.com/photos/23642817@N00/2478897091"><br />
</a></p>
<p>Recently, I was working on a game with Cocos2d and keep getting this weird iOS version problem. On iOS 5, all my labels were shown as expected but on iOS 4 labels somehow kept disappearing. First I thought this is because of the retina display and point/pixels stuff. However, it was because of the fonts I was using. HelveticaNeue-CondensedBold and HelveticaNeue-CondensedBlack are available on iOS 5, but not on iOS 4 (<a href="http://iosfonts.com/" target="_blank">http://iosfonts.com/</a>).</p>
<p><a title="Crazy quilt collage, is this Cubism (Hockney anyone?) or is this a Fauvist mess?" href="http://flickr.com/photos/23642817@N00/2478897091"><img class="aligncenter" src="http://farm4.static.flickr.com/3086/2478897091_02ac5a97fb.jpg" alt="" width="309" height="500" /></a></p>
<p>I googled to see how easy to add custom fonts and it turned out, it is super easy.</p>
<p>These are the links I found helpful:</p>
<ul>
<li>Adding custom fonts by Dave Allanson (<a href="http://www.daveallanson.com/index.php?option=com_content&amp;view=article&amp;id=56:adding-custom-fonts-ios-4&amp;catid=38:blog&amp;Itemid=56" target="_blank">link</a>)</li>
<li>Using Custom Fonts by M. Arsalan Anwar (<a href="http://arsalananwar.blogspot.com/2010/10/using-custom-fonts-on-iphoneipad.html" target="_blank">link</a>)</li>
</ul>
<div><strong>Steps to Add Custom Font:</strong></div>
<div>1. Add font files to project</div>
<div>2. Open your Info.plist file</div>
<div>3. Create the key &#8220;UIAppFonts&#8221;  as Array (it will be shown as &#8220;Fonts provided by application&#8221;  if you are not on Ras Key/Value state, right click and you will see what I mean)</div>
<div>4. Add the fonts to the array</div>
<div><a href="http://doganberktas.com/wp-content/uploads/2012/01/Screen-Shot-2012-01-25-at-2.43.30-PM.png"><img class="alignnone size-medium wp-image-796" title="Screen Shot 2012-01-25 at 2.43.30 PM" src="http://doganberktas.com/wp-content/uploads/2012/01/Screen-Shot-2012-01-25-at-2.43.30-PM-300x34.png" alt="" width="300" height="34" /></a></div>
<div>5. In your code, you can use these fonts as if you are using the regular ones (without the file extension).</div>
<div><strong>Drawing Problems:</strong></div>
<div>If you get the fonts from Adobe, we will get a drawing problem like mentioned <a href="http://stackoverflow.com/questions/5414730/custom-installed-font-not-displayed-correctly-in-uilabel">here</a>. You need to follow the steps <a href="http://stackoverflow.com/questions/7535498/uibutton-custom-font-vertical-alignment/8314197#8314197">here</a>, change the font file&#8217;s ascender property. Don&#8217;t worry it is not that scary as it seems <img src='http://doganberktas.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Don&#8217;t forget to install Apple Font Tool Suite from <a href="http://developer.apple.com/fonts/">here</a>.</div>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2012/01/26/ios-and-custom-fonts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Saving UIImage as a PNG with an Alpha Channel (with transparency) on iOS</title>
		<link>http://doganberktas.com/2010/11/22/saving-uiimage-as-a-png-with-an-alpha-channel-with-transparency-on-ios/</link>
		<comments>http://doganberktas.com/2010/11/22/saving-uiimage-as-a-png-with-an-alpha-channel-with-transparency-on-ios/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 00:28:19 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[alpha channel]]></category>
		<category><![CDATA[documents folder]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Snippet]]></category>
		<category><![CDATA[transparency]]></category>
		<category><![CDATA[uiimage]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=738</guid>
		<description><![CDATA[Say you let your user draw thing and let them go wild with their imaginations, as they probably create awesome drawings, you should probably want to save these images to somewhere. After this short happy talk, here is the code snippet that saves your UIImage to the Documents folder with its alpha channel, if there [...]]]></description>
			<content:encoded><![CDATA[<p>Say you let your user draw thing and let them go wild with their imaginations, as they probably create awesome drawings, you should probably want to save these images to somewhere.</p>
<p style="text-align: center;"><a title="Three Cats by the window..." href="http://flickr.com/photos/73567305@N00/1780521687"><img class="aligncenter" src="http://farm3.static.flickr.com/2248/1780521687_8efe47e43b.jpg" alt="" /></a></p>
<p>After this short happy talk, here is the code snippet that saves your UIImage to the Documents folder with its alpha channel, if there is one. The other method is for reading that image back to an UIImage instance.</p>
<pre>-(void)saveImageToDocs:(NSString *)fileName
{
	NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
	NSString *documentsDirectory = [paths objectAtIndex:0];
	NSString *filePath2 = [NSString stringWithFormat:@"%@/%@.png", documentsDirectory, fileName];

	// If you use this method, the transparency will be lost
	//NSData* imageData = UIImageJPEGRepresentation(drawImage.image, 1.0);
	//NSData* imageData = UIImagePNGRepresentation(drawImage.image);
	//[imageData writeToFile:filePath2 atomically:NO];

	// So use this one
	[UIImagePNGRepresentation(myUIImage) writeToFile:filePath2 atomically:YES];
}

-(void)loadImageFromDocs:(NSString *)fileName
{
	NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
	NSString *documentsDirectory = [paths objectAtIndex:0];
	NSString *filePath2 = [NSString stringWithFormat:@"%@/%@.png", documentsDirectory, fileName];
	if([[NSFileManager defaultManager] fileExistsAtPath:filePath2])
	{
		NSLog(@"image file exists");
		myUIImage = [UIImage imageWithContentsOfFile: filePath2];
	}
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/11/22/saving-uiimage-as-a-png-with-an-alpha-channel-with-transparency-on-ios/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Data Storage Alternatives on iOS (in a Nutshell)</title>
		<link>http://doganberktas.com/2010/10/16/data-storage-alternatives-on-ios-in-a-nutshell/</link>
		<comments>http://doganberktas.com/2010/10/16/data-storage-alternatives-on-ios-in-a-nutshell/#comments</comments>
		<pubDate>Sat, 16 Oct 2010 20:27:00 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[data managements]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=687</guid>
		<description><![CDATA[Below you can find the summary of available alternatives for storing data on iOS based machines. Mainly, which one to use depends on your needs like size of data, need of concurrency, access speed, etc. NSUserDefaults Based on plists Store lightweight app state Tutorial (link) Plist &#8212; Writing everything out as a plist Not suitable [...]]]></description>
			<content:encoded><![CDATA[<p><a title="The Sheep, and we Twitter Sheep can follow these 10 great photographers!" href="http://flickr.com/photos/95572727@N00/3440978820"><img class="alignnone" src="http://farm4.static.flickr.com/3414/3440978820_cf8c782674.jpg" alt="" width="500" height="332" /></a></p>
<p><a title="The Sheep, and we Twitter Sheep can follow these 10 great photographers!" href="http://flickr.com/photos/95572727@N00/3440978820"></a>Below you can find the summary of available alternatives for storing data on iOS based machines. Mainly, which one to use depends on your needs like size of data, need of concurrency, access speed, etc.</p>
<ul>
<li>NSUserDefaults
<ul>
<li>Based on plists</li>
<li>Store lightweight app state</li>
<li>Tutorial (<a href="http://icodeblog.com/2008/10/03/iphone-programming-tutorial-savingretrieving-data-using-nsuserdefaults/">link</a>)</li>
</ul>
</li>
<li>Plist &#8212; Writing everything out as a plist
<ul>
<li>Not suitable for complex model objects</li>
<li>Faster than NSUserDefaults</li>
<li>How to load a plist (<a href="http://code.davidjanes.com/blog/2009/03/23/how-to-load-a-plist-in-an-iphone-application/">link</a>)</li>
<li>Write &amp; Read data to .plist (<a href="http://ipgames.wordpress.com/tutorials/writeread-data-to-plist-file/">link</a>)</li>
</ul>
</li>
<li>Archived Objects
<ul>
<li>Conteptual guide (<a title="http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Archiving/Archiving.html%23//apple_ref/doc/uid/10000047-SW1" href="http://">link</a>)</li>
<li>Archives provide a means to convert objects and values into an architecture-independent stream of bytes that preserves the identity of and the relationships between the objects and values.</li>
<li>Serialization converts Objective-C types to and from an architecture-independent byte stream. In contrast to archiving, basic serialization does not record the data type of the values nor the relationships between them; only the values themselves are recorded. Arbitrary objects cannot be serialized. Only instances of NSArray, NSDictionary, NSString, NSDate, NSNumber, and NSData (and some of their subclasses) can be serialized. (<a href="http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Archiving/Articles/objectgraphs.html">link</a>)</li>
<li>Forum post about how to use archiver (<a href="http://www.iphonedevsdk.com/forum/iphone-sdk-development/3369-archiving-object-nskeyedarchiver-sqlite-coredata.html">link</a>)</li>
</ul>
</li>
<li>The joy of SQLite
<ul>
<li>Basically a local file act like a database server</li>
<li>Not very good for extreme concurrent access</li>
<li>A step by step tutorial (<a href="http://dblog.com.au/iphone-development-tutorials/iphone-sdk-tutorial-reading-data-from-a-sqlite-database/">link</a>)</li>
</ul>
</li>
<li>Core Data
<ul>
<li>Higher abstraction layer than SQLite</li>
<li>Save&amp;load model objects</li>
<li>ORM (Rails ActiveRecord, Java Hibernate)</li>
<li>Use NSPredicate for in memory filtering</li>
<li>Apple Dev Center Article (<a href="http://developer.apple.com/macosx/coredata.html">link</a>)</li>
</ul>
</li>
<li>Web Services
<ul>
<li>Store &amp; access remote data</li>
<li>XML and Json parsers</li>
</ul>
</li>
</ul>
<p>ps. Related Stackoverflow <a href="http://stackoverflow.com/questions/934878/iphone-plist-or-sqlite-for-static-data">entry</a></p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/10/16/data-storage-alternatives-on-ios-in-a-nutshell/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adding Short Sound Clips to iPhone/iPad Apps</title>
		<link>http://doganberktas.com/2010/08/24/adding-short-sound-clips-to-iphoneipad-apps/</link>
		<comments>http://doganberktas.com/2010/08/24/adding-short-sound-clips-to-iphoneipad-apps/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 15:20:24 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[ios4]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[system audio API]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=579</guid>
		<description><![CDATA[There are lots of ways of playing/recording audio in your iPhone/iPad app, and probably this is why it took me a while to decide which one to chose, Here are the alternatives (List of Audio APIs) &#8211; System Sound API &#8212; very short &#8211; limited file type &#8211; no control AVAudioPlayer class &#8212; objC Audio [...]]]></description>
			<content:encoded><![CDATA[<p>There are lots of ways of playing/recording audio in your iPhone/iPad app, and probably this is why it took me a while to decide which one to chose,</p>
<p>Here are the alternatives (List of Audio APIs) &#8211;</p>
<ul>
<li><strong>System Sound API &#8212; very short &#8211; limited file type &#8211; no control</strong></li>
<li>AVAudioPlayer class &#8212; objC</li>
<li>Audio Toolbox &#8212; recording &#8211; streaming &#8211; controls</li>
<li>Audio Units &#8212; audio processing</li>
<li>OpenAL &#8212; 3D positional sound (Yes, just like OpenGL)</li>
</ul>
<p>Since what I need is just to play a short audio clip w/out any looping or any other control, I choose System Audio API.</p>
<p>As always, Google is the first address to ask howto use System Audio AP, <a title="Permanent Link to How To Play Audio With The iPhone SDK" rel="bookmark" href="http://iphoneincubator.com/blog/tutorial/how-to-play-audio-with-the-iphone-sdk">How To Play Audio With The iPhone SDK</a> is a step by step guide, but it takes the starting point from a sample code project from Apple, which is no longer available.</p>
<p>Another one is the sample code project <a href="https://developer.apple.com/iphone/library/samplecode/SysSound/Introduction/Intro.html">SysSound</a> which contains an iOS4 specific feature so that it will not work on iPad.</p>
<p>So how to play an audio clip w/out hassling that much?</p>
<p>Here is the code snippet : (don&#8217;t forget to add the AudioToolbox framework)<br />
#include<br />
&#8230;.</p>
<pre>-(void)playSound
{
	SystemSoundID shortSound;
	NSURL* audioFile = [NSURL fileURLWithPath:[[NSBundle mainBundle]
				pathForResource:[NSString stringWithFormat:@"filename"] ofType:@"wav"]];
	AudioServicesCreateSystemSoundID((CFURLRef)audioFile, &amp;shortSound); 

	//playing it
	AudioServicesPlaySystemSound(shortSound);

	//cleanup
	AudioServicesDisposeSystemSoundID(shortSound);

}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/08/24/adding-short-sound-clips-to-iphoneipad-apps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Summary of Web Application Libraries for iPhone</title>
		<link>http://doganberktas.com/2010/07/17/summary-of-web-application-libraries-for-iphone/</link>
		<comments>http://doganberktas.com/2010/07/17/summary-of-web-application-libraries-for-iphone/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 23:46:13 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iui]]></category>
		<category><![CDATA[iwebkit]]></category>
		<category><![CDATA[jqtouch]]></category>
		<category><![CDATA[pastrykit]]></category>
		<category><![CDATA[sencha touch]]></category>
		<category><![CDATA[spoutcore]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=437</guid>
		<description><![CDATA[PastryKit &#8212; it is from Apple, but it is not public,  you can see it from the iPhone User Guide, it will be released to public hopefully. http://stackoverflow.com/questions/1143589/what-is-the-pastrykit-framework http://daringfireball.net/2009/12/pastrykit http://ajaxian.com/archives/pastrykit-an-iphone-webdev-library-from-apple Sencha Touch &#8212; you should definitely see their kitchen sink, it is pretty cool.but there is no commercial license yet. http://ajaxian.com/archives/sencha-touch http://mobile.tutsplus.com/articles/news/sencha-touch-html5-mobile-framework/ http://www.endofnative.com/ iUi &#8212; [...]]]></description>
			<content:encoded><![CDATA[<p><strong>PastryKit</strong> &#8212; it is from Apple, but it is not public,  you can see it from the <a href="http://help.apple.com/iphone/3/mobile/">iPhone User Guide</a>, it will be released to public hopefully.</p>
<ul>
<li><a href="http://stackoverflow.com/questions/1143589/what-is-the-pastrykit-framework">http://stackoverflow.com/questions/1143589/what-is-the-pastrykit-framework</a></li>
<li><a href="http://daringfireball.net/2009/12/pastrykit">http://daringfireball.net/2009/12/pastrykit</a></li>
<li><a href="http://ajaxian.com/archives/pastrykit-an-iphone-webdev-library-from-apple">http://ajaxian.com/archives/pastrykit-an-iphone-webdev-library-from-apple</a></li>
</ul>
<p><a href="http://www.sencha.com/products/touch/"><strong>Sencha Touch</strong></a> &#8212; you should definitely see their <a href="http://www.sencha.com/deploy/touch/examples/kitchensink/">kitchen sink</a>, it is pretty cool.but there is no commercial license yet.</p>
<ul>
<li><a href="http://ajaxian.com/archives/sencha-touch">http://ajaxian.com/archives/sencha-touch</a></li>
<li><a href="http://mobile.tutsplus.com/articles/news/sencha-touch-html5-mobile-framework/">http://mobile.tutsplus.com/articles/news/sencha-touch-html5-mobile-framework/</a></li>
<li><a href="http://www.endofnative.com/">http://www.endofnative.com/</a></li>
</ul>
<p style="text-align: center;"><img class="aligncenter" src="http://doganberktas.com/wp-content/uploads/2010/07/photo.png" alt="and the winner is ..." width="368" height="490" /></p>
<p><a href="http://code.google.com/p/iui/"><strong>iUi</strong></a> &#8212; not that many people using it I guess. I build a site with it, if it is sth fast and easy to learn, iUi can do the job.</p>
<ul>
<li>Sites build with iUi &#8212; <a href="http://code.google.com/p/iui/wiki/PoweredBy">http://code.google.com/p/iui/wiki/PoweredBy</a></li>
</ul>
<p><span style="color: #ff6600;"><a href="http://jqtouch.com"><strong>jqtouch</strong></a></span> &#8212; <a href="http://jqtouch.com/preview/demos/main/">demos</a> seem very nice, probably better than iUi in terms of current release capabilities and size of community.</p>
<p><a href="http://iwebkit.net/">iWebkit</a> &#8212; <a href="http://iwebkit.net/demo">demo</a> seems promising, but not ready for prime time.</p>
<p><a href="http://www.sproutcore.com/what-is-sproutcore/">SproutCore</a> &#8212; not for iPhone specificly, but its <a href="http://demo.sproutcore.com/sample_controls/">demo</a> seems nice.</p>
<p>So my choice for the next task is jqtouch. not iui this time.</p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/07/17/summary-of-web-application-libraries-for-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello RoR</title>
		<link>http://doganberktas.com/2010/07/13/hello-ror/</link>
		<comments>http://doganberktas.com/2010/07/13/hello-ror/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 00:19:13 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[Github]]></category>
		<category><![CDATA[Grails]]></category>
		<category><![CDATA[Grails Meetup Group]]></category>
		<category><![CDATA[Groovy]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[RoR]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Software engineering]]></category>
		<category><![CDATA[Starbucks Corporation]]></category>
		<category><![CDATA[Web application frameworks]]></category>
		<category><![CDATA[web continuations]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=392</guid>
		<description><![CDATA[Ruby on Rails (RoR) is the new framework I have been playing with and so far I should say it is really amazing. It has all these intuitive approaches that you find out by just guessing. I can only compare it with a couple of other technologies like RIFE (ogrence.net) and Grails (remotespots.com). RIFE has [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Ruby on Rails (RoR) is the new framework I have been playing with and so far I should say it is really amazing. It has all these intuitive approaches that you find out by just guessing. I can only compare it with a couple of other technologies like RIFE (ogrence.net) and Grails (remotespots.com). RIFE has some neat features (template mechanism, web continuations, asynchronous mail queue, persistence layer, etc) but since the lead developer Geert Bevin stop actively developing it, it takes its place in the graveyard of dead tech. Then I try something different, Grails, which is a Groovy version of RoR. It is really good especially after Java Enterprise, convention over configuration is an excellent approach! But it is kind of very young, also Grails has this really fast development cycles, in a couple of month, I had to update my applications two times in which I spend hours to overcome plug-in dependencies, deployment issues, etc. ( one more thing, I can not find any other cool projects that uses Grails, even at <a href="http://www.meetup.com/java-161/">SF Bay Groovy and Grails Meetup Group</a> , actually I was the only one who is currently using Grails <img src='http://doganberktas.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  )</p>
<p style="text-align: center;"><a title="Ruby on Rails" href="http://flickr.com/photos/26572975@N00/177722693"><img class="aligncenter" src="http://farm1.static.flickr.com/74/177722693_8aca6c7e82.jpg" alt="" width="400" height="320" /></a></p>
<p style="text-align: justify;">Since finding a good starter document is a very important decision, I took my time to select my first RoR source. I went over the following books and decided to use the latter one:</p>
<ul>
<li>Ruby on Rails For Dummies</li>
<li>Sitepoint Simply Rails 2nd Edition</li>
<li>Beginning Ruby on Rails</li>
<li><a href="http://railstutorial.org/">The Ruby on Rails Tutorial Book</a></li>
</ul>
<p style="text-align: justify;">Although it is called as a tutorial, when you get the pdf dump, the 12 chapter tutorial is approximately 500 pages, which is literally a book.</p>
<p style="text-align: justify;">The language of the book is very clean and most of the time funny. You can easily develop the code when you are reading it.  You can also follow a test driven approach if you want, but you don&#8217;t have (I didn&#8217;t).</p>
<p style="text-align: justify;">I finished the book in 7 days with a daily 4 hours concentrated reading/coding sessions and with lots of Starbucks Misto (thanks <a href="http://foursquare.com/venue/614429">Starbucks Besevler</a> crew!).</p>
<p style="text-align: justify;">The final code is at <a href="http://github.com/dkberktas/kediler">Github</a>, and live demo site at <a href="http://kediler.heroku.com/">Heroku</a>.</p>
<p style="text-align: justify;">As a pointer for the further steps, the tutorial suggest some <a href="http://railstutorial.org/chapters/following-users#sec:extensions_to_the_sample_application">pointers</a> but I prefer to go on with my path, which requires ImageMagick and Paperclip, so next post will be about these two.</p>
<p style="text-align: justify;">See you next time!</p>
<p style="text-align: justify;">ps. I really like Heroku. Grails has something <a href="http://www.cloudfoundry.com/">similar</a> but to be honest, it is not that magical (as in iPad).</p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/07/13/hello-ror/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Yet Another Hacker News iPad Reader</title>
		<link>http://doganberktas.com/2010/07/07/yet-another-hacker-news-ipad-reader/</link>
		<comments>http://doganberktas.com/2010/07/07/yet-another-hacker-news-ipad-reader/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 09:27:45 +0000</pubDate>
		<dc:creator>dkberktas</dc:creator>
				<category><![CDATA[english]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[app store]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://doganberktas.com/?p=375</guid>
		<description><![CDATA[A couple of weeks ago, I wanted to read Hackernews with my iPad [although some HackerNews readers see iPad’s Safari good enough for the task (which requires opening new tabs for comments,  lots of copy &#38; pasting URLs to share and  etc)], I searched for an application. Eventually, I found two, which are both paid [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">A couple of weeks ago, I wanted to read Hackernews with my iPad [although  some HackerNews readers see iPad’s Safari good enough for the task  (which requires opening new tabs for comments,  lots of copy &amp; pasting URLs to  share and  etc)], I searched for an application. Eventually, I found two, which are both paid applications. Since this applications is in my seven nights category (which is something I can code in seven consequent nights without disrupting my day work), I decided to code it myself.</p>
<p style="text-align: justify;">After 3 nights the application was ready for the submission. It got rejected since I didn&#8217;t read the iPad User guidelines carefully (actually I just skimmed it in 5 minutes). The rejection reason is &#8220;You can&#8217;t show more than one popover at the same time&#8221;. I fixed the problem, and it is available in the app store (<a href="http://dogan.appspot.com/35">App Store link</a>)</p>
<p><img class="alignnone" style="margin-left: -50px;" src="http://doganberktas.com/wp-content/uploads/2010/07/Screen-shot-2010-07-07-at-12.07.53-PM.png" alt="Yet Another Hackernews reader" width="566" height="476" /></p>
<p style="text-align: justify;">I will probably change the default RSS feed of Hackernews which only show top 30 posts. Probably something on GAE, and maybe a simple my favorites kind of thing.</p>
]]></content:encoded>
			<wfw:commentRss>http://doganberktas.com/2010/07/07/yet-another-hacker-news-ipad-reader/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

