<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Online and offline development with the YUI and Charles</title>
	<atom:link href="http://muffinresearch.co.uk/archives/2007/04/26/online-and-offline-development-with-the-yui-and-charles/feed/" rel="self" type="application/rss+xml" />
	<link>http://muffinresearch.co.uk/archives/2007/04/26/online-and-offline-development-with-the-yui-and-charles/</link>
	<description>the personal blog of Stuart Colville covering modern web development techniques and best practices</description>
	<pubDate>Fri, 25 Jul 2008 12:39:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Stuart Colville</title>
		<link>http://muffinresearch.co.uk/archives/2007/04/26/online-and-offline-development-with-the-yui-and-charles/#comment-38504</link>
		<dc:creator>Stuart Colville</dc:creator>
		<pubDate>Mon, 21 May 2007 13:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://muffinresearch.co.uk/archives/2007/04/26/online-and-offline-development-with-the-yui-and-charles/#comment-38504</guid>
		<description>@Amit: One reason is because this would become painful to keep switching the hosts file around. For my hack to work I can simply load Charles or turn on and off the re-write rule.

Also I have fine-grained control over what I do and don't re-write. I might want CSS files to be re-written and I might not. I can have a separate rule for .js file and CSS files and activate each one independently of each other.

Lastly, I use MAMP which operates on a different port number. Again using the Charles method greatly simplifies this issue as I can re-write the files to any arbitrary url.</description>
		<content:encoded><![CDATA[<p>@Amit: One reason is because this would become painful to keep switching the hosts file around. For my hack to work I can simply load Charles or turn on and off the re-write rule.</p>
<p>Also I have fine-grained control over what I do and don&#8217;t re-write. I might want CSS files to be re-written and I might not. I can have a separate rule for .js file and CSS files and activate each one independently of each other.</p>
<p>Lastly, I use MAMP which operates on a different port number. Again using the Charles method greatly simplifies this issue as I can re-write the files to any arbitrary url.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit Upadhyay</title>
		<link>http://muffinresearch.co.uk/archives/2007/04/26/online-and-offline-development-with-the-yui-and-charles/#comment-38503</link>
		<dc:creator>Amit Upadhyay</dc:creator>
		<pubDate>Mon, 21 May 2007 13:32:44 +0000</pubDate>
		<guid isPermaLink="false">http://muffinresearch.co.uk/archives/2007/04/26/online-and-offline-development-with-the-yui-and-charles/#comment-38503</guid>
		<description>Why didn't you consider etc/hosts file? I would just put an entry for yui.yahooapis.com to 127.0.0.1, setup apache, and place yui files preserving the path.</description>
		<content:encoded><![CDATA[<p>Why didn&#8217;t you consider etc/hosts file? I would just put an entry for yui.yahooapis.com to 127.0.0.1, setup apache, and place yui files preserving the path.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Lloyd</title>
		<link>http://muffinresearch.co.uk/archives/2007/04/26/online-and-offline-development-with-the-yui-and-charles/#comment-37367</link>
		<dc:creator>Ian Lloyd</dc:creator>
		<pubDate>Thu, 26 Apr 2007 14:07:05 +0000</pubDate>
		<guid isPermaLink="false">http://muffinresearch.co.uk/archives/2007/04/26/online-and-offline-development-with-the-yui-and-charles/#comment-37367</guid>
		<description>I'm familiar with this quandary, but I've taken a different route. Put simply, every page includes a common file up front that, among other things, looks at the URL. If it spots a dev URL (dev.domainname.com) then it changes certain parameters, namely URL roots and what have you. Once that's done I don't really have to think of it again :)

I'm not sure that it creates an overhead doing this, but then my sites aren't the kind where this is a deal-breaker!</description>
		<content:encoded><![CDATA[<p>I&#8217;m familiar with this quandary, but I&#8217;ve taken a different route. Put simply, every page includes a common file up front that, among other things, looks at the URL. If it spots a dev URL (dev.domainname.com) then it changes certain parameters, namely URL roots and what have you. Once that&#8217;s done I don&#8217;t really have to think of it again <img src='http://muffinresearch.co.uk/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;m not sure that it creates an overhead doing this, but then my sites aren&#8217;t the kind where this is a deal-breaker!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
