Email the Author

You can use this page to email Nick Sutterer about Building your own authentication library with Trailblazer.

Please include an email address so the author can respond to your query

This message will be sent to Nick Sutterer

This site is protected by reCAPTCHA and the Google  Privacy Policy and  Terms of Service apply.

About the Book

A beginner's guide taking you by the hand and walking you through Trailblazer's beautiful operation layer. While building a Ruby authentication library similar to Devise you are going to learn organizing and structuring business code, how operations help concentrating on what needs to be done, not when, and how Trailblazer's components can be connected to build full-blown web applications within Rails.

VERY IMPORTANT DISCLAIMER: This book has learnt from the mistakes in the old book and follows a strict no-gossip policy. It was hard, yet not unmakeable, to limit word flow to a minimum. The first diagram is on page 3, the first code snippet you will find on page 7.

It is suitable for all levels of Ruby developers, from a beginner trying to find their ways to experienced Trailblazer engineers trying to find better ways.

Structure

In part I of the book, we solely focus on business code. No rendering, no HTTP, it's pure software design where we implement authentication functions like Create account and workflows such as Reset password or Verify account. We do this with a strong focus on testing and have several refactorings happening along the way. By the end of this part you will know all patterns and tools necessary to build applications with Trailblazer.

Part II implements the frontend and discusses how view components from the Cells gem help with rendering UIs and why the Reform gem can be your best friend (or your worst enemy!) when dealing with forms. The part also covers a new abstraction endpoint from the Trailblazer framework, designed to manage non-business code that would usually sit in controllers.

Part III and IV will be a separate book, covering how to extract and gemify the actual Ruby library and how Trailblazer's new workflows make long-running flow control even simpler.


About the Author

Nick Sutterer’s avatar Nick Sutterer

@apotonick

Nick loves working on open-source frameworks, and that's what he does almost every day. He also loves people, surfing, beer, skateboarding and loud music. Make sure to hug him should you ever meet him in person.

Logo white 96 67 2x

Publish Early, Publish Often

  • Path
  • There are many paths, but the one you're on right now on Leanpub is:
  • Buildalib › Email Author › New
    • READERS
    • Newsletters
    • Weekly Sale
    • Monthly Sale
    • Store
    • Home
    • Redeem a Token
    • Search
    • Support
    • Leanpub FAQ
    • Leanpub Author FAQ
    • Search our Help Center
    • How to Contact Us
    • FRONTMATTER PODCAST
    • Featured Episode
    • Episode List
    • MEMBERSHIPS
    • Reader Memberships
    • Department Reader Memberships
    • Author Memberships
    • Your Membership
    • COMPANY
    • About
    • About Leanpub
    • Blog
    • Contact
    • Press
    • Essays
    • AI Services
    • Imagine a world...
    • Manifesto
    • More
    • Partner Program
    • Causes
    • Accessibility
    • AUTHORS
    • Write and Publish on Leanpub
    • Create a Book
    • Create a Bundle
    • Create a Course
    • Create a Track
    • Testimonials
    • Why Leanpub
    • Services
    • TranslateAI
    • TranslateWord
    • TranslateEPUB
    • PublishWord
    • Publish on Amazon
    • CourseAI
    • GlobalAuthor
    • Marketing Packages
    • IndexAI
    • Author Newsletter
    • The Leanpub Author Update
    • Author Support
    • Author Help Center
    • Leanpub Authors Forum
    • The Leanpub Manual
    • Supported Languages
    • The LFM Manual
    • Markua Manual
    • API Docs
    • Organizations
    • Learn More
    • Sign Up
    • LEGAL
    • Terms of Service
    • Copyright Policy
    • Privacy Policy
    • Refund Policy

*   *   *

Leanpub is copyright © 2010-2025 Ruboss Technology Corp.
All rights reserved.

This site is protected by reCAPTCHA
and the Google  Privacy Policy and  Terms of Service apply.

Leanpub requires cookies in order to provide you the best experience. Dismiss