Browser Versions are Dead

Posted by on Mar 28, 2013 in Videos | No Comments

This presentation, by Kyle Simpson , is licensed under a Creative Commons Attribution ShareAlike 3.0

Fork me on GitHub

Intro to Web Components

Posted by on Mar 28, 2013 in Links & Quotes | No Comments

Adobe covered some issues pertaining to CSS as it currently exists: all CSS is defined in a global namespace. They also covered some ways to make it work for you, like using a components name as a prefix ( ie .widget-title instead of .widget .title ),  using library names as namespaces, and using preprocessors to dynamically use namespaces. One of the topics they covered though that I was most interested in, however, was Web Components. ( here’s another brief intro as well )

Web components allow you to encapsulate recurring sections of your page like widgets, alert buttons, etc. One of their other advantages is giving CSS a scope to work in. Any CSS that’s applied to the component inside the file ( ie alert-component.html ) will be applied only to elements in that file.

MRW someone says exactly what I'm thinking.

That’s nuts. Read on, fair traveler:

CSS: Everything is global and how to deal with it

HTML5 Rocks: Shadow DOM 101

W3C: Intro to Web Components

WordCamp Atlanta || What the Git?

Posted by on Mar 15, 2013 in Announcements | No Comments
WordCamp Atlanta || What the Git?

Today is the day!! WordCamp Atlanta is just starting and it’s going to be a great time. I’ll be speaking in the Dev room on the how and why git is awesome. If you’re interested, you can grab the slides at slideshare here. I’d love for you to stop by and say hi!

Guages, not Cages || Work Vs Play

Posted by on Mar 12, 2013 in Links & Quotes | No Comments

I love the thoughts behind this.

Rather than build cages, and lock our employees in them, I’d rather build gauges and passively monitor them. If someone is slacking off, it will come out through the natural course of daily work, interaction, and collaboration with each other.

8Bit: Gauges, not Cages

Pictures from a developer’s life

Posted by on Mar 1, 2013 in Gif Invasion | No Comments

I have a special place in my heart for gifs, and it’s even better when they’re related to development. I decided to share a few of my favorites.

When I show the boss that I have finally fixed this bug

When I show the boss that I have finally fixed this bug

And another:

When my regex returned exactly what I expected

When my regex returned exactly what I expected

Many thanks to Sonny for sharing this with me. Check out part 1 and part 2.

Being a Modern Superhero || What most schools don’t teach

Posted by on Feb 27, 2013 in Musings | No Comments

I remember being 12 when I first encountered CSS and HMTL. It blew my mind, and at the time, was absurdly complex. I was “journaling” on OpenDiary.com and it allowed you to modify your own css and html structure. I was learning Front End while pouring my heart out about why my latest crush didn’t like me.

12 years later I’m making my living as a Front End Web Developer. Between messing around with computer parts found on the side of the road, building websites, and fantasizing about the latest gadgets, it seems my life has centered around computers. And it’s crazy how much it’s taught me, my little obsession. I’ve learned that ropes can remember things. I’ve learned that blind people can see. And I’ve learned how motorcycles work. Why motorcycles? Because I’m interested in them! If development has taught me anything, it’s to pursue learning what I’m interested in and find out how things work. Interest begets learning.

It’s also taught me problem solving. That’s something I thank my Dad a lot for teaching me. Problem solving has been one of the best skills I’ve ever had because it doesn’t just apply to web development; problem solving applies to life. I never realized until years after the purpose of math in grade school: to teach logic and problem solving. The problem is I never gave two shits about math, so I wasn’t very good at it. I wonder what would have happened if they taught us development in high school, how would that have changed things? And what about other kids that don’t think they’re good at math or other subjects? When you learn development, you’re not only learning logic and problem solving, but you’re able to create something. I find that far more valuable than figuring out the (some mathematical formula).

And that’s why I feel like I’m a modern day superhero. I can create something out of thin air. I can type on my keyboard for hours and hours and create something. I can mash data together like nobodies business, and most of my friends have no earthly idea what I’m doing. Coding for me is about creating something from a problem. How about you? How has coding made you a modern day superhero?

When a taxonomy doesn’t want to exist || Name length woes

Posted by on Feb 23, 2013 in Brain Burners | No Comments

I’m currently working on a plugin that migrates users from one system to WordPress when while I was developing, I encountered a problem. My script programmatically creates taxonomies and terms, but for whatever reason 3 specific taxonomies did not want to be created, no matter how many times I tried. While I was debugging, this is the sort of output I was encountering:

Darn those persistent bugs...

For the life of me, I could not figure out what it was, until today. I was looking at all the taxonomies and noticed that these 3 particular taxonomies all had longer names than the rest. Not much longer, but longer nonetheless. After Googleing for some time, I stumbled upon a StackExchange post talking about this very subject:

The name of the taxonomy. Name should be in slug form (must not contain capital letters or spaces) and not more than 32 characters long (database structure restriction).

There it was. My taxonomy names were too long. Hopefully you’ll find this answer a lot sooner than I did.

 

 

Foundation Reveal.js and Vimeo Players

Posted by on Feb 22, 2013 in Snippets | No Comments

Do you use Zurb’s Foundation 3 Framework? Per chance, do you also use their Reveal.js Modal? OH OH! WAIT. Do you also want to show a Vimeo video, but are intensely annoyed when you close it and the player keeps playing? A client of mine was annoyed too and was wondering how to fix it. Well, thanks to Alettieri’s posts (github, jsfiddle), we were able to figure it out too. Be sure to include Vimeo’s Froogaloop API script for this to work.

Leaflet, Worldmaps, and GeoJSON

Posted by on Feb 22, 2013 in Resources | No Comments

Here are some things you’ll need when working with GeoJSON and Leaflet on OS X:

WooCommerce Sale Items pushed to beginning

Posted by on Jan 23, 2013 in Snippets | 2 Comments

Hey Everybody!

I promised I’d get a blog post out today, so here goes! Recently, I had a client project that required all sale items be pushed to the beginning of the products page. With a little bit of creative coding, and manipulating a few queries, I got it to work. Here we go:

Load More