<?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>DesignFission</title>
	<atom:link href="http://www.designfission.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.designfission.com/blog</link>
	<description>Flash, Web, Javascript and everything else</description>
	<lastBuildDate>Wed, 11 Apr 2012 08:03:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>HTML5 Video Custom Controls</title>
		<link>http://www.designfission.com/blog/2012/03/24/html5-video-custom-controls/</link>
		<comments>http://www.designfission.com/blog/2012/03/24/html5-video-custom-controls/#comments</comments>
		<pubDate>Fri, 23 Mar 2012 20:10:03 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[controls]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[pause]]></category>
		<category><![CDATA[play]]></category>
		<category><![CDATA[seek]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=654</guid>
		<description><![CDATA[Created a very simple control system for HTML5 video. This is really useful if you have videos for your iPad optimized website and you want to have a custom skin, or overlay other buttons (like a close button) over the &#8230; <p><a class="btn small" href="http://www.designfission.com/blog/2012/03/24/html5-video-custom-controls/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
			<content:encoded><![CDATA[<p>Created a very simple control system for HTML5 video. This is really useful if you have videos for your iPad optimized website and you want to have a custom skin, or overlay other buttons (like a close button) over the video.</p>
<p>Get it here: <a href="https://github.com/EdwinToh/HTML5-Video-Custom-Controls">https://github.com/EdwinToh/HTML5-Video-Custom-Controls</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2012/03/24/html5-video-custom-controls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Essential reading for mobile web developers</title>
		<link>http://www.designfission.com/blog/2012/03/01/essential-reading-for-mobile-web-developers/</link>
		<comments>http://www.designfission.com/blog/2012/03/01/essential-reading-for-mobile-web-developers/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 13:58:02 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=635</guid>
		<description><![CDATA[David Calhoun's Mobile Web Series: http://davidbcalhoun.com/2010/viewport-metatag QuirksMode Mobile http://www.quirksmode.org/mobile/ http://quirksmode.org/m/table.html Tap vs Click http://digitalize.ca/2010/02/jqtouch-tap-vs-click/ Media Queries and images http://timkadlec.com/2012/04/media-query-asset-downloading-results/ Respond.js https://github.com/scottjehl/Respond Some of my personal tests iOS: screen.width/height always gives portrait sizes. window.innerHeight is accurate but gives the viewport minus &#8230; <p><a class="btn small" href="http://www.designfission.com/blog/2012/03/01/essential-reading-for-mobile-web-developers/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
			<content:encoded><![CDATA[<p>David Calhoun's Mobile Web Series:<br />
<a href="http://davidbcalhoun.com/2010/viewport-metatag">http://davidbcalhoun.com/2010/viewport-metatag</a></p>
<p>QuirksMode Mobile<br />
<a href="http://www.quirksmode.org/mobile/">http://www.quirksmode.org/mobile/</a><br />
<a href="http://quirksmode.org/m/table.html">http://quirksmode.org/m/table.html</a></p>
<p>Tap vs Click<br />
<a href="http://digitalize.ca/2010/02/jqtouch-tap-vs-click/">http://digitalize.ca/2010/02/jqtouch-tap-vs-click/</a></p>
<p>Media Queries and images<br />
<a href="http://timkadlec.com/2012/04/media-query-asset-downloading-results/">http://timkadlec.com/2012/04/media-query-asset-downloading-results/</a></p>
<p>Respond.js<br />
<a href="https://github.com/scottjehl/Respond">https://github.com/scottjehl/Respond</a></p>
<p><strong>Some of my personal tests</strong></p>
<p><strong>iOS:</strong></p>
<ul>
<li>screen.width/height always gives portrait sizes.</li>
<li>window.innerHeight is accurate but gives the viewport minus address bar and toolbar.</li>
<li>window.innerHeight works very well in landscape orientation. does not include address bar.</li>
<li>supports window.orientation: 0, 90, -90</li>
<li>position: fixed works like position: absolute.</li>
</ul>
<p><strong>iOS5:</strong></p>
<ul>
<li>position: fixed works as it should.</li>
</ul>
<p><strong>Android 2.3:</strong></p>
<ul>
<li>all width and height calculations are dependent on html element size.</li>
<li>screen.height works as it should - giving correct height in different orientations, but gives it without the address bar.</li>
<li>supports window.orientation: 0, 90, -90</li>
<li>position: fixed works like position: absolute.</li>
</ul>
<p><strong>Windows Phone 7 IE:</strong></p>
<ul>
<li>window.orientation and “orientationchange” event is not supported.</li>
<li>‘ontouchstart’,’ontouchmove’,’ontouchend’ is not supported, but ‘onmousedown’ etc is.</li>
<li><a href="http://stackoverflow.com/questions/8919477/trouble-with-vmouse-events-wp7-jquerymobile">http://stackoverflow.com/questions/8919477/trouble-with-vmouse-events-wp7-jquerymobile</a></li>
<li>position:fixed works like position: absolute.</li>
<li>hard to test for navigator.appVersion since windows phones have different strings. (see: http://www.zytrax.com/tech/web/mobile_ids.html)<br />
use: <code>((/wp7/gi).test(navigator.appVersion) || (/windows phone/gi).test(navigator.appVersion))</code> to test</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2012/03/01/essential-reading-for-mobile-web-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobile Web Development</title>
		<link>http://www.designfission.com/blog/2012/02/28/mobile-web-development/</link>
		<comments>http://www.designfission.com/blog/2012/02/28/mobile-web-development/#comments</comments>
		<pubDate>Tue, 28 Feb 2012 04:01:56 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[HTML5]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=640</guid>
		<description><![CDATA[There've been a lot of talk about mobile web development, and since I've been doing mobile web recently, I thought it would be useful if I can post some findings here. Firstly, mobile web is not iPhone or iPad only. &#8230; <p><a class="btn small" href="http://www.designfission.com/blog/2012/02/28/mobile-web-development/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
			<content:encoded><![CDATA[<p>There've been a lot of talk about mobile web development, and since I've been doing mobile web recently, I thought it would be useful if I can post some findings here.</p>
<p>Firstly, mobile web is not iPhone or iPad only. In fact, a fair share of smartphone users are non-iOS users. However, catering to every mobile phone in the world is impossible too, not without major design sacrifices.</p>
<p>Think about this, for iOS devices alone, you've got to cater to the retina display, and the device orientation changes. Not to mention the various iOS versions that support different features. </p>
<p>Simply put, no matter what you do, one design/code will not fit them all. </p>
<p>These findings are purely of my own opinion though, and many would probably disagree with me, but I find that perhaps, we should really spend our time and effort on smartphone users. Not just any smartphone users though, specifically - any device with at least 320 pixels in width in the portrait orientation. </p>
<p>So, having said all that, here are some quick findings:</p>
<ul>
<li>On iOS devices, there's a bug that scales the device view when the orientation changes, make sure you apply <a href="https://github.com/scottjehl/iOS-Orientationchange-Fix">this handy fix</a> to all your mobile web pages to avoid that.</li>
<li>Make sure you insert your meta tags.<br />
<code>meta name="viewport" content="width=device-width, initial-scale=1.0" </code></li>
<li>Remove the Safari address bar with this line of code:<br />
<code>meta name="apple-mobile-web-app-capable" content="yes" </code><br />
You might also need this piece of Javascript to make sure the page does scroll up.<br />
<code><br />
window.addEventListener("load",function() {<br />
  // Set a timeout...<br />
  setTimeout(function(){<br />
    // Hide the address bar!<br />
    window.scrollTo(0, 1);<br />
  }, 0);<br />
})<br />
</code>
</li>
<li>Use CSS Media Queries to cater to orientation changes.<br />
<code>@media only screen and (orientation: landscape) { //insert css here }</code></li>
<li>Use responsive images. If you're using css background-images, use this line of code to make sure the background-image scales.<br />
<code>background-image: url('img/image.jpg');<br />
	background-repeat: no-repeat;<br />
	background-size: 100%;</code></li>
<li>Always minify your js and css to decrease file sizes.</li>
<li>Test in as many devices as you can. At least have a Mac installed with the iOS Simulator that can go back and forth between various iOS versions.</li>
<li>Lastly, optimize your images. If you can, load the retina-images only if the user is using a retina-display.</li>
</ul>
<p>That's all I have for now, I'll update with more findings if possible. Please leave a comment if you have something to change or a better way to do something. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2012/02/28/mobile-web-development/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PhotoHackDay 2012</title>
		<link>http://www.designfission.com/blog/2012/02/27/photohackday-2012/</link>
		<comments>http://www.designfission.com/blog/2012/02/27/photohackday-2012/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 02:53:00 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=636</guid>
		<description><![CDATA[So I went to Photohackday.org yesterday and I was too hungover to go today to look at the results but here're some interesting APIs that I saw there and also my work in 3-4 hours. Flashfoto API http://www.flashfotoapi.com/docs/methods - This &#8230; <p><a class="btn small" href="http://www.designfission.com/blog/2012/02/27/photohackday-2012/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
			<content:encoded><![CDATA[<p>So I went to Photohackday.org yesterday and I was too hungover to go today to look at the results but here're some interesting APIs that I saw there and also my work in 3-4 hours. <img src='http://www.designfission.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong>Flashfoto API</strong><br />
<a href="http://www.flashfotoapi.com/docs/methods">http://www.flashfotoapi.com/docs/methods</a><br />
	- This allows you to remove a background from a person!</p>
<p><strong>PixlinQ</strong><br />
<a href="http://www.pixlinq.com/docs/api/searchimage">http://www.pixlinq.com/docs/api/searchimage</a><br />
	- Image Recognition</p>
<p><strong>The whole list here:</strong><br />
<a href="http://www.photohackday.org/apis-hackideas.html">http://www.photohackday.org/apis-hackideas.html</a></p>
<p><strong>My "hack"</strong><br />
<a href="http://www.designfission.com/flickr_aviary/">http://www.designfission.com/flickr_aviary/</a></p>
<p><strong>My experiment hack</strong><br />
<a href="http://www.designfission.com/pinterestyourfacebook">http://www.designfission.com/pinterestyourfacebook</a></p>
<p><strong>These are the other hacks, some really good ones here:</strong><br />
<a href="https://docs.google.com/spreadsheet/ccc?key=0AsPwkTSCTBe0dHkwUUU0blFaZzBjQUMxaXhPSWVBQVE#gid=0">https://docs.google.com/spreadsheet/ccc?key=0AsPwkTSCTBe0dHkwUUU0blFaZzBjQUMxaXhPSWVBQVE#gid=0</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2012/02/27/photohackday-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iOS Web Page Viewable Screen Area Cheatsheet</title>
		<link>http://www.designfission.com/blog/2012/02/21/ios-web-page-viewable-screen-area-cheatsheet/</link>
		<comments>http://www.designfission.com/blog/2012/02/21/ios-web-page-viewable-screen-area-cheatsheet/#comments</comments>
		<pubDate>Mon, 20 Feb 2012 16:43:14 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[ios web]]></category>
		<category><![CDATA[screen resolution]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=629</guid>
		<description><![CDATA[Just created a cheatsheet which states what are the dimensions of viewable screen areas for websites on iOS devices. I'm not being biased by only including iOS devices, but Android screens are so fragmented that creating a cheatsheet would be &#8230; <p><a class="btn small" href="http://www.designfission.com/blog/2012/02/21/ios-web-page-viewable-screen-area-cheatsheet/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
			<content:encoded><![CDATA[<p>Just created a cheatsheet which states what are the dimensions of viewable screen areas for websites on iOS devices. </p>
<p>I'm not being biased by only including iOS devices, but Android screens are so fragmented that creating a cheatsheet would be a lot of work.</p>
<p>On top of that, I've realised that most people only care about iOS devices despite the fact that many smartphone owners are Android users. But that is another argument for another day.</p>
<p>Here's the link to the PSD, and a screenshot of what it is about.</p>
<p><img src="http://www.designfission.com/blog/wp-content/uploads/2012/02/iOS_Web_Cheatsheet_v01.png" width="100%" alt="" /></p>
<p><a href="http://d.pr/7KAm">Download PSD</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2012/02/21/ios-web-page-viewable-screen-area-cheatsheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook App Boilerplate</title>
		<link>http://www.designfission.com/blog/2011/11/29/facebook-app-boilerplate/</link>
		<comments>http://www.designfission.com/blog/2011/11/29/facebook-app-boilerplate/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 04:28:13 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[boilerplate]]></category>
		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=599</guid>
		<description><![CDATA[Just pushed a new repo on Github. This one's a boilerplate for a Facebook App. Read the README for more details. Do let me know how I can make this better! https://github.com/EdwinToh/Facebook-App-Boilerplate]]></description>
			<content:encoded><![CDATA[<p>Just pushed a new repo on Github.</p>
<p>This one's a boilerplate for a Facebook App. Read the README for more details. Do let me know how I can make this better!</p>
<p><a href="https://github.com/EdwinToh/Facebook-App-Boilerplate">https://github.com/EdwinToh/Facebook-App-Boilerplate</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2011/11/29/facebook-app-boilerplate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash AS3 Light Painting</title>
		<link>http://www.designfission.com/blog/2011/10/18/flash-as3-light-painting/</link>
		<comments>http://www.designfission.com/blog/2011/10/18/flash-as3-light-painting/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 17:50:26 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[light]]></category>
		<category><![CDATA[light painting]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=595</guid>
		<description><![CDATA[Just created my first Github Public repo and did an initial commit. Take a look here: https://github.com/EdwinToh/LightPainter LightPainter is an app that allows you to create your own light painting effects with your web cam. It's an initial commit so &#8230; <p><a class="btn small" href="http://www.designfission.com/blog/2011/10/18/flash-as3-light-painting/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
			<content:encoded><![CDATA[<p>Just created my first Github Public repo and did an initial commit. </p>
<p>Take a look here: <a href="https://github.com/EdwinToh/LightPainter">https://github.com/EdwinToh/LightPainter</a></p>
<p>LightPainter is an app that allows you to create your own light painting effects with your web cam. It's an initial commit so documentation and comments are scarce and unorganized. </p>
<p>Have fun painting!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2011/10/18/flash-as3-light-painting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Singapore iPhone Training &#8211; The Pragmatic Lab</title>
		<link>http://www.designfission.com/blog/2011/08/18/singapore-iphone-training-the-pragmatic-lab/</link>
		<comments>http://www.designfission.com/blog/2011/08/18/singapore-iphone-training-the-pragmatic-lab/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 16:27:59 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[course]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[singapore]]></category>
		<category><![CDATA[training]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=583</guid>
		<description><![CDATA[For those who don't know, I took some iPhone development lessons from a brilliant young guy - Sidwyn Koh - last year. He has since went on to create a fantastic app that sold thousands and was even featured on &#8230; <p><a class="btn small" href="http://www.designfission.com/blog/2011/08/18/singapore-iphone-training-the-pragmatic-lab/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
			<content:encoded><![CDATA[<p>For those who don't know, I took some iPhone development lessons from a brilliant young guy - Sidwyn Koh - last year. He has since went on to create a fantastic app that sold thousands and was even featured on <a href="http://beautifulpixels.com/iphone/definition-is-your-own-sexy-pocket-dictionary/" target="_blank">BeautifulPixels.net</a> and in some countries' Apple App Store.</p>
<p>Sidwyn has recently launched his own startup, aiming to impart more of his knowledge and experience of building iPhone apps to anyone who's in Singapore. So if you're interested to pick up Objective-C and wants to learn from someone who's really capable and inspiring, visit <a href="http://pragmaticlab.com/" target="_blank" title="The Pragmatic Lab">The Pragmatic Lab</a> for more information now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2011/08/18/singapore-iphone-training-the-pragmatic-lab/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Speed up your website with CloudFlare.com</title>
		<link>http://www.designfission.com/blog/2011/08/10/speed-up-your-website-with-cloudflare-com/</link>
		<comments>http://www.designfission.com/blog/2011/08/10/speed-up-your-website-with-cloudflare-com/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 09:36:48 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[cloudflare]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[pagespeed]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=578</guid>
		<description><![CDATA[Just stumbled upon this amazing free service today. In their own words: CloudFlare's caching moves your static content (images, css, javascript, etc.) closer to the visitor who is requesting them. They have data centers scattered across the network. When someone &#8230; <p><a class="btn small" href="http://www.designfission.com/blog/2011/08/10/speed-up-your-website-with-cloudflare-com/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
			<content:encoded><![CDATA[<p>Just stumbled upon this amazing free service today. </p>
<p>In their own words:</p>
<blockquote><p>CloudFlare's caching moves your static content (images, css, javascript, etc.) closer to the visitor who is requesting them. They have data centers scattered across the network. When someone requests your page, they are able to return images directly from the cache server that is closest to the visitor. They also optimize the network route based on the visitor in order to make the content's return extremely quick. As a result, they're able to significantly decrease both bandwidth and the amount of server load returning static files. They do not cache html so if you make changes to the content on your site, the changes will appear immediately.
</p></blockquote>
<p>After implementing CloudFlare on designfission - which is hosted on Arvixe.com. I've seen markedly improved page loading times from Singapore. </p>
<p>CloudFlare isn't just a CDN that distributes content though, it also provides analytics and basic security features like IP or Country based blocking. For the full list of details, visit <a href="https://www.cloudflare.com/plans.html" target="_blank">https://www.cloudflare.com/plans.html</a>.</p>
<p>Taking into consideration that this is a FREE service, and it requires NO code, it's definitely worth considering trying out CloudFlare yourself. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2011/08/10/speed-up-your-website-with-cloudflare-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CodeIgniter 2.0 Tutorial</title>
		<link>http://www.designfission.com/blog/2011/08/09/codeigniter-2-0-tutorial/</link>
		<comments>http://www.designfission.com/blog/2011/08/09/codeigniter-2-0-tutorial/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 16:08:08 +0000</pubDate>
		<dc:creator>Edwin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.designfission.com/blog/?p=570</guid>
		<description><![CDATA[This is just a short post to help people out there trying to follow the CodeIgniter 1.x tutorials on codeigniter.com. When you create a Model or Controller class, you should be extending "CI_Model" or "CI_Controller" instead now. Also, parent::Model does &#8230; <p><a class="btn small" href="http://www.designfission.com/blog/2011/08/09/codeigniter-2-0-tutorial/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
			<content:encoded><![CDATA[<p>This is just a short post to help people out there trying to follow the CodeIgniter 1.x tutorials on codeigniter.com.</p>
<p>When you create a Model or Controller class, you should be extending <strong>"CI_Model"</strong> or <strong>"CI_Controller"</strong> instead now.</p>
<p>Also, <strong>parent::Model</strong> does not work anymore and the more generic <strong>parent::__construct</strong> is used now.</p>
<p><strong>CodeIgniter 1.x:</strong></p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
class Portfolio extends Controller {
  function Portfolio(){
     parent::Model();
  }
}
?&gt;
</pre>
<p><strong>CodeIgnitor 2.x:</strong></p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
class Portfolio extends CI_Controller {
  function __construct(){
     parent::__construct();
  }
}
?&gt;
</pre>
<p>For those who follow the blog tutorial and see the scaffolding function, that function is deprecated and removed in CodeIgnitor 2.0.</p>
<p>For usable tutorials involving CodeIgniter, take a look at NetTuts excellent series: <a href="http://net.tutsplus.com/sessions/codeigniter-from-scratch/" target="_blank">CodeIgniter From Scratch</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.designfission.com/blog/2011/08/09/codeigniter-2-0-tutorial/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Content Delivery Network via dfblog.qwertydesign.netdna-cdn.com

Served from: www.designfission.com @ 2012-05-19 12:23:34 -->
