HN user

hanamimastery

10 karma
Posts5
Comments47
View on HN
[dead] 2 years ago

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.

[dead] 2 years ago

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.

[dead] 3 years ago

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!

[dead] 3 years ago

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.

[dead] 3 years ago

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 ?

[dead] 3 years ago

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.

[dead] 3 years ago

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?

[dead] 3 years ago

If you want to work with front_matter in Ruby, you need to know the front_matter_parser gem. Here is everything you need.

[dead] 3 years ago

Learn how to quickly deploy Hanami apps to production-ready server, using Render hosting provider, the best replacement for Heroku right now.

[dead] 3 years ago

I always liked rails templating collections that allowed us to quickly compose ruby apps. Now the same is possible for Hanami!

[dead] 3 years ago

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!

[dead] 4 years ago

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?

[dead] 4 years ago

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!

[dead] 4 years ago

I've released a video and article related to handling errors in Hanami apps. What would be your approach to deal with them?

[dead] 4 years ago

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?

Hanami 2.0 4 years ago

Similar to what rodauth did, or active-admin - extracting mountable, shareable and reusable parts of your app to a separate thing.

Hanami 2.0 4 years ago

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

Hanami 2.0 4 years ago

I agree! My rails applications became way more maintainable since I started being interested in DRY and Hanami:)

Hanami 2.0 4 years ago

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 4 years ago

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.

Hanami 2.0 4 years ago

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.

[dead] 4 years ago

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.

[dead] 4 years ago

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.

[dead] 4 years ago

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.

[dead] 4 years ago

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!

[dead] 4 years ago

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!

[dead] 4 years ago

Master the simplecov gem minimizing false positives in your test coverage reports.

Do you know any other tips that could be applied here?