Want to stay on top? Ruby Weekly is a once-weekly e-mail newsletter covering the latest Ruby and Rails news.
     Feed Icon

Monk: A Ruby Glue-Framework for Web Development

By Ric Roberts / August 14, 2009

monkI recently came across the interesting-looking Monk framework. It allows you to specify a list of dependencies for technologies to use in your project (in the form of git repositories or gems), and it will take care of extracting them into your application's vendor folder.

With the default skeleton (for which you'll need a Redis key/value database installed), you'll get a Sinatra application with Haml, Rack, Contest, Stories, Webrat and Ohm. However, you can create your own skeleton with its own dependencies if you like.

You can install Monk with:

gem install monk

... and then initialize a project with the default skeleton:

monk init myapp

This will give you a familiar structure with helpers, models, routes, views, lib and vendor folders.

For more details, check out the Monk website.

Comments

  1. bryanl says:

    This article seems to be another in a growing trend of articles about nothing. I would love some more meaty content.

  2. Peter Cooper says:

    Bryan: Can you think of anything from our past that's the sort of thing you'd like to see going forward? Ruby Inside tends to be nearly all news and linking to other people's cool stuff - not about original content - but perhaps there's a middle ground we could strike.

  3. Ric says:

    I just about to say something similar, Peter. Bryan (and anyone else): please let us know what sort of stuff you'd like to see. :)

  4. bryanl says:

    You know I really like the posts where you summarized a huge amount of links. http://www.rubyinside.com/irb-lets-bone-up-on-the-interactive-ruby-shell-1771.html Is a good example.

  5. onesupercoder says:

    Hey I think this site has quality information about ruby and it's amazing gems. You rock Ruby Inside!

  6. Quitcher Bitchin says:

    A little bit more depth on Monk might be nice, but saying this is an article about nothing is absurd. It's all the more weird that you'd make a complaint like that when you just wrote this:
    http://smartic.us/2009/08/15/back-from-summer-vacation/

  7. Peter Cooper says:

    To be fair, that's his personal blog :)

  8. Hubert Łępicki says:

    Well, this looks nice. As a general note, I think Sinatra is great. I didn't use it that much, but it proved me to be useful for creating web services. You know, tiny controllers, big models, or filesystem stuff. I am still not cnvinced to use it for projects with heavy GUI requirements, maybe I need to dig into it a bit more, but well-structured code of Rails app makes me a bit more happy.

    As it comes to Ruby Inside -- I am obsevring lack of interesting articles recenlty too. In Poland we say it's "cucumber season", which means it's summer holiday and all the newspapers/tv/blogs tend to cover shit stories. I hope this is the case and Ruby community is still growing and doing well.

    Hope to see more things happening in Ruby world since September!

  9. q says:

    The nice thing about Sinatra is your code is as well-structured as you choose to make it (and Monk seems to add the option of using someone else's structure if you prefer).

    And if we're talking about the _internal_ structure of Sinatra's code then there's no comparison. ;)

  10. Steve Roger says:

    Hi Roberts..I have gone through the monk frame work.really it has a great flexibility to specify the dependencies..Nice article

Other Posts to Enjoy

Twitter Mentions