Code Monkey home page Code Monkey logo

Comments (3)

wuarmin avatar wuarmin commented on June 16, 2024 1

Hanami offers great flexibility. I can't think of another Ruby app where I wouldn't use Hanami. Whether it's a web app or something else, it doesn't matter. It shines in every area. The performance is great and Hanami leads to a straightforward design.

You just have to start with it, then you will see how much fun it is to work with Hanami.

from hanami.

krzykamil avatar krzykamil commented on June 16, 2024

I haven't been using Hanami for long and I mostly started, cause I found myself using dry-rb libraries in all my professional projects whenever possible. Their mix of functional programming with ruby just always spoke to me. Hanami being based on those libs, just seemed like an obvious thing to try out for me.

It offers a lot of the same that Rails does (MVC), but with vastly different approaches. Same same, but different as they say.

So far what I really like about it, is it's focus on being explicit, specially when it comes to dependencies and providers. Sure, you can do something simliar in Rails, since RoR is surprisingly flexible too, but Hanami comes with that packaged. DDD is possible in Rails, but often not convienent. Hanami is better at enforcing certain code style, yet remains flexible in a lot of other spaces.

Yes it is slower to build even simple stuff in Hanami, compared to Rails, but to be honest, in web development it is almost impossible to compete with Rails in building stuff fast. It is too convenient. Hanami does not have that, but it does not try to compete with Rails. It offers a different set of tools altogether.

If you know elixir and phoenix, building stuff with Hanami is sort of a bridge between RoR and Phoenix. Learning elixir knowing just ruby is super hard. Learning elixir (and functional programming), knowing ruby while using dry-rb and hanami, comes more naturally (to me at least).

I haven't had a chance to work on a professional project in Hanami yet, but I do something in it in my pet projects most days of the week and see a lot of potential in it. Besides, it is just fun :)

from hanami.

timriley avatar timriley commented on June 16, 2024

@wuarmin and @krzykamil, thank you for responding here with your helpful words 😍

@rubyFeedback — this is the second vague and unactionable issue you've filed inside this repo. Please do not do this again; issues on GitHub are for specific software bugs only. If you'd like to ask questions and engage with the Hanami community, use our forum.

from hanami.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.