The advanced business logic framework

Trailblazer is an architectural style that provides a modern approach to implementing business logic.

Backed by a robust set of Ruby libraries, you implement what happens while Trailblazer orchestrates the control flow.

Trailblazer

The pattern

Let Us Take Care of the Flow Control!

Each function of your application is encapsulated into an activity. The activity (or "operation") structures and orchestrates the necessary steps using a modern workflow approach. Depending on the complexity of your function, a step can range from an ad-hoc Ruby method to another nested activity entirely.

Features

Framework agnostic

The Trailblazer gems work with any Ruby framework. We provide glue code for Rails and Hanami, but there are TRB-powered apps in Roda, Grape, Sinatra and many more out there.

Legacy ready

You can start using Trailblazer in existing, massive applications today. Refactorings can be applied step-wise, legacy code can be minimized as you go. Remember: Rome wasn’t build in one day, either.

It's real!

Trailblazer is in use in thousands of production applications. Our patterns have evolved over a decade of engineering, our gems are mature and battle-tested. And: we will never stop innovating.

Trailblazer

MADE FOR TEAMS

Now you know where to put your code

Convention Interfaces Trailblazer gives you a high-level architecture for web applications. It extends the basic MVC pattern with new abstractions. Rock-solid conventions that go far beyond database table naming or route paths let you focus on your application code, minimize bugs and improve the maintainability.

Trailblazer Trailblazer

Our tools

Editor

EDITOR helps visualizing existing and modelling complex business processes. Can be exported...

New developer tools such as tracing improve debugging, undestanding and can step-through an execution and track long-running processes.

About

Something important

Remember, fellas, the future is in your hands. If you believe in progress, re-elect Mayor Red Thomas, progress is his middle name. Mayor Red Thomas’s progress platform means more jobs, better education, bigger civic improvements, and lower taxes. On election day, cast your vote for a proven leader, re-elect Mayor Red Thomas… (A man throws a newspaper away and Marty picks it up and sees the date as November 5th, 1955.) This has gotta be a dream.

Code

Want some code?

CONTROLLER They end up as lean HTTP endpoints. No business logic is to be found in the controller, they instantly delegate to their respective operation.

Oh, and did we say there won’t be controller tests anymore? That’s right. Only unit and integration tests.


class Application::Policy < Pundit::Policy
    def create?
        user.can_create?(model)
     end
end

Pricing

Free

  • This is a free feature.
  • This is another free feature.
  • This is not a free feature.
  • This is also not a free feature.
  • This is definitely not a free feature.

Premium

  • This is a feature.
  • Hey! This is also a feature!
  • This feature is also included.
  • Come on, guys! This is the premium pack.
  • This too.

Go premium

Uh, look me up when you get there. Indeed I will, roll em. I, Doctor Emmett Brown, am about to embark on an historic journey. What have I been thinking of? I almost forgot to bring some extra plutonium. How did I ever expect to get back? One pallet one trip I must be out of my mind. (Einstein begins to whine) What is it Einy? (Spots the Libyans in their van) Oh my god, they found me, I don’t know how but they found me. Run for it, Marty. Who, who? Who do you think, (points) the Libyans. Holy shit.

Our Team

  • PETER
    VENKMAN

    Born and raised in Brooklyn, New York, Peter Venkman is one of three doctors of parapsychology on the Ghostbusters team. He holds Ph.D.s in both parapsychology and psychology.

  • RAY
    STANTZ

    Born and raised in Brooklyn, New York, Peter Venkman is one of three doctors of parapsychology on the Ghostbusters team. He holds Ph.D.s in both parapsychology and psychology.

  • EGON
    SPENGLER

    Born and raised in Brooklyn, New York, Peter Venkman is one of three doctors of parapsychology on the Ghostbusters team. He holds Ph.D.s in both parapsychology and psychology.

  • PETER
    VENKMAN

    Born and raised in Brooklyn, New York, Peter Venkman is one of three doctors of parapsychology on the Ghostbusters team. He holds Ph.D.s in both parapsychology and psychology.

HAPPY PEOPLE WHO USES TRAILBLAZER

DR. IAN MALCOM

MATHEMATICIAN SPECIALIZED IN “CHAOS THEORY”

I’ll tell you the problem with the scientific power that you’re using here: it didn’t require any discipline to attain it. You read what others had done and you took the next step. You didn’t earn the knowledge for yourselves, so you don’t take any responsibility for it. You stood on the shoulders of geniuses to accomplish something as fast as you could and before you even knew what you had you patented it and packaged it and slapped it on a plastic lunchbox, and now you’re selling it.

HAPPY PEOPLE WHO USES TRAILBLAZER

DR. IAN MALCOM

MATHEMATICIAN SPECIALIZED IN “CHAOS THEORY”

I’ll tell you the problem with the scientific power that you’re using here: it didn’t require any discipline to attain it. You read what others had done and you took the next step. You didn’t earn the knowledge for yourselves, so you don’t take any responsibility for it. You stood on the shoulders of geniuses to accomplish something as fast as you could and before you even knew what you had you patented it and packaged it and slapped it on a plastic lunchbox, and now you’re selling it.

Hello hello early birds

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque ac ligula convallis, mollis velit eu, porta odio. Proin nibh ipsum, bibendum eu auctor volutpat, consectetur vitae erat. Duis condimentum dapibus hendrerit.