You all remember parts of speech, right? Nouns, verbs, adjectives, pronouns, and so on from elementary school, right?

Well, some of you do.

javascript-iconThis came up during a discussion of object-based programming with JavaScript. I was searching for a way to best describe how the various parts of JavaScript can work together in a structured, maintainable manner. Rather than trying to explain MVC to junior devs, I came upon the idea of using parts of speech. In particular: Verbs, Nouns, and Adjectives.

Continue reading

I love using external JSON files for data configuration. Maybe it’s my old XML/XSL training, but there’s something solid about separating the content and presentation layers. That said, you need to set up your JSON in a clean and solid format to make it as future-proof as possible (we’ll cover that another day).

Continue reading

For whatever reason, Apple made a pretty big (and in my opinion, stupid) decision regarding their latest OS. The vertical scrollbars are, by default, hidden.

Now, this does not affect FireFox, but it does, however, affect Safari and Chrome. Since we cannot reasonably ask our users to change the settings in their OS, we can do a bit of CSS trickery to make them appear. Note: This will affect the appearence of your scrollbars on all webkit browsers, regardless of OS. The CSS below mimics the look and feel of the Mac OS, but you can tweak it to certain your needs.

Continue reading