Posts tagged Sinatra

Apr 19 2010

Sinatra Gems and Frameworks You Should Know About

Ruby Sinatra Gems | comments

Padrino

The godfather of Sinatra. Those who like Rails will probably want to start with Padrino rather than just bare-bones Sinatra DSL. Check out the blog tutorial.

Continue reading »
Feb 19 2010

ActiveRecord Migrations for Sinatra

Sinatra ActiveRecord MYSQL ORM | comments

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 »
Nov 08 2009

Capistrano Task For Loading Production Data Into Your Development Database

Capistrano Drupal Sinatra Ruby | comments

Great Sunday. I just finished backing up data of two of my sites. This blog site of mine is using Sinatra DSL which is an alternative to Ruby on Rails framework. Another site of mine runs in Drupal 6. I was able to successfully local production database for both without using PHPMYADMIN. It's all done via command line. For me, it was a time-saver.

Continue reading »
Aug 16 2009

Hello, Sinatra

Sinatra Ruby Rails Philosohpy | comments

Hello, Sinatra

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 »