Posts tagged Sinatra

This is a semi-active blog. Once I write a post, I usually never update them. If you will read through some of these and try to follow them, please do so at your own risk. Technology changes quickly. Established languages are not as cool as they used to be. Some tutorials written several years ago may no longer work and do not reflect present day best practices.

How to Use Brunch for Sinatra Projects

javascript brunch ruby sinatra

For months, I have been doing more Elixir and Phoenix work. I learned a lot and that's worth writing about later. Currently, Phoenix uses Brunch by default for asset management. In recent days, I needed to update some old Sinatra projects and I found Sprockets is outdated and a bit challenging to work with considering the speed. The Ruby community should probably accept that for most projects Sprockets is more of a problem than a solution. Why?

Continue reading »

Strip Tags off Rails

ruby sinatra

There are really small gotchas about Rails. Sometimes not testing everything can really drag you down. I think Rails is still one of the most sensible frameworks that exist. We should still rethink why we use Ruby on Rails for all cases when other frameworks were specifically designed to solve those problems in a better way. I'm referring to Meteor.js for Single Page Applications.

Continue reading »

Lean Software Development with Sinatra

ruby sinatra rails

The past few weeks have been unbelievably great. One of the reasons why is I attended the WebGeek PH 3rd Year Anniversay in Makati. It may be one of the last ones I'd attend this year. I could travel as far as Japan for the Ruby Conference or attend the next Geekcamp in Singapore. I've yet to decide.

Continue reading »

ActiveRecord Migrations for Sinatra

sinatra activerecord mysql orm

I have learned that Sequel ORM was simple and is the preferred ORM for Sinatra developers. But I feel so attached to ActiveRecord right now. Basically some of the gems I am using are actually extensions to ActiveRecord and I have grown to love these Ruby gems despite being ActiveRecord-centric. They wouldn't work with DataMapper or anything else.

Continue reading »

Hello, Sinatra

sinatra ruby rails philosohpy

My post earlier was about porting my blog to Adva CMS. It has a lot of really nice features that I don't need. I actually don't need translation feature for my blog. I don't even need Wordpress. And not even Rails for my purpose. I am venturing into Ruby development, not Rails development. After some digging on Github, I came across "Scanty," a very simple blog application that's nearly nothing. It's up to the developer to extend, hack and modify everything as needed. It was built on Sinatra Framework, yet a another framework for building Ruby apps. Sinatra does not have too many built-in helpers that come with Rails but it does have everything you need to build a web application. The RSpec framework (for Behaviour-driven development) for instance can still be used with Sinatra. RSpec is framework-agnostic and there are several ruby gems out there that are not Rails-centric.

Continue reading »

Hello! I am Kat. I've been a developer for several years. When I'm not sitting down, reading and working for long hours, I am traveling to some place of interest.
If you want to reach out, you can send me an email or add me up on Google Plus.