<?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>Helloewy: A blog from Loewy Design &#187; Code</title>
	<atom:link href="http://www.loewy.com/tag/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.loewy.com</link>
	<description>The blog of Loewy Design</description>
	<lastBuildDate>Thu, 03 Nov 2011 20:36:01 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>By the book</title>
		<link>http://www.loewy.com/by-the-book/</link>
		<comments>http://www.loewy.com/by-the-book/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 21:19:45 +0000</pubDate>
		<dc:creator>David Loewy</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Information Architecture]]></category>
		<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[Online Strategy]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[business strategy]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Productivity]]></category>

		<guid isPermaLink="false">http://www.loewy.com/?p=563</guid>
		<description><![CDATA[
I recently gave a lecture to the advanced web design class at Farmingdale College. When I met up with professor Jack Harris, he informed me that the kids, mostly juniors and seniors,  saw Loewy Design’s page in the Flash/Dreamweaver Genius Guide, and they were looking forward to meeting with me. A bit embarrassed and very [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.loewy.com/by-the-book/"><img class="alignnone size-full wp-image-569" title="book_art2" src="http://www.loewy.com/wp-content/uploads/2009/10/book_art2.png" alt="book_art2" width="518" height="336" /></a></p>
<p>I recently gave a lecture to the advanced web design class at Farmingdale College. When I met up with professor Jack Harris, he informed me that the kids, mostly juniors and seniors,  saw Loewy Design’s page in the <a href="http://www.imagineshop.co.uk/item_show.php?itemID=1227" target="_blank">Flash/Dreamweaver Genius Guide</a>, and they were looking forward to meeting with me. A bit embarrassed and very flattered, I asked Jack what book was he talking about and where could I get one. <span id="more-563"></span></p>
<p>I later found out that the book is published by Imagine Publishing and promises to be the essential guide to dynamic design and development. We were recognized for our website’s approach to animation and design using purely CSS and Javascript, a technological accomplishment but not exactly what I wanted to talk about in my little seminar. My talk was about the real world lessons that you can’t get from a textbook. I wanted to focus on the process of solving business and branding problems with the online medium.</p>
<p>I tried to push their tech questions aside but they kept coming. I eventually got my point across that the technology we’re using today will be completely different when the students immerse themselves in the job market. They’ll need to educate themselves on the latest versions of Flash and Dreamweaver and keep up with always evolving programming languages throughout their careers.</p>
<p>The most valuable information I could share with them was to describe our thought processes, not only about making a website look great but about creating one that will actually help your clients solve their business challenges. I gave them our secret sauce on how we deliver positive results to our clients and improve their bottom lines.  As a take-away, I provided them, and now you, with a <a href="http://www.loewydesign.com/farmingdale/">list of reference tools</a> organized by each phase of our process.</p>
<p>By no means is this the complete list, since it too is always evolving, but it could serve as a nice resource and good starting point for students, clients and peers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loewy.com/by-the-book/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HTML 5 &#8211; A new level</title>
		<link>http://www.loewy.com/html-5-a-new-level/</link>
		<comments>http://www.loewy.com/html-5-a-new-level/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 18:37:51 +0000</pubDate>
		<dc:creator>Matt Kaye</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Web Best Practices]]></category>

		<guid isPermaLink="false">http://www.loewy.com/?p=401</guid>
		<description><![CDATA[
There&#8217;s been a lot of buzz about HTML 5 lately. I&#8217;ve seen a wave of articles talking about the new version of HTML in the RSS feeds I follow. Work on HTML 5, which commenced in 2004, is far from complete, but we&#8217;re starting to see some new and exciting features being released in the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.loewy.com/wp-content/uploads/2009/09/img_html_5_post.jpg" alt="HTML 5 Preview" title="HTML 5 Preview" width="519" height="345" class="alignnone size-full wp-image-425" /></p>
<p>There&#8217;s been a lot of buzz about HTML 5 lately. I&#8217;ve seen a wave of articles talking about the new version of HTML in the RSS feeds I follow. Work on HTML 5, which commenced in 2004, is far from complete, but we&#8217;re starting to see some new and exciting features being released in the <a href="http://dev.w3.org/html5/spec/Overview.html" target="_blank">current draft. <span id="more-401"></span><br />
 </a></p>
<p>So what&#8217;s new? For front-end developers, there are a few improvements in version 5 that aim to make life easier and cut down on development time. </p>
<h2>So What&#8217;s Different?</h2>
<p>Well, a lot, but one of the most significant changes from HTML 4 is that HTML 5 is not based on SGML. It has, however, been designed to be backward-compatible with common parsing of older versions of HTML.</p>
<p>In the SGML rulebook, element names are not case sensitive, you can have elements with optional closing tags (like the paragraph tag), and you can have attribute values without quotation marks. XHTML 1.0 and 1.1 are based on a rulebook called XML. In the XML rulebook, element and attribute names <em>are </em>case sensitive, every opening tag <em>must </em>have a closing tag, and attribute values must be quoted.</p>
<p>HTML 5 defines a markup language that <strong>isn&#8217;t based on either rulebook</strong>, but that can be written in either &#8220;HTML form&#8221; (or serialization, as the specs call it) or &#8220;XHTML form.&#8221; This gives page authors more flexibility. </p>
<h2>Page Structure</h2>
<p>HTML 5 brings a whole set of new elements that make it much easier to structure pages. Now, we have tags like:</p>
<p><pre class="brush: xml;">
&lt;header&gt;
&lt;nav&gt;
&lt;article&gt;
&lt;section&gt;
&lt;footer&gt;
</pre>
</p>
<p>HTML 4 lacks the necessary semantics for describing these parts of the page specifically. The new tags should replace the all-too-common &#8220;use div&#8221; elements, giving each a descriptive ID or class.</p>
<p>Typical markup for an HTML 5 document could look something like this:</p>
<p><pre class="brush: xml;">
&lt;body&gt;
&lt;header&gt;...&lt;/header&gt;
	&lt;nav&gt;...&lt;/nav&gt;
	&lt;article&gt;
		&lt;section&gt;...&lt;/section&gt;
	&lt;/article&gt;
		&lt;aside&gt;...&lt;/aside&gt;
&lt;footer&gt;...&lt;/footer&gt;
&lt;/body&gt;
</pre>
</p>
<h2>Embedded Media</h2>
<p>The popularity of audio and video on the Web is undeniable. Sites such as YouTube, MySpace, and Facebook make it easier than ever for anyone to publish rich content to the Web. HTML 4 lacks the means to embed and control multimedia successfully; many sites rely on Flash to perform those tasks.</p>
<p>HTML 5 promises two tags to aid in the embedding process:</p>
<p><pre class="brush: xml;">
&lt;audio&gt;
&lt;video&gt;
</pre>
</p>
<p>There are many additional attributes available for each of these tags, should the author of a Web page require more-detailed control over its content. But for purposes of demonstration, this would be a typical use:</p>
<p><pre class="brush: xml;">
&lt;video src=&quot;video.ogv&quot; controls poster=&quot;poster.jpg&quot;
width=&quot;320&quot; height=&quot;240&quot;&gt;
    &lt;a href=&quot;video.ogv&quot;&gt;Download movie&lt;/a&gt;
&lt;/video&gt;

&lt;audio src=&quot;sample_audio.mp3&quot; controls&gt;
    &lt;a href=&quot;sample_audio.mp3&quot;&gt;Download song&lt;/a&gt;
&lt;/audio&gt;
</pre>
</p>
<p>The optional &#8220;poster&#8221; attribute can be used to specify an image that will be displayed in place of the video before the video has begun playing. The &#8220;controls&#8221; attribute is a true-or-false attribute that indicates whether the author wants the built-in controls turned on or off by default.</p>
<h2>Regular expressions</h2>
<p>HTML 5 extends the input element by offering new attributes that allow you to specify what data you will allow as input. These attributes include min and max (to set a numeric range), and HTML 5 also offers new values for the type attribute, such as url, email, date, and time.</p>
<p><pre class="brush: xml;">
Enter a US or Canadian Postal Code:&lt;/p&gt;
&lt;input type=&quot;text&quot; name=&quot;postCode&quot;
required=&quot;required&quot;
pattern=&quot;([0-9]{5}(-[0-9]{4})?)|([0-9][A-Z][0-9]\s+[A-Z][0-9][A-Z])&quot;
title=&quot;US: 99999-1234; Canadian: 0A1&amp;amp;#160;B2C&quot; /&gt;
</pre>
</p>
<p>The value of the pattern attribute is a regular expression, as defined in ECMAScript and used in JavaScript.</p>
<h2>Canvas</h2>
<p>The new Canvas element consists of a drawable region defined in HTML code with &#8220;height&#8221; and &#8220;width&#8221; attributes. JavaScript code may access the area through a full set of drawing functions similar to other common 2D APIs, thus allowing for dynamically generated graphics. Some anticipated uses of Canvas include building graphs, animation, games, and image composition.</p>
<p><canvas id="myCanvas">your browser does not support the canvas tag</canvas></p>
<p>See the yellow square? That&#8217;s being drawn by JavaScript into the Canvas tag. Currently only FireFox, Chrome, and Opera support the canvas tag.</p>
<p>This is an early example of the improvements the Web-development community can look forward to with the release of HTML 5. Of course, not all browsers will be swift to support the new specifications, so don&#8217;t throw out that HTML bible just yet!</p>
<p>Do you have any other HTML 5 tips and features you find exciting? We&#8217;d love to hear about them!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loewy.com/html-5-a-new-level/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tools of the trade</title>
		<link>http://www.loewy.com/tools-of-the-trade/</link>
		<comments>http://www.loewy.com/tools-of-the-trade/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 19:24:07 +0000</pubDate>
		<dc:creator>Matt Kaye</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Productivity]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[time management]]></category>

		<guid isPermaLink="false">http://www.loewy.com/?p=377</guid>
		<description><![CDATA[
Everyone&#8211;designer and developer alike&#8211;has a set of tools to rely on that make the day go smoothly. We all have tricks that help us be more productive and more efficient&#8211;and take less Tylenol! 
Here’s my list of tools that I use on a daily basis:  
CSS/HTML/JavaScript Helpers:
 Firebug (FireFox Add-on)
 This is probably my [...]]]></description>
			<content:encoded><![CDATA[<p><a href="2009/09/tools-of-the-trade/"><img class="alignnone size-full wp-image-389" title="firebug" src="http://www.loewy.com/wp-content/uploads/2009/09/firebug.jpg" alt="firebug" width="519" height="260" /></a></p>
<p>Everyone&#8211;designer and developer alike&#8211;has a set of tools to rely on that make the day go smoothly. We all have tricks that help us be more productive and more efficient&#8211;and take less Tylenol! <span id="more-377"></span></p>
<p>Here’s my list of tools that I use on a daily basis:  <strong></strong></p>
<p><strong>CSS/HTML/JavaScript Helpers:</strong><a href="https://addons.mozilla.org/en-US/firefox/addon/1843" target="_blank"><br />
 Firebug</a> (FireFox Add-on)<br />
 This is probably my top choice for front-end development. You can see/edit/remove CSS styles and HTML markup on the fly with this great resource. It also has many built-in features that allow you to debug JavaScript code right from the browser.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/60" target="_blank">Web Developer Toolbar</a> (FireFox Add-on)<br />
 This tool is similar to Firebug in the functions it offers. I find the combination of the two to be useful; I choose between them depending on the situation.  The Web Developer Toolbar’s auto population of form fields saves lots of time, and the inline ruler is quite handy when comparing designs to markup.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/5392" target="_blank">Dust-me Selectors</a> (FireFox Add-on)<br />
 This is a helpful tool to keep stylesheets as lean as possible. It extracts all the selectors from all the stylesheets on the page you&#8217;re viewing, then analyzes that page to see which of those selectors are not used. It then stores the data, so when you test subsequent pages, selectors can be crossed off the list as they&#8217;re encountered.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/6647" target="_blank">HttpFox</a> (FireFox Add-on)<br />
 HttpFox monitors and analyzes all incoming and outgoing HTTP traffic between the browser and the web servers. This resource is useful if you need to know what files are being requested from a web server and you can’t get that information directly by viewing the source code.</p>
<p><a href="http://www.cleancss.com/" target="_blank">CleanCSS </a><br />
 CleanCSS is a powerful CSS optimizer and formatter. It takes your CSS code and makes it cleaner and more concise.</p>
<p><a href="http://tools.arantius.com/tabifier" target="_blank">Tabifier</a><br />
 If you work with messy coders or inherit old code that hasn’t been kept neat, this tool will save you lots of time and eyestrain by correctly indenting the code and making it easier to read.</p>
<p><strong>Browser Testing: </strong><br />
 <a href="http://www.xenocode.com/Browsers/" target="_blank">XenoCode Browser Sandbox</a><br />
 You don’t have to keep installing different browsers; XenoCode lets you run the browser of your choice virtually from its servers. This service essentially sandboxes the browser, allowing you to run it without changing any of your computer settings. I usually have IE6 and 7 running along with my installed version of IE8.</p>
<p><a href="http://ipinfo.info/netrenderer/" target="_blank">IENetRender </a><br />
 Here’s another handy tool; it allows you to see real-time screenshots of your page in many versions of IE.</p>
<p><a href="http://www.browsrcamp.com/" target="_blank">Browsrcamp</a><br />
 If you develop on a PC, Browsrcamp allows you to see screenshots of what your page will look like in MAC Safari. I’ve found that the PC version of Safari doesn’t always render pages consistently.</p>
<p><a href="http://validator.w3.org/" target="_blank">W3C Validator</a> <br />
 This choice is an obvious one. Validation keeps developers honest and squashes most problems before they become headaches.</p>
<p><strong>Version Control: </strong><br />
 <a href="http://www.assembla.com/" target="_blank">Assembla </a><br />
 Assembla offers a nice control panel interface for your version-controlled spaces. This particular one runs on Subversion. Even if you’re coding a project all by yourself, I would recommend some kind of version-control software as a must-have. It will save you hours of time.</p>
<p><a href="http://tortoisesvn.net/" target="_blank">Tortoise SVN </a><br />
 This is a great SVN client that ties right in with the Windows Explorer Shell. (Sorry, MAC users.) There are numerous subversion clients out there, but this one is my favorite because it runs silently in the background until you need it.</p>
<p><strong>Server Environment Information: </strong><br />
 <a href="http://builtwith.com/" target="_blank">Builtwith</a><br />
 Builtwith is a web technology information profiler; it lets you find out what a given site is using.</p>
<p><a href="http://dndetails.com/" target="_blank">Domain Name Details </a><br />
 The name says it all. This is a good place to find answers to most of your common questions about domain names quickly.</p>
<p>This list is by no means exhaustive. There are lots of great products out there that you may find just as useful. It’s really all a matter of preference and comfort. What tools do you use in your development cycle? Feel free to share!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loewy.com/tools-of-the-trade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
