<?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>Lee Munroe &#187; development</title> <atom:link href="http://www.leemunroe.com/tags/development/feed/" rel="self" type="application/rss+xml" /><link>http://www.leemunroe.com</link> <description>User Experience and Web Interface Designer Lee Munroe</description> <lastBuildDate>Mon, 16 Jan 2012 19:05:03 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3</generator> <item><title>Are you an HTML5 web designer?</title><link>http://www.leemunroe.com/html5-web-designer/</link> <comments>http://www.leemunroe.com/html5-web-designer/#comments</comments> <pubDate>Tue, 29 Mar 2011 09:01:10 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[css3]]></category> <category><![CDATA[development]]></category> <category><![CDATA[Front-End]]></category> <category><![CDATA[html]]></category> <category><![CDATA[html5]]></category> <category><![CDATA[markup]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=2300</guid> <description><![CDATA[HTML5 is quite the buzzword at the minute. A lot of designers and front-end developers will now say &#8220;I use HTML5 and CSS3&#8243; rather than just good olde &#8220;HTML and&#8230;<html><body><h1>400 Bad request</h1> Your browser sent an invalid request.</body></html> ]]></description> <content:encoded><![CDATA[<p>HTML5 is quite the buzzword at the minute. A lot of designers and front-end developers will now say <strong>&#8220;I use HTML5 and CSS3&#8243;</strong> rather than just good olde &#8220;HTML and CSS&#8221; (I&#8217;m one of them, depending on the context).</p><p>At some point the HTML5 fad will die and <strong>we&#8217;ll go back to saying HTML</strong> (did you ever say you used HTML 4.01?) but until then we&#8217;ll throw the HTML5 buzz word around a bit more.</p><p><strong>But what does it actually mean to say you use HTML5?</strong></p><p><span
id="more-2300"></span></p><p>I see HTML5 being broken down into 5 different levels.</p><h4>1. Doctype</h4><p>Technically if you use an <strong>HTML5 doctype declaration</strong>, you&#8217;re using HTML5.</p><p>Along with your doctype you can <strong>tidy up the rest of your head</strong> like so.</p><pre><code>&lt;!doctype html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
&lt;meta charset="utf-8"&gt;
&lt;link rel="stylesheet" href="style.css"&gt;
&lt;script src="script.js"&gt;&lt;/script&gt;
...</code></pre><p>This is simple stuff, and you usually have this <strong>saved in some sort of template</strong>.</p><h4>2. Forms</h4><p>The next level of HTML5 is adding some niceness to forms.</p><p><strong>Validation, place holders, calendars, input types</strong> can all be declared with HTML5 and in most cases all that is needed is dropping in an extra attribute to your already existent XHTML forms.</p><pre><code>&lt;input type="search" id="keywords" name="keywords" placeholder="Search our site" autofocus&gt;</code></pre><h4>3. Layout and elements</h3><p>We get a bit more advanced now with layout. HTML5 has introduced several new block elements for marking up your layout including <strong>header, footer, article, aside, section, figure</strong>.</p><pre><code>&lt;header&gt;
&lt;h1&gt;Heading goes here&lt;/h1&gt;
&lt;/header&gt;
&lt;article&gt;
&lt;section&gt;
&lt;h2&gt;Something in here&lt;/h2&gt;
&lt;/section&gt;
&lt;section&gt;
&lt;h2&gt;Something else in here&lt;/h2&gt;
&lt;/section&gt;
&lt;/article&gt;
&lt;aside&gt;
&lt;p&gt;Something to accompany your article here&lt;/p&gt;
&lt;/aside&gt;
&lt;footer&gt;
&lt;p&gt;Copyright 2011&lt;/p&gt;
&lt;/footer&gt;</code></pre><p>For these new block elements to work across all browsers, <strong>make sure you declare them as block level elements and use the HTML shiv script for IE compatibility</strong>.</p><p>Include this in your head:</p><pre><code>&lt;!--[if lt IE 9]&gt; 
&lt;script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"&gt; &lt;/script&gt; 
&lt;![endif]--&gt;</code></pre><p>And this in your stylesheet:</p><pre><code>header,footer,nav,article,aside,section,figure,figcaption,hgroup,audio,video{
display:block;
}</code></pre><h4>4. Video and audio</h4><p>There&#8217;s a good chance most of you have looked at levels 1 to 3 as most projects require markup, layouts and forms but not all require video and audio.</p><p><strong>No longer do you need to embed video and audio into Flash</strong>. They now have their own elements and controls you can customise in HTML5.</p><pre><code>&lt;video src="video.mp4" controls width="640" height="360" poster="video.jpg"&gt;&lt;/video&gt;</code></pre><h4>5. Advanced features and Javascript</h4><p>I&#8217;ve called level 5 advanced features as we&#8217;re now diving into Javascript.</p><p>Most of the blog articles and books I&#8217;ve read on HTML5 cover the 4 levels above but brush over these advanced features, most likely because <strong>they deserve full books dedicated to the topic</strong> and are more developer than designer related.</p><p>These features include:</p><ul><li>Canvas</li><li>Local/offline storage</li><li>Geolocation</li></ul><h4>How much HTML5 are you using?</h4><p>To date I&#8217;ve only been using levels 1 to 3 myself. I&#8217;ve yet to have an excuse or reason to delve any further.</p><p><strong><em>Are you using HTML5? Have you looked at any of the advanced HTML5 features mentioned above?</em></strong></p><h4>Further reading</h4><ul><li><a
href="http://diveintohtml5.org/">Dive into HTML5</a> by Mark Pilgrim</li><li><a
href="http://html5doctor.com/">HTML5 doctor</a></li><li><a
href="http://fivesimplesteps.com/books/hardboiled-web-design">Hard Boiled Web Design</a> by Andy Clarke</li><li><a
href="http://www.abookapart.com/products/html5-for-web-designers">HTML5 for Web Designers</a> by Jeremy Keith</li></ul> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/html5-web-designer/feed/</wfw:commentRss> <slash:comments>12</slash:comments> </item> <item><title>How to deploy your Rails app with Capistrano (to Dreamhost)</title><link>http://www.leemunroe.com/deploy-rails-with-capistrano/</link> <comments>http://www.leemunroe.com/deploy-rails-with-capistrano/#comments</comments> <pubDate>Wed, 26 Jan 2011 09:01:29 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[Web Development]]></category> <category><![CDATA[apps]]></category> <category><![CDATA[capistrano]]></category> <category><![CDATA[development]]></category> <category><![CDATA[dreamhost]]></category> <category><![CDATA[rails]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=2245</guid> <description><![CDATA[I&#8217;ve been doing a bit of Rails development recently. I&#8217;ve actually been doing what I would call &#8216;basic&#8217; Rails development for a couple of years now on and off. However,&#8230;]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been doing a bit of Rails development recently. I&#8217;ve actually been doing what I would call &#8216;basic&#8217; Rails development for a couple of years now on and off.</p><p>However, <strong>I&#8217;d never used Capistrano</strong> to deploy a web app before. It was always one of those other things that I would have to learn. But recently, with the re-launched <a
href="http://tweetni.com">TweetNI</a>, I decided to sit down and figure it out.</p><p>It didn&#8217;t go quite as smoothly as I had planned so here&#8217;s a quick overview to help you get up and running.</p><p><span
id="more-2245"></span></p><h4>What is Capistrano?</h4><blockquote><p>Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH.<br
/> &mdash; <a
href="https://github.com/capistrano/capistrano">GitHub</a></p></blockquote><p>Sounds a bit complicated but in a nutshell, <strong>you run a command (or two) via Terminal (or Command Line) and your Rails app is &#8216;automagically&#8217; up and running on your server</strong>.</p><p>If you&#8217;ve ever deployed a Rails app manually like I have before, you might have uploaded the files via <strong>FTP</strong>, then created your database in <strong>PHPMyAdmin</strong>, then <strong>&#8216;touched&#8217; the restart.txt</strong> file via SSH (yep, so old skool).</p><p>Capistrano combines all this into a couple of commands.</p><h4>Setup Capistrano</h4><p>Assuming you have Terminal open on a mac, run the following commands:</p><h5>1. Install the gem</h5><pre><code>gem install capistrano</code></pre><h5>2. Tell your app you want to deploy with Capistrano</h5><pre><code>cd your_app_folder
capify .</code></pre><h5>3. Configure deploy.rb</h5><p>There is a new file for you to configure under <strong>/config/deploy.rb</strong></p><p>I&#8217;m going to assume you&#8217;re <strong>*not* using SVN or Git</strong> for this project (it just so happens I didn&#8217;t use them for this project).</p><p>Copy and paste the following:</p><pre><code>require 'bundler/capistrano'

set :application, "tweetni.com" # Your application location on your server goes here

default_run_options[:pty] = true

set :repository,  "."
set :scm, :none
set :deploy_via, :copy

set :checkout, 'export'

set :user, 'username' # Your username goes here
set :use_sudo, false
set :domain, 'tweetni.com' # Your domain goes here
set :applicationdir, "/home/#{user}/#{application}"
set :deploy_to, applicationdir

role :web, domain                 
role :app, domain                          
role :db,  domain, :primary =&gt; true 


set :chmod755, "app config db lib public vendor script script/* public/disp*"

namespace :deploy do
  
  task :start do ; end
  task :stop do ; end
  task :restart, :roles =&gt; :app, :except =&gt; { :no_release =&gt; true } do
    run "#{try_sudo} touch #{File.join(current_path,'tmp','restart.txt')}"
  end
  
end</code></pre><p>Make sure you change your app folder, username and domain to your settings.</p><h5>4. Setup your server</h5><pre><code>cap deploy:setup</code></pre><p>You only need to run this command once.</p><p>Each time you deploy, <strong>SSH will ask for your password</strong>.</p><h5>5. Deploy</h5><pre><code>cap deploy:cold
cap deploy:web:enable
cap deploy:migrations</code></pre><h5>You&#8217;re up and running</h5><p>If everything went to plan you should be up and running.</p><p>From now on any time you make any changes you just need to run the following:</p><pre><code>cap deploy</code></pre><h4>On Dreamhost</h4><p>I don&#8217;t know if I did something wrong along the process but after step 5 I couldn&#8217;t get my app to run so<strong> I sent Dreamhost a little support question</strong> and they replied saying:</p><blockquote><p>Sorry about that, I needed to create a symlink to bundle. Give it a try now and write back in if you&#8217;re still having an issue.</p></blockquote><p>Not sure if this happens every time but try giving support a shout if it does.</p><p><strong><em>Hope this is helpful to someone.</em></strong></p><h4>Further reading</h4><ul><li><a
href="http://www.maxkpage.com/blog/capistrano-rails-deploy-without-svn-or-git/">Deploy with Capistrano without SVN or Git</a></li><li><a
href="https://github.com/capistrano/capistrano">Official Capistrano page</a></li><li><a
href="http://wiki.dreamhost.com/Capistrano">Capistrano on Dreamhost</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/deploy-rails-with-capistrano/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>15 mac apps web designers should have in their dock</title><link>http://www.leemunroe.com/15-mac-apps-web-designers-should-have-in-their-dock/</link> <comments>http://www.leemunroe.com/15-mac-apps-web-designers-should-have-in-their-dock/#comments</comments> <pubDate>Mon, 20 Oct 2008 14:06:06 +0000</pubDate> <dc:creator>Lee</dc:creator> <category><![CDATA[Web Design]]></category> <category><![CDATA[Apple]]></category> <category><![CDATA[apps]]></category> <category><![CDATA[design]]></category> <category><![CDATA[development]]></category> <category><![CDATA[mac]]></category> <category><![CDATA[software]]></category><guid
isPermaLink="false">http://www.leemunroe.com/?p=345</guid> <description><![CDATA[Back in June when I was converting from a PC to a MacBook Pro (best decision I ever made) I asked around to see what apps people recommended for the&#8230;]]></description> <content:encoded><![CDATA[<div
style="text-align:center;"><a
href="http://www.leemunroe.com/15-mac-apps-web-designers-should-have-in-their-dock"><img
class="alignnone size-full wp-image-347" title="dock1" src="http://www.leemunroe.com/wp-content/uploads/dock2.jpg" alt="Dock" /></a></div><p>Back in June when I was converting from a PC to a MacBook Pro (best decision I ever made) I asked around to see what apps people recommended for the Mac. There are a <a
href="http://www.apple.com/downloads/">lot of nice apps</a> available for Mac OSX that aren&#8217;t available for Windows.</p><p>I&#8217;ve compiled a list of Mac Apps I have in my OSX dock that I use on a daily basis and should be useful to other Mac users and/or web designers.</p><p><span
id="more-345"></span></p><h4>1. <a
href="http://www.adobe.com">Adobe Creative Suite</a></h4><div
style="text-align:center;"><a
href="http://www.adobe.com"><img
src="http://www.leemunroe.com/wp-content/uploads/ps.png" alt="Photoshop" width="128" height="128" /></a></div><p>An obvious and primary requirement (I feel) all serious web designers should have. I couldn&#8217;t get through the day without Photoshop while Illustrator and Flash are constantly called upon. I hear Fireworks is good too, especially for compressing images, but I&#8217;ve yet to use it myself.</p><h4>2. <a
href="http://www.panic.com/transmit/">Transmit</a></h4><div
style="text-align:center;"><a
href="http://www.panic.com/transmit/"><img
src="http://www.leemunroe.com/wp-content/uploads/transmit.png" alt="Transmit" width="128" height="128" /></a></div><p>Transmit is an FTP client for Mac. Edit remote files, synchronize, search, SSL, tabs; it covers all your daily FTP needs.</p><h4>3. <a
href="http://www.panic.com/coda/">Coda</a></h4><div
style="text-align:center;"><a
href="http://www.panic.com/coda/"><img
src="http://www.leemunroe.com/wp-content/uploads/code.png" alt="Coda" width="128" height="128" /></a></div><p>Coda is a light-weight all in one text editor. You can edit your code, preview your web page, upload to server (integration with Transmit), edit CSS and run commands in Terminal; all from within this one app. I would use Coda for front-end development.</p><h4>4. <a
href="http://macromates.com/">Textmate</a></h4><div
style="text-align:center;"><a
href="http://macromates.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/textmate.png" alt="TextMate" width="128" height="128" /></a></div><p>Textmate is another text editor that I prefer using for back-end development. Code completion, snippets, syntax colouring are some of the things I enjoy about Textmate along with ease of customizing fonts and colours.</p><h4>5. <a
href="http://cocoamysql.sourceforge.net/">CocoaMySQL</a></h4><div
style="text-align:center;"><a
href="http://cocoamysql.sourceforge.net/"><img
src="http://www.leemunroe.com/wp-content/uploads/cocoa.png" alt="Cocoa" width="128" height="128" /></a></div><p>CocoaMySQL gives you an interface to work with your MySQL databases. This is a desktop alternative to PHPMyAdmin, which is a lot quicker and in my opinion a lot easier to operate.</p><p><strong>UPDATE 13/12/08: CocoaMySQL has been abandoned and replaced with <a
href="http://www.mjmedia.com.au/sequel-pro.html">Sequel Pro</a>. Works just as well and looks even better. <a
href="http://www.mjmedia.com.au/sequel-pro.html">Check it out</a>.</strong></p><h4>6. <a
href="http://www.mamp.info/">MAMP</a></h4><div
style="text-align:center;"><a
href="http://www.mamp.info/"><img
src="http://www.leemunroe.com/wp-content/uploads/mamp.png"  alt="Mamp" width="128" height="128" /></a></div><p>MAMP is an easy way to get Apache, MySQL and PHP up and running on your machine. Just by running MAMP all these three services will be up and running, no messing around in Terminal needed.</p><h4>7. <a
href="http://www.culturedcode.com/things/">Things</a></h4><div
style="text-align:center;"><a
href="http://www.culturedcode.com/things/"><img
src="http://www.leemunroe.com/wp-content/uploads/things.png" alt="Things" width="128" height="128" /></a></div><p>Great app for getting things done. Set yourself project tasks and daily tasks and check them off as and when you get them done.</p><h4>8.<a
href="http://macrabbit.com/cssedit/"> CSS Edit</a></h4><div
style="text-align:center;"><a
href="http://macrabbit.com/cssedit/"><img
src="http://www.leemunroe.com/wp-content/uploads/css.png" alt="CSS Edit" width="128" height="128" /></a></div><p>A very good CSS editor. It allows for real time previews of your website and styles and is a very efficient app allowing you to easily find all styles being applied to certain elements.</p><h4>9. <a
href="http://www.transmissionbt.com/">Transmission</a></h4><div
style="text-align:center;"><a
href="http://www.transmissionbt.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/trans.png"  alt="Transmission" width="128" height="128" /></a></div><p>Transmission is used for downloading/uploading torrents over the net. Useful for sharing files with friends and colleagues (among other things)</p><h4>10. <a
href="http://www.red-sweater.com/marsedit/">MarsEdit</a></h4><div
style="text-align:center;"><a
href="http://www.red-sweater.com/marsedit/"><img
src="http://www.leemunroe.com/wp-content/uploads/mars.png" alt="MarsEdit" width="128" height="128" /></a></div><p>MarsEdit allows you to compile draft blog posts on your local machine before publishing them live on your blog. I use it daily to take notes on various blog topics I think of and then I can easily compile a blog post over the course of a week.</p><h4>11. <a
href="http://skitch.com/">Skitch</a></h4><div
style="text-align:center;"><a
href="http://skitch.com/"><img
src="http://www.leemunroe.com/wp-content/uploads/skitch.png" alt="Skitch" width="128" height="128" /></a></div><p>I was only recently introduced to this by <a
href="http://goodonpaper.org">GoodOnPaper</a> @ FOWA. Allows you to easily share images/screenshots on the web and using the Skitch editor you can add notes to your image or highlight areas of a screenshot. Very useful and saves having to load up Photoshop for simple tasks.</p><h4>12. <a
href="http://www.amazon.co.uk/gp/product/B0014BBQ5M?ie=UTF8&amp;tag=10homepa-21&amp;linkCode=as2&amp;camp=1634&amp;creative=6738&amp;creativeASIN=B0014BBQ5M">Parallels Desktop</a></h4><div
style="text-align:center;"><a
href="http://www.amazon.co.uk/gp/product/B0014BBQ5M?ie=UTF8&amp;tag=10homepa-21&amp;linkCode=as2&amp;camp=1634&amp;creative=6738&amp;creativeASIN=B0014BBQ5M"><img
src="http://www.leemunroe.com/wp-content/uploads/parallels.png" alt="Parallels" width="128" height="128" /></a></div><p>You can run Windows XP or Vista on your Mac using Parallels. Handy for being able to test your websites in versions of IE (<a
href="http://tredosoft.com/Multiple_IE">using Multiple IEs</a>) and if there are any Windows only apps you need to use, e.g. Microsoft Access.</p><h4>13. <a
href="http://www.amazon.co.uk/gp/product/B000WR2F2M?ie=UTF8&amp;tag=10homepa-21&amp;linkCode=as2&amp;camp=1634&amp;creative=6738&amp;creativeASIN=B000WR2F2M">Office</a></h4><div
style="text-align:center;"><a
href="http://www.amazon.co.uk/gp/product/B000WR2F2M?ie=UTF8&amp;tag=10homepa-21&amp;linkCode=as2&amp;camp=1634&amp;creative=6738&amp;creativeASIN=B000WR2F2M"><img
src="http://www.leemunroe.com/wp-content/uploads/office.png" alt="Office" width="128" height="128" /></a></div><p>A good old favorite for creating text documents, preparing slideshows or looking after sets of data. There are a few Mac alternatives, and of course online alternatives, but I personally prefer Office.</p><h4>14. <a
href="http://www.derailer.org/paparazzi/">Paparazzi</a></h4><div
style="text-align:center;"><a
href="http://www.derailer.org/paparazzi/"><img
src="http://www.leemunroe.com/wp-content/uploads/pap.png" alt="Paparazzi" width="128" height="128" /></a></div><p>Paparazzi takes full screenshots of webpages. The problem with Cmd+Shift+3 is that it only takes a screenshot of the visible screen. Paparrazi takes the whole height of the page, even below the fold, so it&#8217;s great for showing screenshots of your web designs.</p><h4>15. <a
href="http://iconfactory.com/software/twitterrific">Twitterific</a></h4><div
style="text-align:center;"><a
href="http://iconfactory.com/software/twitterrific"><img
src="http://www.leemunroe.com/wp-content/uploads/twit.png" alt="Twitterific" width="128" height="128" /></a></div><p>Easily interact with Twitterland via Twitterific. Saves you having to make the trip to <a
href="http://www.twitter.com">Twitter</a> to see what&#8217;s going on as it can retrieve and send tweets for you.</p><h4>Others worth looking at</h4><ul><li><a
href="http://www.mozilla.com/en-US/firefox/">Firefox</a> Firefox is a fantastic browser with fantastic extensions for web designers like <a
href="https://addons.mozilla.org/en-US/firefox/addon/60">Web Developer Toolbar</a> and <a
href="https://addons.mozilla.org/en-US/firefox/addon/1843">FireBug</a></li><li><a
href="http://www.pixelmator.com/">Pixelmator</a> Cheap alternative to Photoshop</li><li><a
href="http://www.freeverse.com/apps/app/?id=6020">Lineform</a> Cheap alternative to Illustrator</li><li><a
href="http://www.flickr.com/tools/uploadr/">Flickr Uploader</a> Easily upload your photos to Flickr</li><li><a
href="http://www.skype.com">Skype</a> Have your conference calls for free over the web</li></ul><h4>What apps do you use?</h4><p>Let me know what apps you find useful and you think should be included in the list above.</p> ]]></content:encoded> <wfw:commentRss>http://www.leemunroe.com/15-mac-apps-web-designers-should-have-in-their-dock/feed/</wfw:commentRss> <slash:comments>97</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: basic (User agent is rejected)
Database Caching 22/30 queries in 0.740 seconds using disk: basic

Served from: www.leemunroe.com @ 2012-02-04 04:38:07 -->
