Welcome back to Ruby Metaprogramming! In part one we looked at what Metaprogramming is and how it works; we explored deep into the internals of Ruby’s method lookup system and walked through how creating Singleton Classes fits into that mechanism. Now for the good part: applying it all. Mocking objects […]
Tips n Tricks
When I was in the web business, there was a magic number I kept bumping into. That number was 500. No, it wasn’t the number of clients I had, or how much I charged per hour, or how many hours a week I worked. It was how much money most […]
Last week I gave you a few tips on getting control of your desktop and your to-do list. This week, I’ll show you some ways to manage tasks that have more than one step, affectionately known as “projects.” Task or Project? It’s important to distinguish between a task and a […]
By Jason Beaird 27th Aug 2011 Layout Inspiration 3 If you’re feeling so overwhelmed by the many resources available that even to contemplate starting a morgue file for inspiration is beyond you, take a few minutes to browse through those sites. Look past the colors and textures to the boxes […]
I realize few of you will want to celebrate, but IE6 is ten years old today. I’m sure the original developers never thought it would reach double figures when the final version was released on August 27, 2001. Ten years is an astonishing achievement for any piece of software — […]
Episode 127 of The SitePoint Podcast is now available! This week our regular interview host Louis Simoneau (@rssaddict) interviews Chris Coyier (@chriscoyier) who works for Wufoo and runs the website CSS-Tricks.com. Listen in Your Browser Play this episode directly in your browser — just click the orange “play” button below: Download […]
It’s been a busy week. We’ve discovered how the new HTML5 APIs can help us open, read and upload files which the user dragged and dropped into the browser window. This article summarizes the techniques and the current level of browser support. HTML5 API Support Your JavaScript code should check […]
In its own words “Breaking Development focuses on new, emerging techniques for web development and design for mobile devices”. I would say that Breaking Development is an emerging conference offering an interstellar lineup of speakers with an intimate atmosphere, capped at just 250 lucky attendees. Their next event is being […]
Have you ever wondered what it meant to “mixin” functionality into your classes? Have you seen include and extend used in Ruby code and wondered what was going on? If so, then you’ve come to the right place. Mixins can offer a lot of flexibility to your code and by […]