Layered Design for Ruby on Rails Applications

Layered Design for Ruby on Rails Applications

eBook Details:

  • Paperback: 298 pages
  • Publisher: WOW! eBook (August 30, 2023)
  • Language: English
  • ISBN-10: 1801813787
  • ISBN-13: 978-1801813785

eBook Description:

Layered Design for Ruby on Rails Applications: Transition from the traditional Rails model-view-controller trio to an abstraction model and let your application codebase evolve with synchronized components, boosting flexibility and maintainability

Ruby on Rails is an open-source framework for building web applications from scratch while focusing on productivity, leveraging the power of the convention-over-configuration principle, and the well-defined model-view-controller pattern, assisting the developers in building useful features. However, this initial simplicity often leads to uncontrollable complexity turning the well-structured codebase into a hardly maintainable mess. This book aims to help you keep the code maintainable while working on a Rails application.

You’ll start by exploring the framework capabilities and principles, allowing you to reap the full potential of Rails. Then, you’ll tackle many common design problems by discovering useful patterns and abstraction layers. By implementing abstraction and dividing the application into manageable modules, you’ll be able to concentrate on specific parts of the app development without getting overwhelmed by the entire codebase. This strategy also encourages code reuse, simplifying the process of adding new features and enhancing the application’s capabilities. Additionally, you’ll explore further steps in scaling Rails codebase, such as service extractions.

  • Discover Rails’ core components and its request/response cycle
  • Understand Rails’ convention-over-configuration principle and its impact on development
  • Explore patterns for flexibility, extensibility, and testability in Rails
  • Identify and address Rails’ anti-patterns for cleaner code
  • Implement design patterns for handling bloated models and messy views
  • Expand from mailers to multi-channel notification deliveries
  • Explore different authorization models and layers
  • Use a class-based approach to configuration in Rails

By the end of this Layered Design for Ruby on Rails Applications book, you’ll be a code design specialist with a deep understanding of the Rails framework principles.

Elderly Foldable Walking Chair Stick

DOWNLOAD

Leave a Reply

Your email address will not be published. Required fields are marked *