It was time. A rewrite for this site was due since last year. So, I decided to do something about it this weekend.
We were using Jekyll on our old version, and it was great! until it became too slow to compile once we reached around 60 posts and it was a bit frustrating, discouraging us from blogging.
As we did with the old version, the code for this blog is open sourced. You will find it on its github page.
I know, even that there is probably a thousand blog services / gems / templates out there to set up a blog immediately, but, there was a couple of things I wanted to learn so, I decided to code it myself.
Well, yes. I know this is the example by choice when someone is trying to learn Rails, but I still wanted to open source it for the following reasons.
Maybe someone needs to take a look at how I implemented the post CRUD using Backbone.
Or take a look at how I used Devise with Google Apps login so only people with a @crowdint.com email account can access the backend.
I am, by no means, an expert of what I just described. So, it is important for me that someone else takes a look at the code and let me know how to improve it.
Example, I know there's not enough tests in the code. I suck because I couldn't do follow the TATFT philosophy that I follow on "real life" applications. I lie to myself and think that it was because I really didn't know what I was doing, but, its still a lie. Promise to make up for that soon.
There's obviously still a lot to do, I would like to see a better post editor. I love Markdown, I want to try and find a JS WYSIWYG plugin that supports it. I would also love to move the backend to a Rails Engine so its more reusable. I'll work on all these items as time permits.
So, there you go. Yet another Backbone, Twitter Bootstrap, Devise, Slim, Rails 3.2 sample application.
Hope browsing through this code helps you learn something. Hope browsing through this code encourages to teach me something.
Issues and Pull requests are more than welcome.