Posts Tagged ‘technique’:

Decoupling presentation from content

Posted on January 4, 2013 by

I recently ran across the anti-pattern of what I see as a common problem amongst designers and developers: coupled presentation and content. I’ve found that decoupling the presentation from the content makes things much easier to write, maintain and expand. Here’s a simple example: HTML <section> <div class=”margin-top-10″>Lorem Ipsum</div> </section> CSS .margin-top-10 { margin-top: 10px }; .margin-top-20 […]

Regular Expressions Roundup

Posted on September 27, 2012 by

Writing some Regular Expressions? Some people, when confronted with a problem, think “I know, I’ll use regular expressions.” Now they have two problems. —Jamie Zawinski Well, not really. There are some cases where using a Regular Expression—RegEx— instead of a heap of convoluted if statements just makes sense from both a lazy and practical standpoint. When […]

Find Something You Like and Dissect It

Posted on September 20, 2012 by

I’m always on the lookout for a new technique or Better Mousetrap. I admit I don’t know all that much, so I’m happy to learn. I was playing around with Wikify @ appointment.net (a nifty tool that goes through a block of text and ‘wikifies’ it–that is, links all the words it can find to relavant […]