New Year! New Year!

Jan 06

I Am About To Make A Brand New Start of It

My New Year’s resolution for 2010 is to complete a different Sinatra project every 2 months. I’ve decided to do these publicly in a blog by writing up each project in a step-by-step tutorial or cookbook style. I will also deploy each app to the web using Heroku and make the code publicly available on github.

The reason I’m doing it in public is to give me the motivation to keep it up, share my work (and hopefully help some people learn Sinatra) and also get some help and feedback from the blog comments.

This blog will be primarily aimed at people who are new to Sinatra, but hopefully by the end of the year there will be something for everybody.

I created this site using the brilliantly simple Scanty by Adam Wiggins, which of course uses Sinatra. It only took a couple of hours to get it up and running on Heroku and hacking the code has already helped me learn more about Sinatra and Ruby.

If I Can Make It There

At the end of the year there will hopefully be 6 fully functional apps with complete step-by-step guides of how to build them as well as code examples and lots of good discussions.

The style I will use is the ‘Recipe cookbook’ style used by the Rails Recipes books. I will differentiate between posts about projects which will be full apps and ‘snacks’ that are just little tips about how to do certain things in Sinatra. Examples of snacks might be ‘Deployment on Heroku’, ‘Using Shotgun’, ‘Uploading Files’, ‘Sending an Email’, ‘Using JavaScript Frameworks’ etc. Many of the snacks will most likely be implemented into some of the later projects.

If all goes to plan I’m going to be publishing the following posts over the next week:

  • What Is Sinatra?
  • Installing Sinatra
  • The First Project - A very simple first time app for beginners

After this I’ll move on to using Git for source code management and deployment on Heroku. Then I’ll leave things for a while for people to take things in and leave comments. A few snacks will be followed by the next project, which will be introduce databases using DataMapper.

Start Spreading The News

Please Let people know about this blog, especially anybody who is thinking of learning Sinatra for the first time.

I’d love to hear what you think of the site and the general idea. If you have any suggestions or ideas you can leave them as comments to this post. You can also propose and vote for any ideas for projects or snacks over at User Voice.

Any help that anybody can offer will be gratefully appreciated. Perhaps you would like to provide a snack? Or you could create a screencast of one of the tutorials? Or you could just help correct the many mistakes that I will no doubt make or provide any useful feedback.

You can follow me on twitter @daz4126. I’ll use the hashtag #ididitmyway whenever I tweet about this project. There is also an RSS feed.

Yes I’m sure that I might have bitten off more than I can chew. But I’ll eat it up and spit it out. And at the end of the year, at least I’ll be able to say … I Did It My Way!

blog comments powered by Disqus