They say the best way to learn something new is to jump headfirst; immerse yourself, fail early and fail often. Inspired by this post on 24 ways, I decided to forego tutorials for the week, opting instead to see what I’ve learned so far. I started two new projects: a type framework (front-end) and a URL shortener in Rails. Learning this way might feel less directed / more frustrating at first, but there’s a certain satisfaction in completing a project with (little to) no outside help. On the front-end: Grid frameworks like Bootstrap are fine and all, but I personally find the typography to be a bit generic. To that end, I’ve been working on an internal framework of sorts for easily testing typography for new sites. The project is called Typist, and it’s free to modify as suites your needs. It’s built using Sass for easy extendability via variables, mixins and the like, and uses GruntJS to compile CSS with a simple
grunt watch command in terminal. In addition to that, it has best practices for web typography (including rem support with a pixel fallback for older browsers). You can either use it to build your own type framework with the included Sass files, or just use the
index.html file, dropping in your stylesheet and see how the page is rendered. I believe having a styleguide of sorts for all new projects will help manage an evolving scope, and this project is the result of that belief. On Rails: a URL shortener seemed like a relatively easy and practical first project; it can be handy as part of a larger application for facilitating social sharing, and it doesn’t have a ton of moving parts. I previously built a simple one with Ruby and Sinatra, but wanted to try one in Rails so the option for extendability was there in the future (advanced analytics, user logins, etc). This is an ongoing project, and my first attempt at completing a non-directed project. In keeping with the Rails Way®, a focus on TDD and DRY concepts are important, especially for a non-directed approach by a semi-beginner. In keeping with the “fail early, fail often” mantra, there have been a couple of false starts, but once I got over the mindset of “It has to be perfect the first time,” work is moving a little faster. Other miscellany:This is a fantastic post about how web development was in the 90s. If you ever had gifs on your site that looked like the below, the points Zach talks about will probably resonate with you. Until next week!