Interactive by Nature

Apr 04, 2013

Whatever!

We want the sex and not the kids. We want the check and not the job. Most of all we want the blessing but don’t answer to God. Got a closet full of clothes and empty bank accounts. If you need a handout, we got nothing; we bounce!

So, we do whatever, eat whatever, smoke whatever, f*** whoever, wear whatever, shake whatever, sell whatever, it’s now or never.

If Grandma and Grandpa saw how we behaved, they would probably spin around like yo-yo’s in their grave.

~Brother Ali

Listen to Whatever by Brother Ali.

No Comments »

Mar 31, 2013

Mobile App Training By Apigee

Last Friday I attended a free mobile app training session with Apigee. We used jQuery Mobile combined with PhoneGap to produce a rich native mobile application. The training session was led up by Tim Anglade, Head of Developer Programs & Evangelism at Apigee. Tim has an impressive resume and is completely comfortable speaking in front of a crowd.

jQuery Mobile

The first half of the morning was spent introducing jQuery Mobile followed up by a crash-course in using the mobile web UI framework. Tim also introduced a drag-and-drop WYSIWYG called Codiqa to keep things moving for those unfamiliar with jQuery Mobile. Codiqa is great because you can use it as a prototyping tool and share designs with clients and/or collaborators. Having used jQuery Mobile since it’s first alpha release, I chose to open up TextMate and go to town.

Read the rest of this entry »

No Comments »

Feb 14, 2013

On Dating With Children

As a single father, I’m starting to realize how difficult it is to date with children. One thing that makes this even more challenging, is that I prefer to date women without children. Call me double-standard, but I know what I want.

I haven’t done a whole lot of dating since the divorce and have only brought 2 women around my boys in an attempt to get serious and take it to the next level. Both of them broke it off with me because of my youngest sons all-of-a-suden manipulative behavior. He would do things like ask my girlfriend to help him hang up pictures in his room, but when she would look to see what the pictures were, they were of me, the boys and my ex-wife all happy together. Another time he randomly walked up to her and handed her a VHS tape and said “Look! It’s my mom and dads wedding video”. His signature move was to go to his room and cry as loud as he could while I had her over.

How do you react when it’s so obvious that he doesn’t want you around? I don’t blame either one of them for bailing on me. Both of them have never dated a man with children before, so I’m sure this left a bad taste in their mouth about dating men with “baggage”. My oldest son seems to be okay with whatever I do. When asked how he feels about me dating, he said “I just want you to be happy dad”.

Read the rest of this entry »

No Comments »

Feb 13, 2013

How To Embed A Tweet

I read a lot of blogs and often see an embedded tweet and think… how did they do that? Well, I figured it out and I’m going to share this simple process with you. It’s literally just a matter copying a little HTML and pasting it in your blog or web page. If you don’t know what I’m talking about, the embedded tweet looks like this:

This is great because the embedded tweet comes fully equip with Reply, Retweet and Favorite options. It also gives you the option to follow the person that owns the embedded tweet. Any images posted in the tweet will display as well. It’s basically the fully featured tweet that you would see on Twitter or other Twitter applications like TweetDeck.

Read the rest of this entry »

No Comments »

Jan 24, 2013

301 Redirect Entire Directory

Last nite I was up super late moving my blog from /blog/wordpress/ to root/. It was quite the process, but I survived. One of my main worries is that Google has indexed all of my posts and some have been bookmarked by visitors. Instead of those users and Google indexed links being SOL, I needed a way to redirect all users using the old links to the new directory, the root/. Instead of doing a 301 Redirect on each post, I came up with the the following solution.

Add this snippet to your .htaccess file:

RewriteEngine On
RewriteBase / 
RewriteRule ^blog/wordpress/(.*)$ /$1 [R=301,L]

At a high level, when a URL entering my blog contains /blog/wordpress/, it get’s redirected to root/. The $1 takes everything that was after /blog/wordpress/ and adds it to the end of the new URL (root/).

For example:

http://www.interactivebynature.net/blog/wordpress/2011.09.21.breaking-development-in-nashville now becomes http://www.interactivebynature.net/2011.09.21.breaking-development-in-nashville.

You can test it out here:

http://www.interactivebynature.net/blog/wordpress/2011.09.21.breaking-development-in-nashville

How do you handle directory redirects? Let me know in the comments!

No Comments »

Jan 07, 2013

DenverJS

DenverJS

This month I attended a new meetup called DenverJS that focuses on, you probably guessed it, JavaScript. Being a client-side programmer in Denver, I’m really excited about this one! In this post, I want to briefly review the 2013 kickoff session at Galvanize.

What about DenverJS?

Straight from their meetup profile:

Focused on developing the Javascript community along the Front Range! We welcome any and all interested in Javascript and related technologies. We will be weighted towards node.js and server-side topics to balance out the already awesome Denver HTML5 group.

Read the rest of this entry »

No Comments »

Dec 12, 2012

AJAX without jQuery

I like to post about problems that I solve so that I can refer back to if I ever encounter the same problem in the future. This time I needed to make an AJAX request without using jQuery. I’ll be honest… I’ve ALWAYS used jQuery for AJAX. Why wouldn’t you? It’s so easy, plus if you’re already using jQuery, it’s more efficient. I didn’t know where to start, but after some research, I came up with the following:

$('#container').on('tap', '#element', function(event) {
	
    //GET URL FROM TAPPED ELEMENT
    var requestURL = $(this).attr('href');
		
    var xmlhttp = null;
    
    if (window.XMLHttpRequest) {
        //IE7+, Firefox, Chrome, Opera, Safari
	xmlhttp = new XMLHttpRequest();
    }
		
    xmlhttp.open('GET',requestURL,true);
    //XMLHttpRequest - I GUARANTEE IT!
    xmlhttp.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); 
    xmlhttp.send(null);

    xmlhttp.onreadystatechange = function() {
	if (xmlhttp.readyState==4 && xmlhttp.status==200) {		
	    document.getElementById('container').innerHTML=xmlhttp.responseText;

	}
    }

    //PREVENT DEFAULT BUTTON BEHAVIOR
    event.preventDefault();
	
});

As you can probably see, I AM indeed using jQuery for the tap event and URL gathering. The jQuery version that this post references is v1.7.1. using the .on() method; the rest is old school javascript. Let’s break it down!

Read the rest of this entry »

No Comments »

Nov 28, 2012

Future of Web Design NYC 2012

Last month I attended Future of Web Design NYC. The conference topics included everything from The Future of UX and The Future of CSS3 Layout to Typography Best Practices and Culture as a Factor in Digital Design. Some of the speakers were well known, such as Karen McGrane and Chris Coyier, while others were what they were calling “Rising Stars”. Each Rising Star Session that I attended was more than what I would expect from a so-called amateur speaker.

Rising Star - Senongo

Rising Star – Senongo Akpem

One of the highlights of the conference was visiting with Denise Jacobs. This woman is amazing and has great stories to tell. We ended up talking for about an hour and a half, but it felt like 30 minutes. I saw her speak in San Francisco in 2009 and have been following her ever since, so it was a real treat to visit with her one-on-one.

Read the rest of this entry »

No Comments »

Oct 30, 2012

Prototyping With HTML5 localStorage

Prototypes are good for helping clients understand functionality in their application. Prototypes are also really good for usability testing the flows and functionality. Often when conducting usability tests, we tell the test subject that it’s a prototype and to pay no attention to the details as they may not be accurate. A good example of this is a details page. Let’s say you have a list of locations in a location finder application (figure 1). In the prototype you only have one static details page with only one of the locations. Wouldn’t it be nice if the details page information matched the item the test subject selects from the list? localStorage can help you with that!

Skatepark list

figure 1

Read the rest of this entry »

No Comments »

Sep 03, 2012

Labor Day Bar-B-Que

Today, Labor Day 2012, Diego, Chayo and I went out to have some Labor Day fun at a friends house. When we returned home, we sat in our living room to watch a little TV before putting them to bed. We heard sirens in the neighborhood, but assumed they were going to the apartment complex a couple blocks away like they always do. Not even 5 seconds later I looked out the back window because it looked like daytime back there. I saw the neighbors house on fire. I couldn’t tell it was just the garage at first because the flames were so high. This went down at approximately 10PM. I ran to the back yard and got my phone out and captured the following video.

Read the rest of this entry »

1 Comment »

« Older Entries
Newer Entries »