Archive for the ‘Open source’ Category

Amtrak series: Ruby on Rails on Rails

Thursday, June 7th, 2007

This will be the most technical of my posts in the Amtrak series, but it’s not just for computer geeks so stay with me. Here we go.

Ruby on Rails is a “web application framework”, a way for programmers to make web applications more easily and more quickly (and more enjoyably, as its creators would be quick to point out.) It was created by 37signals, the makers of Basecamp and other fine web apps, and has been one of the fastest growing programming environments of the last couple years. “Ruby” is the programming language and “Rails” is the set of additions that make it “fast” and “easy,” like a high-speed train. (Not a sight-seeing Amtrak.)

img_0088.jpg

You probably see where this is going. As an exercise in literalness, I though it would be interesting to do a little Ruby on Rails programming while on the train, or in other words, Ruby on Rails on Rails. (Mitch Hedberg said “I’d like to see a forklift lift a crate of forks. It’d be so…literal. ‘Hey, you’re using that machine for its exact purpose!’”) See the pictures.

I have not delved into Rails as much as my local colleagues, but with the little I’ve used it, I’ve been impressed. By taking away the tedious parts of programming, it really does make programming more enjoyable. I know several good developers who prefer it.

Ruby on Rails enforces an architecture called “Model-View-Controller” (MVC), which is used heavily in Mac applications and well written web applications. Though not built on Rails, WordPress also uses an MVC architecture. If you have a WordPress blog, you know you can easily change the theme of your blog. This is thanks to the modular MVC architecture with which it was written.

img_0096.jpg

Here’s where this applies to everyone: 37signals hasn’t only extracted Rails from their best programming practices, they’ve also extracted a book from their best business practices. I highly recommend Getting Real by 37signals, availably entirely for free on their website. They’ve given away their “cookbook” — what they’ve learned about marketing, project management, time management, hiring, agility, task prioritization, and more. I finished the book believing that small teams can do great things.

New version of Seth Godin WordPress plugin

Tuesday, May 15th, 2007

Five months ago I created a WordPress plugin to implement a marketing principle taught by Seth Godin. He said good marketers “treat returning visitors differently than newbies”. The plugin has been one of the most popular features on my blog.

Today I upgraded the plugin to version 1.3, adding a feature that allows the welcome message to be displayed permanently if desired.

For more information, read about the What Would Seth Godin Do plugin for WordPress.

Berkeley Course on Open Source

Thursday, November 16th, 2006

If you’d like to learn more about “open source software” — what it is and how it fits into society — Berkeley has a new course entitled Open Source Development and Distribution of Digital Information: Technical, Economic, Social, and Legal Perspectives. Course lectures are available online as a podcast.

I think these will be great lectures to follow. Downloading now…

Via: OpenContent.org