LAYERED DESIGN FOR RUBY ON RAILS APPLICATIONS discover practical design patterns for maintainable web applications

Whether you've recently launched your first Rails minimum viable product or are struggling to progress with a sizable monolithic application, this book is here to help. A deep understanding of core Rails principles is a must. Some experience in building web applications using the Rails framewor...

Full description

Bibliographic Details
Main Author: Dementyev, Vladimir
Format: eBook
Language:English
Published: Birmingham, UK Packt Publishing Ltd. 2023
Edition:1st edition
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
Description
Summary:Whether you've recently launched your first Rails minimum viable product or are struggling to progress with a sizable monolithic application, this book is here to help. A deep understanding of core Rails principles is a must. Some experience in building web applications using the Rails framework will enhance your comprehension and application of the concepts presented in the book
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. Purchase of the print or Kindle book includes a free PDF eBook through the link provided withinKey FeaturesUnderstand Rails' architectural patterns along with its advantages and disadvantagesOrganize business logic in Rails apps when the default approach is insufficientIntroduce new abstractions to address design problemsBook DescriptionRuby 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.
By the end of this book, you'll be a code design specialist with a deep understanding of the Rails framework principles.What you will learnDiscover Rails' core components and its request/response cycleUnderstand Rails' convention-over-configuration principle and its impact on developmentExplore patterns for flexibility, extensibility, and testability in RailsIdentify and address Rails' anti-patterns for cleaner codeImplement design patterns for handling bloated models and messy viewsExpand from mailers to multi-channel notification deliveriesExplore different authorization models and layersUse a class-based approach to configuration in RailsWho this book is forThis book is for Rails application developers facing challenges in managing the growing complexity of their projects. It offers practical strategies for maintaining code readability and manageability, providing valuable guidance for developers at all levels.
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.
Physical Description:1 online resource
ISBN:9781801812436