<?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> &#187; Apple</title>
	<atom:link href="http://toolboxdigital.com/category/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://toolboxdigital.com</link>
	<description></description>
	<lastBuildDate>Fri, 24 Feb 2012 15:53:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Working Remotely with CodeKit &amp; LESS</title>
		<link>http://toolboxdigital.com/2011/12/working-remotely-with-codekit-less/</link>
		<comments>http://toolboxdigital.com/2011/12/working-remotely-with-codekit-less/#comments</comments>
		<pubDate>Wed, 21 Dec 2011 11:39:38 +0000</pubDate>
		<dc:creator>Dan Luton</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://toolboxdigital.com/?p=1149</guid>
		<description><![CDATA[Learn how to setup a live development environment using CodeKit &#038; LESS.]]></description>
			<content:encoded><![CDATA[<h4>On every project, I eventually find myself having to work directly on assets on a live server.&nbsp; But what if I wanted to use the power of <a href="http://incident57.com/codekit/" target="_blank">CodeKit</a> &amp; <a href="http://lesscss.org/" target="_blank">LESS</a> on my live site? It&#39;s surprisingly easy to set-up, as long as you have the right tools&#8230;</h4>
<p><span id="more-1149"></span></p>
<p><img alt="" class="alignnone size-full wp-image-1150" height="264" src="http://toolboxdigital.com/media/images/codekit.jpg" title="CodeKit" width="730" /></p>
<h3>What is CodeKit?</h3>
<p><a href="http://incident57.com/codekit/" target="_blank" title="CodeKit">CodeKit</a> is a web development tool for Mac, written by Bryan Jones (<a href="https://twitter.com/bdkjones" target="_blank">follow him on Twitter here</a>).&nbsp; At it&#39;s most basic level, it runs &quot;behind the scenes&quot; of your usual IDE (I use the excellent Coda).&nbsp; It compiles LESS, SASS, Stylus and other code files as you work &#8211; it provides error checking and minification for CSS and Javascript amongst others.</p>
<p>It&#39;s been around for a few months &#8211; still in Beta stage, but from what I can see, pretty much ready to go.</p>
<p>It basically allows you to develop your sites using LESS (or one of the others) without the need to load the LESS dependency (a small Javascript file which normally does the compiling for you when you load the site).</p>
<p>It&#39;s smart. Really smart. I would suggest you <a href="http://incident57.com/codekit/" target="_blank">check out the website and Bryan&#39;s excellent videos</a> to get a better grasp of what it can do for your workflow.</p>
<h3>What is LESS?</h3>
<p><a href="http://lesscss.org/" target="_blank">LESS</a> is described as &quot;the dynamic stylesheet language&quot;. I&#39;m not fluent with LESS yet, I hadn&#39;t dived-in with everyone else partly because I&#39;ve been busy of late, and partly because I was hesitant due to it&#39;s apparent reliance on Javascript to work correctly.</p>
<p>LESS allows you to use Javascript-style variables and functions within your CSS, and to construct CSS in a way that&#39;s far more structured and manageable in the future.&nbsp; The logic is pretty simple and easy to get to grips with. <a href="http://lesscss.org/" target="_blank">Go check out the LESS website</a> now for more information and code examples.</p>
<h3>What You&#39;ll Need</h3>
<p>Here&#39;s what you will need in order to work directly on your live server/website with CodeKit:</p>
<ul class="bullet">
<li>A Mac, running OS X 10.7 (Lion)</li>
<li>An IDE for code edits (Coda, TextMate, Espresso, etc)</li>
<li>A copy of the CodeKit Beta (<a href="http://incident57.com/codekit/download.php" target="_blank">download here</a>)</li>
<li>A copy of Panic&#39;s Transmit (<a href="http://panic.com/transmit/" target="_blank">download here</a>) &#8211; you will need to buy this if you continue to use it. Note that you could probably use any software which allows you to mount a remote site as a &quot;local&quot; drive, but I only tried with Transmit&#39;s &quot;Mount as disk&quot; feature.</li>
</ul>
<h3>How to set it up</h3>
<ol class="bullet">
<li>Mount your remote site/folder using Transmit. You should see it appear under &quot;Devices&quot; in the Finder sidebar.</li>
<li>Open the site/folder in your IDE so you can edit the files (just like you normally would).</li>
<li>Drag the mounted drive directly into the main CodeKit window. It will scan the structure automatically and show you the file hierarchy.</li>
<li>Begin editing!</li>
</ol>
<p>CodeKit will recognise the changes you make as you save the files.&nbsp; You may need to wait a few seconds longer for the data to be transferred (compared to working locally, which is instant), but it works perfectly.</p>
<h2>Update</h2>
<p>I had some issues with this method today &#8211; at first I thought it might be a combination of attempting to use a local CodeKit framework with imports into the remote LESS file, however it turned out to be because I was editing the remote files via FTP.</p>
<p>For some reason, CodeKit does not recognise these edits, and the file (no matter how many times you save, or refresh the project in CodeKit) will stay as it is. Looking at the folder structure, there are some hidden files generated by CodeKit which could be to blame (cache files perhaps?).</p>
<p>Anyway, the workaround is to simply edit the files as if you were working locally, so just drag the mounted files/structure (how you do this depends on the IDE of course) into your IDE and edit then as if they were local files. CodeKit then recognises the changes and works as normal, including importing any framework files you&#39;re referenced.</p>
<p>Oh, and if you use Coda, I also found a useful syntax highlight mode for LESS, which you can download here:</p>
<p><a href="http://groups.google.com/group/coda-users/browse_thread/thread/b3327b0cb893e439" target="_blank">http://groups.google.com/group/coda-users/browse_thread/thread/b3327b0cb893e439</a></p>
<h2>Update 2: Working with CodeKit and Dropbox</h2>
<p>So, after trying remotely working like this on a bigger project, I soon hit some problems &#8211; disconnection errors, FTP limitations, that sort of thing.&nbsp; If these occur mid-save, that can help you lose some data, which is never a good thing.</p>
<p>It&#39;s worth pointing out that these problems are not the fault of CodeKit; just limitations with server hardware, setup and that sort of thing.</p>
<p>I didn&#39;t want to move the development work locally (it makes it too hard for things like client approvals), so looked into other ways of working remotely, and Dropbox provided the answer.</p>
<p>You&#39;ll need an account with Dropbox of course (<a href="http://db.tt/39jat3E" target="_blank">sign up with my affiliate ref and get an extra 250Mb here</a>), as we&#39;ll be using it&#39;s Public Folder feature to store our compiled CSS.</p>
<h3>How to set it up</h3>
<ul class="bullet">
<li>Create a local &quot;assets&quot; folder on your computer.&nbsp; I created this within a private projects folder within Dropbox, since that way you get some backup/version control and it allows you to pick up on a different computer if you want.</li>
<li>Your assets folder should contain at least your LESS files that make up the compiled CSS.&nbsp; You can also add any CSS images and Javascripts in there if you want to take advantage of CodeKit&#39;s compression tools, but remember you&#39;ll need to manually upload to your server if these are compressed or compiled.</li>
<li>If you&#39;re using the LESS @import feature correctly, the extra LESS files should already be excluded for compilation, with the exception of the main LESS stylesheet which compiles.</li>
<li>Set the output path of your main LESS file to a your &quot;Public&quot; folder within Dropbox.&nbsp; You can put it into a subfolder if you want to keep things tidy.&nbsp; Get the public link for the file from Dropbox.</li>
<li>In the main HTML document for your site, paste the public Dropbox URL for the CSS source file.</li>
</ul>
<p>That&#39;s pretty much it. When you edit and save any of your imported LESS files, CodeKit will compile the CSS, save it to Dropbox, and Dropbox will instantly update the online version.&nbsp; Due to the generally small size of CSS files, this should only take a couple of seconds and you&#39;ll be able to refresh and see your changes.</p>
<h3>How to deal with relative CSS image paths</h3>
<p>LESS makes it easy to fix any path issues &#8211; obviously unless you save all of your images within your Dropbox public folder, they won&#39;t show up because the path will be incorrect.</p>
<p>To fix this, set a less variable for your site&#39;s Base URL:</p>
<pre>@baseURL: &quot;http://www.mydomain.com&quot;;</pre>
<p>Then, simply reference this variable every time you want to use an image in your CSS:</p>
<pre>.logo {background: url(&quot;@{baseURL}/images/logo.png&quot;) 0 0 no-repeat;}</pre>
<p>&#8230;and you&#39;ll be good to go!</p>
]]></content:encoded>
			<wfw:commentRss>http://toolboxdigital.com/2011/12/working-remotely-with-codekit-less/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ten Useful Mac Apps For Web Development</title>
		<link>http://toolboxdigital.com/2010/01/ten-useful-mac-apps-for-web-development/</link>
		<comments>http://toolboxdigital.com/2010/01/ten-useful-mac-apps-for-web-development/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 14:46:21 +0000</pubDate>
		<dc:creator>Dan Luton</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://toolboxdigital.com/?p=490</guid>
		<description><![CDATA[We've compiled a list of our most used development-centric applications for Mac - here's our top ten!]]></description>
			<content:encoded><![CDATA[<h4>We&#39;ve compiled a list of our most used development-centric applications for Mac, from coding to design tools &#8211; here are our ten favourites!</h4>
<p><span id="more-490"></span></p>
<h3>Panic Coda</h3>
<p>Web: <strong><a href="http://panic.com/coda">panic.com/coda</a></strong> | License: <strong>Commercial, $99</strong></p>
<p><img alt="Coda" class="size-full" src="http://toolboxdigital.com/wp-content/uploads/2010/01/coda-ss.jpg" title="coda-ss" /></p>
<p>All the coding tools you could need in one place, including syntax-highlighted editing of all major code-types such as PHP, CSS, HTML, Ruby, Javascript, XML and more. I particularly love the excellent Site Manager which stores all of your sites in one place and provide easy access for direct, live editing of the site code using FTP, and the clips manager that serves as a snippets repository for reusable code.</p>
<h3>Filezilla</h3>
<p>Web: <a href="http://filezilla-project.org/"><strong>filezilla-project.org</strong></a> | License: <strong>Free</strong></p>
<p><img alt="filezilla" class="size-full" src="http://toolboxdigital.com/wp-content/uploads/2010/01/filezilla-ss.jpg" title="filezilla-ss" /></p>
<p>Simple to use and packed with great features &#8211; one of the best free FTP clients out there.</p>
<h3>Adobe Fireworks</h3>
<p>Web: <a href="http://www.adobe.com/products/fireworks/"><strong>www.adobe.com/products/fireworks</strong></a> | License: <strong>Commercial, ~$299</strong></p>
<p><img alt="fireworks" class="alignnone size-full wp-image-499" src="http://toolboxdigital.com/wp-content/uploads/2010/01/fireworks-ss.jpg" title="fireworks-ss" /></p>
<p>Easy to use graphics editor with the best support for PNGs for web use. Build rapid designs and slice them up ready to build into a template. Fireworks can also handle (most) Photoshop PSDs with ease, so it&#39;s particularly useful if you work with designers who prefer to work in Photoshop.</p>
<h3>VMware Fusion</h3>
<p>Web: <a href="http://www.vmware.com/products/fusion/"><strong>www.vmware.com/products/fusion</strong></a> | License: <strong>Commercial, $79.99</strong></p>
<p><img alt="vmware fusion" class="alignnone size-full wp-image-500" src="http://toolboxdigital.com/wp-content/uploads/2010/01/vmware-ss.jpg" title="vmware-ss" /></p>
<p>Set-up multiple operating systems which can be run in OS X without needing to reboot. Essential for effective cross-browser testing.</p>
<h3>MAMP</h3>
<p>Web: <a href="http://www.mamp.info"><strong>www.mamp.info</strong></a> | License: <strong>Free (Pro version: &pound;39)</strong></p>
<p><img alt="mamp" class="size-full" src="http://toolboxdigital.com/wp-content/uploads/2010/01/mamp-ss.jpg" title="mamp-ss" /></p>
<p>Localhost server environment to enable fast, live development &#8211; provides a one-click server running Apache, PHP and MySQL.</p>
<h3>Quicksilver</h3>
<p>Web: <a href="http://docs.blacktree.com/quicksilver/quicksilver"><strong>docs.blacktree.com/quicksilver/quicksilver</strong></a> | License: <strong>Free</strong></p>
<p><img alt="quicksilver" class="size-full" src="http://toolboxdigital.com/wp-content/uploads/2010/01/quicksilver-ss.jpg" title="quicksilver-ss" /></p>
<p>Quickly access all of your applications at the touch of a button &#8211; no more searching around in your Apps folder!</p>
<h3>Apple Time Machine</h3>
<p>Web: <a href="http://www.apple.com/macosx/what-is-macosx/time-machine.html"><strong>www.apple.com/macosx/what-is-macosx/time-machine.html</strong></a> | License: <strong>Free (ships with Mac OS X)</strong></p>
<p><img alt="time machine" class="alignnone size-full wp-image-504" src="http://toolboxdigital.com/wp-content/uploads/2010/01/timemachine-ss.jpg" title="timemachine-ss" /></p>
<p>The perfect incremental backup solution &#8211; and best of all, ships with OS X and is seamlessly integrated. Just add an external disk drive!</p>
<h3>Betterzip</h3>
<p>Web: <a href="http://macitbetter.com/"><strong>macitbetter.com</strong></a> | License: <strong>Shareware, $19.95</strong></p>
<p><img alt="betterzip" class="size-full" src="http://toolboxdigital.com/wp-content/uploads/2010/01/betterzip-ss.jpg" title="betterzip-ss" /></p>
<p>Brilliant archive utility offering a variety of formats and and easy-to-use interface.</p>
<h3>Skype</h3>
<p>Web: <a href="http://www.skype.com"><strong>www.skype.com</strong></a> | License: <strong>Free</strong></p>
<p><img alt="skype" class="size-full" src="http://toolboxdigital.com/wp-content/uploads/2010/01/skype.jpg" title="skype" /></p>
<p>Communicate with worldwide clients for free, or add a real phone number without needing a physical phone line.</p>
<h3>Process</h3>
<p>Web: <a href="http://www.jumsoft.com/process/"><strong>www.jumsoft.com/process</strong></a> | License: <strong>Shareware, $39</strong></p>
<p><img alt="process" class="alignnone size-full wp-image-507" src="http://toolboxdigital.com/wp-content/uploads/2010/01/process-ss.jpg" title="process-ss" /></p>
<p>Useful task-list and project tracking.</p>
]]></content:encoded>
			<wfw:commentRss>http://toolboxdigital.com/2010/01/ten-useful-mac-apps-for-web-development/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

