<?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"
	>

<channel>
	<title>Web Designer and Front End developer based in London - James Crossett</title>
	<atom:link href="http://www.jamescrossett.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jamescrossett.com/blog</link>
	<description>talking web design and anything else that interests me</description>
	<pubDate>Fri, 02 May 2008 12:44:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Ruby on Rails screencasts on iTunes</title>
		<link>http://www.jamescrossett.com/blog/2008/05/02/ruby-on-rails-screencasts-on-itunes/</link>
		<comments>http://www.jamescrossett.com/blog/2008/05/02/ruby-on-rails-screencasts-on-itunes/#comments</comments>
		<pubDate>Fri, 02 May 2008 12:44:14 +0000</pubDate>
		<dc:creator>James Crossett</dc:creator>
		
		<category><![CDATA[ruby on rails]]></category>

		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.jamescrossett.com/blog/?p=6</guid>
		<description><![CDATA[If you have a working knowledge of Ruby on Rails and want to have someone show you through some useful day to day Rails examples then you just have to subscribe to Railscasts.
There are now over 100 free episodes but don&#8217;t panic they are short, sharp and to the point and Ryan does a fantastic [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a working knowledge of Ruby on Rails and want to have someone show you through some useful day to day Rails examples then you just have to subscribe to <a href="http://railscasts.com/">Railscasts</a>.</p>
<p>There are now over 100 free episodes but don&#8217;t panic they are short, sharp and to the point and Ryan does a fantastic job of explaining things and presenting some really useful examples. The early ones cover Rails prior to 2.0 but are all still valid and most can be viewed in isolation.</p>
<p>I gained a lot of understanding by just being able to look over a proper Rails developer&#8217;s shoulder and within the first few episodes had a few &#8216;ah, i see!&#8217; moments. Ryan is part of the <a title="PeepCode Ruby on Rails Screencasts" href="http://peepcode.com/">PeepCode</a> network which provides quality screencasts for Rails developers so you know your in good hands!</p>
<p>You can <a title="Railscasts podcasts in iTunes" href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=218282043" target="_self">subscribe to Railscasts through itunes</a> as it is available in podcast format or by <a href="http://railscasts.com/">visiting the site</a> you can download the casts separately.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamescrossett.com/blog/2008/05/02/ruby-on-rails-screencasts-on-itunes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cake PHP tips for the beginner</title>
		<link>http://www.jamescrossett.com/blog/2008/05/01/cake-php-tips-for-the-beginner/</link>
		<comments>http://www.jamescrossett.com/blog/2008/05/01/cake-php-tips-for-the-beginner/#comments</comments>
		<pubDate>Thu, 01 May 2008 19:37:00 +0000</pubDate>
		<dc:creator>james</dc:creator>
		
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.jamescrossett.com/blog/?p=5</guid>
		<description><![CDATA[So, you have started to use Cake PHP and thought you&#8217;d read the seemingly in-depth documentation on their website only to find that some of the basic things aren&#8217;t really covered.
A few things that you may find useful are:
Using a model without a database table
Put this code in your model definition at the top
var $useTable [...]]]></description>
			<content:encoded><![CDATA[<p>So, you have started to use Cake PHP and thought you&#8217;d read the seemingly <a title="Cake PHP 1.1 documentation" href="http://manual.cakephp.org/bg/complete/305/the-manual" target="_self">in-depth documentation</a> on their website only to find that some of the basic things aren&#8217;t really covered.</p>
<p>A few things that you may find useful are:</p>
<h4>Using a model without a database table</h4>
<p>Put this code in your model definition at the top<br />
<code>var $useTable = false;</code><br />
or<br />
<code>var $useTable = 'some_different_table_name';</code></p>
<h4>Creating a controller that references other models</h4>
<p>Put this at the top of your controller definition<br />
<code>var $uses = array('Sheep,'Farmer');</code></p>
<h4>Static pages without using a controller and actions</h4>
<p>If you just want some quick static html pages put some .thtml files in your /views/pages directory.</p>
<p>These are immediately available in your browser at <br />http://www.your-site.co.uk/pages/staticpagename</p>
<h4>Adjusting the page title when using $title_for_layout</h4>
<p>Add this to the static view<br />
<code>$this->pageTitle = 'Title of your page.'</code></p>
<h4>Setting variables to use from your static pages</h4>
<p>Put this at the top of your view and you can use it to set a body class or something in your default layout depending on what static page is rendered.<br />
<code>$this->_viewVars['variable_name'] = &#8216;Data&#8217;; </code><br />
Reference it with $variable_name</p>
<p>Thats it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamescrossett.com/blog/2008/05/01/cake-php-tips-for-the-beginner/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Saving images for the web and the ensuing colour problems</title>
		<link>http://www.jamescrossett.com/blog/2008/05/01/saving-images-for-the-web-and-the-ensuing-colour-problems/</link>
		<comments>http://www.jamescrossett.com/blog/2008/05/01/saving-images-for-the-web-and-the-ensuing-colour-problems/#comments</comments>
		<pubDate>Thu, 01 May 2008 18:16:48 +0000</pubDate>
		<dc:creator>james</dc:creator>
		
		<category><![CDATA[web design]]></category>

		<category><![CDATA[saving for web]]></category>

		<category><![CDATA[web colours]]></category>

		<guid isPermaLink="false">http://www.jamescrossett.com/blog/?p=4</guid>
		<description><![CDATA[At work we collaborate with a few design companies and each of them like their images to look good on the web. Naturally.
There is always one thing that continually bugs us and that is what an image looks like in Photoshop (lovely, vibrant and rich) and what it looks like when its saved for the [...]]]></description>
			<content:encoded><![CDATA[<p>At <a title="Web design and Ruby on Rails development" href="http://www.talkingpixels.co.uk/" target="_self">work</a> we collaborate with a few design companies and each of them like their images to look good on the web. Naturally.</p>
<p>There is always one thing that continually bugs us and that is what an image looks like in Photoshop (lovely, vibrant and rich) and what it looks like when its saved for the web (ugly, dull and plain) which induces a bit of head scratching.</p>
<p>This problem is one that I always forget the solution to. I ask myself &#8220;how did I do it last time?&#8221; and &#8220;why did I not bloody note it down somewhere?&#8221; I debate with my boss as to the cause of the problem which usually revolves around wether to ditch or not to ditch embedded colour profiles, sort our monitor colour calibration and what browsers do what to images. But, I never really think I know what the hell is going on, I kind of muddle through.</p>
<p>My usual workflow after trial and error in Photoshop is:</p>
<ol>
<li>Import the image and ditch the embedded colour profile</li>
<li>Do what needs doing</li>
<li>Save for Web and Devices and &#8216;Convert to sRGB&#8217; in the little overflow menu next to the &#8216;Optimized&#8217; tick box.</li>
<li>Put it on the internet and wait for either the complaints to roll in that the image looks crap or not.</li>
</ol>
<p>That workflow recently hasn&#8217;t yielded any complaints which leads me to believe it maybe okay. I wasn&#8217;t sure.</p>
<p>I recently wanted to know what other people where doing. I looked on Google and found that Viget.com have an article way better than this one explaining the whole thing. The reassuring thing for me is they do basically what I was doing except they explicitly mention working in Monitor RGB (Proof Setup &gt; Monitor RGB). Luckily I was.</p>
<p>Read <a title="web colour shift solution" href="http://www.viget.com/inspire/the-mysterious-save-for-web-color-shift/" target="_self">&#8216;The mysterious save for web colour shift&#8217;</a> article to get the full story and the theory behind it.</p>
<p><em><strong>A word of warning</strong></em>. This issue is highly contentious and the comments of the Viget article highlight this. It seems like you can&#8217;t totally nail it but this method is one of the simpler solutions that yields some more predictable results without getting into setting profiles and calibrating your monitor.</p>
<p>This kind of sums up what we have to deal with:</p>
<blockquote><p>What we&#8217;re doing here <strong>won&#8217;t</strong> make your colors look the same on all monitors or machines. Macs will display lighter (by default, at least), and monitors themselves will experience crazy color shifts based on age and settings. Reassure yourself: This is not your fault. The key is to calibrate your monitor as close to the center as possible &#8230; and be prepared to gently explain to clients why your green looks like aqua on their friend&#8217;s 1992 Trinitron.</p></blockquote>
<p>Gotta love the web.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamescrossett.com/blog/2008/05/01/saving-images-for-the-web-and-the-ensuing-colour-problems/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Nike football TV advert directed by Guy Ritchie</title>
		<link>http://www.jamescrossett.com/blog/2008/04/30/nike-football-tv-advert-directed-by-guy-richie/</link>
		<comments>http://www.jamescrossett.com/blog/2008/04/30/nike-football-tv-advert-directed-by-guy-richie/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 20:38:25 +0000</pubDate>
		<dc:creator>james</dc:creator>
		
		<category><![CDATA[advert]]></category>

		<category><![CDATA[nike football]]></category>

		<guid isPermaLink="false">http://www.jamescrossett.com/blog/?p=3</guid>
		<description><![CDATA[Nike football adverts have been pretty impressive over the last few years, always featuring the worlds best players (the best nike sponsored ones anyway) showboating. The one with Cantona a few years ago against hells finest is one that sticks in my mind most but the new one released just days ago really sucked me in. 
The [...]]]></description>
			<content:encoded><![CDATA[<p>Nike football adverts have been pretty impressive over the last few years, always featuring the worlds best players (the best nike sponsored ones anyway) showboating. The one with Cantona a few years ago against hells finest is one that sticks in my mind most but the new one released just days ago really sucked me in. </p>
<p>The ad is filmed from your point of you making your way from a pub side spotted by Arsene Wenger to playing for the Gunners and getting done by the likes of Christiano Ronaldo and Ibrahimovic to finally getting to represent your country. Basically your development from zero to hero which is down to hard work and of course the shiny new Nike boots you are going to buy.</p>
<p>I loved watching this ad as the change in perspective is just different to what Nike have done before and gives a welcome break from all the dross out there.</p>
<p>I urge you to watch the better quality <a title="Guy Richie Nick Football advert" href="http://www.nike.com/nikeos/p/nikefootball/en__EMEA/">full version at nike.com</a>.</p>
<p>Or if by the time you read this it is gone here is the YouTube version</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="wmode" value="transparent" /><param name="src" value="http://www.youtube.com/v/O4ialrGvF_4&amp;hl=en" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://www.youtube.com/v/O4ialrGvF_4&amp;hl=en" wmode="transparent"></embed></object></p>
<p>Genius.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jamescrossett.com/blog/2008/04/30/nike-football-tv-advert-directed-by-guy-richie/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
