Archive for the ‘Markup’ Category

Zen & The Art of Coding

24th June 2010

Foreword
Apologies to our regular readers if this comes as a jolt, but I’m going tech in this one…

I’ve been using a new programming technique for markup, known as Zen Coding. It’s a combination of XPath and CSS syntax that greatly speeds up markup generation.

For example, to automatically create the following markup…

    <ul id="nav">
	<li class="tier1"><a href="#" class="tier1"></a></li>
	<li class="tier1"><a href="#" class="tier1"></a></li>
	<li class="tier1"><a href="#" class="tier1"></a></li>
	<li class="tier1"><a href="#" class="tier1"></a></li>
	<li class="tier1"><a href="#" class="tier1"></a></li>
    </ul>

…you need only type the following Zen Coding snippet:

    ul#nav>li.tier1*5>a[href="#"].tier1

It’s a really elegant, streamlined syntax and something I’ve found incredibly useful so far. It doesn’t affect your source code, because it’s just an inline helper in your editor — a bit like auto-complete in Word, or Intellisense in Visual Studio.

The best thing is that Zen Coding is available as an add-on for loads of different programs – on PC and Mac – including 3Sixty’s two favourite code editors:

  • Visual Studio
    via a download from Codeplex
  • Komodo Edit
    go to ToolsAdd-ons and select Zen Coding from the list

You can find out more about Zen Coding over at Smashing Magazine.

Sports Illustrated Magazine – HTML5

20th May 2010

A collaboration between TWF, Google, and SI for the Google I/O 2010 Keynote Presentation. This is very exciting.

The great IE6 debate

25th January 2010

Even though I’m not one of the technical team at 3Sixty, I’m tech-savvy enough to know that the web browser Internet Explorer 6 (IE6) spells trouble. Many a time I’ve witnessed developers tearing their hair out having got a site to work perfectly in every other specified browser except IE6.

The issue of IE6 has come up in a few new business meetings recently, as it seems clients are still using this version in corporate environments. So with a heavy heart we need to include IE6 in the technical specification.

So the issue was on my mind when I read an article on The Guardian’s website about the use of IE6 within the NHS and came across this quote from Ed Bott in a blogpost at ZDNet:

“Any IT professional who is still allowing IE6 to be used in a corporate setting is guilty of malpractice. Think that judgment is too harsh? Ask the security experts at Google, Adobe, and dozens of other large corporations that are cleaning up the mess from a wave of targeted attacks that allowed source code and confidential data to fall into the hands of well-organized intruders. The entry point? According to Microsoft, it’s IE6.”

Ed includes a table that reinforces the point:

You get the hint! ;-)

A Guide to CSS Support in Email: 2007 Edition

20th April 2007

The Campaign Monitor follow up that includes the new Outlook 2007 and Yahoo! Mail. A must read for anyone designing HTML emails.


Follow

Get every new post delivered to your Inbox.