Hanami 2.2-beta2 is relased, which finally becomes a complete, fullstack framework. Let's make a blog in Hanami taking a closer look at its basic features.
HN user
hanamimastery
Working with templates is a hard job and eliminating the logic out of them is absolutely not trivial. In this episode we'll use Hanami tools to implement advanced forms - without logic leaking to them.
A new Episode had been released for Hanami Mastery!
This time I show how to render flash messages in Hanami 2.1+ using different levels of advancement! Check it out!
Probably any web app nowadays requires font icons to be loaded this or other way. In this episode, I'm showing the integration of Font Awesome icons in Hanami 2 applications.
A new Hanami Mastery episode had been released! This time we cover sending emails with Hanami, using hanami-mailer. hanami-mailer is not yet updated to work seemlessly with Hanami 2, but we've decided to integrate it to show the power of providers, which give you a full control over the component loading mechanisms.
But what do You use to send emails in ruby, except action-mailer ?
With the release of Hanami 2.1, the view layer is fully integrated with our Hanami applications. Let's check how to make use of a form helper to send a contact email.
I had a lot of fun trying out Bridgetown static site generator, and I've decided to do a video showcase of it. I hope you'll find it useful.
What do you think about Bridgetown vs other static site generators?
If you want to work with front_matter in Ruby, you need to know the front_matter_parser gem. Here is everything you need.
Learn how to quickly deploy Hanami apps to production-ready server, using Render hosting provider, the best replacement for Heroku right now.
I always liked rails templating collections that allowed us to quickly compose ruby apps. Now the same is possible for Hanami!
Have you ever considered how to efficiently render HTML out of your markdown input in ruby? Here we cover this problem with additional custom cosmetic improvements.
Hi, we have shared our thoughts around different approaches of producing screencasts, and why we choose the one on Hanami Mastery.
I hope it will be useful for some of you and I am super curious about other approaches you have heard about!
Me!
I solely use Hanami since 1.5 year, and I had never looked back!
It provides everything needed, while still allowing to fully control which features I want to disable.
Utility scripts in Ruby can be very powerful, but also very messy. In this episode I showcase dry-cli, to help you maintain advanced ruby CLI programs.
Wondering, what is your approach to this?
A revolution in writing scalable applications in ruby, with selective code loading, and modularized apps, come with Hanami 2.0 and the slices feature! Check it out!
I've released a video and article related to handling errors in Hanami apps. What would be your approach to deal with them?
Upgrading gem versions can lead to introducing bugs in your system, by bumping some versions too much at once. Use tools like Pessimize to avoid such things to ever happen! In this episode We're explaining how and why it's important. Any thoughts?
Similar to what rodauth did, or active-admin - extracting mountable, shareable and reusable parts of your app to a separate thing.
Contributions to Hanami components would be appreciated for sure! There is a whole persistence and views integration to be done fir 2.1 release! The core team will not rest for too long after 2.0 being out :D
I agree! My rails applications became way more maintainable since I started being interested in DRY and Hanami:)
Hanami aims to be a complete Ruby framework, allowing you to write web apps, but also gems, and non-web ruby applications. Hanami 2.0 only ships for API focus, but in next minor versions this is going to be extended. I see it as a direct alrernative to Rails for anyone who would like to try different style of programming while still using Ruby.
Hanami 2.0 is almost completely rewrite in it's core from 1.3, and it took over 3 years. I could not imagine companies relying on owned frameworks - maintaining it, documenting it, educating people to work with them - it's just too expensive.
I am working on upgrading a few big services from Hanami 1.3 -> 2.0 at the moment. feel free to reach out if you will need some help.
Do you validate pagination parameters? Or filter params? In this episode I'm showing the possible use case for doing exactly that using built-in ROM pagination support and dry-schema.
If you have experience testing ruby applications, I'm sure you've heard about FactoryBot. Here I show you the alternative, suited for ROM-based applications, including Hanami 2.
Learn how to integrate the best ORM in Ruby ecosystem with Hanami (and any Ruby) application!
Hanami 2.0 comes without the persistence layer nor views preconfigured. It is useful then to know how to set up the best ORM available in the Ruby ecosystem.
While this episode showcases the Hanami integration, you can apply these tips to any application you'll ever write.
Sidekiq is probably the most known background processing engine for Ruby projects. In this episode, I’ll show you how to integrate it into Hanami applications!
Even if you’re unfamiliar with Hanami, this guide helps with integrating with ANY Ruby project!
Check out our new Hanami Mastery episode!
A sitemap is one of the core features for any web application, to make sure your site is indexed properly. Here is how to generate sitemaps in Hanami applications using the sitemap_generator gem!
Master the simplecov gem minimizing false positives in your test coverage reports.
Do you know any other tips that could be applied here?