Comments (3)
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.
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.
@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)
- 2.1 RC1 - bundler: command not found: hanami on Heroku deploy HOT 22
- lib/tasks/ not installed
- "no implicit conversion of Symbol into String" error when using `format :json` on fresh install of Hanami 2.1 HOT 1
- Custom body parser issue
- [Documentation] FAQ + small snippets collection HOT 1
- Raise helpful error from db provider if the necessary database driver gem is missing
- Add db:migrate rake task
- Expand configurability of db provider
- Register ROM commands and mappers from db/ directory
- Share DB connections between per-slice ROM containers using the same database URL
- Per-slice independent ROM setups
- Multiple slices sharing app-level ROM setup
- Automatically adjust database URL in test mode HOT 3
- Custom MIME types are not working HOT 7
- Add `Slice.source_dir` method
- Add `Slice.app?` method
- Set ROM inflector be the same as the Hanami app inflector HOT 2
- Slice ROM setup with slice-specific database
- Expand default set of Sequel extensions HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hanami.