Cuba microframework

Cuba is a Ruby microframework for web development.

From the guides:

Some Ruby frameworks can be bloated and offer functionality you don’t need. We’ll teach you how to use Cuba together with small and simple Ruby libraries to customize your stack. By applying this minimalist philosophy you achieve more flexibility, less complexity and maintainable code.

Anyone tried it yet? What do you think?

(CC// @RedFred7 and @tommasop)

I’m building a simple workflow management platform for a company I’m working for.
The platform will be the entry point for customers asking the company’s services.

I’m using:

  1. Cuba
  2. Ohm (for semi relational data modelling with Redis)
  3. Shield (for user authentication)
  4. Scrivener (for validations)
  5. Malone (for mail notifications)
  6. Micromachine (for workflow management)
  7. Dropzone.js and Dragonfly (for big files management)

Up to now the most amazing thing has been that everything has come out quickly and I’m also learning a lot about how lower level rack works.

Also online I’ve always found the right amount of code/examples to solve problems and reading the small gems source coda has always been the best way to solve things when other source of documentation was lacking.

The “hardest” part was finding how to separate routes concerns to avoid a route spaghetti and how to replicate the crud routes.

A very satisfying programming experience with a lot #lesscode to cope with.