Recent Posts (Page 2)

Still Not Sure about AngularJS

Published on

I had originally planned to title this post “I’m Starting to Get Sold on AngularJS,” but a blog post I read the other day got me thinking again. In “Opinionated Rundown of JS Frameworks”, Henrik Joreteg from &yet gives some interesting critiques of Angular (as well as other JavaScript frameworks) that caused some of my old doubts to resurface. I still think Angular is a very cool framework, and I intend to continue experimenting with it, but I’m hesitant to treat it like the only serious player in the game, as so many developers seem to do already.

Read more

Lessons Learned from Creating an Open-Source Library

Published on

This past week I released a simple jQuery plugin on GitHub. It’s nothing special; in fact, I don’t imagine very many people ever needing it. But I learned quite a few valuable lessons during the development process—not just about writing jQuery plugins specifically, but about creating, developing, and releasing a software product and publishing its source code for all the world to see.

I’m not necessarily going to say anything groundbreaking here. You’ve probably heard many of them before. In fact, I already knew a lot of these things at least on an intellectual level, but there’s definitely something different about learning from real experience. I hope these little lessons I’ve learned will be helpful to some of you.

Read more

Battle of the Clouds: Koding vs. Codio

Published on

Photo of sunlight shining through clouds

Image from FreeNaturePictures.com

Today I’d like to talk about two different cloud IDEs that I’ve had the chance to use, Koding and Codio, and the pros and cons of each. I know that cloud IDEs aren’t really new at this point, and these two that I’m talking about certainly aren’t the only ones out there, but I’ve only recently gotten into this game. Hopefully my perspective will help you if you’re trying to decide on a cloud IDE to go with.

Spoiler: I prefer Codio and use it quite a bit. What you get for the price is great, and overall it seems faster and more polished than Koding.

Read more

The Obligatory Redesign Post

Published on

Hi. Yes, I’m still here. And check out my new design! It may not look like much, but it represents a big step for me.

You see, ever since I started this Octopress blog, I always had this nagging feeling that I should do something about the design. The default Octopress theme is nice, but nobody wants to stick with the default theme, right? It’s like how Twitter Bootstrap looks nice, but it’s so nice that for a while it seemed as if half of the Web were using it. You could spot a Bootstrap-based site immediately (still can, I suppose). And you could pin my blog as an Octopress blog immediately, too. Not that that was a bad thing, but I didn’t want this to get written off as “yet another Octopress blog.”

I wanted to create a new theme. Oh, I had big plans. I envisioned adapting one of the awesome templates by HTML5 Up, and eventually open-sourcing it so everyone could easily integrate it into their own Octopress blogs. But then some things started happening in the Octopress world that put me in stop-and-wait mode for quite a while.

Read more

Write Modular JavaScript That Works Anywhere with UMD

Published on

Have you ever used a JavaScript library that gives you more than one way to include it in your project? Take, for example, the Backbone localStorage adapter. The readme gives you two ways to put it into your project: including it through a separate script tag in your HTML, or loading it through RequireJS.

As a developer that is still learning to navigate the JavaScript landscape, I’ve wondered how libraries like that do it. The two methods of inclusion work entirely differently. When you include a library using a script tag, you’re usually creating global variables that other scripts can use. But one of the main benefits of using RequireJS is that it eliminates the need for global variables. How can the same resource be loaded in both ways?

After some digging, I learned that many of these projects use a pattern called the Universal Module Definition.

Read more