Building your own authentication library with Trailblazer

Автор: literator от 4-10-2021, 15:23, Коментариев: 0

Категория: КНИГИ » ПРОГРАММИРОВАНИЕ

Building your own authentication library with TrailblazerНазвание: Building your own authentication library with Trailblazer
Автор: Nick Sutterer
Издательство: Leanpub
Год: 2021-06-23
Язык: английский
Формат: pdf (true), mobi, epub
Размер: 10.27 MB

Authentication - the art of creating and locking accounts, of verifying users and encrypting or forgetting passwords. Step-wise this beginner's guide explores software design and abstractions in Trailblazer by building an authentication library in Rails. After this book, you're ready to lock out people with your own code.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.

Скачать Building your own authentication library with Trailblazer








Нашел ошибку? Есть жалоба? Жми!
Пожаловаться администрации
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.