
[ad_1]
Transition from the traditional Rails MVC trio to an abstraction model and evolve your application codebase with synchronized components, boosting flexibility and maintainability
Key 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 problemsPurchase of the print or Kindle book includes a free PDF eBookBook Description
The Ruby on Rails framework boosts productivity by leveraging the convention-over-configuration principle and model-view-controller (MVC) pattern, enabling developers to build features efficiently. This initial simplicity often leads to complexity, making a well-structured codebase difficult to maintain. Written by a seasoned software engineer and award-winning contributor to many other open-source projects, including Ruby on Rails and Ruby, this book will help you keep your code maintainable while working on a Rails app.
You’ll get to grips with the framework’s capabilities and principles to harness the full potential of Rails, and 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 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.
By the end of this book, you’ll become a code design specialist with a deep understanding of the Rails framework principles.
What you will learnGet to grips with Rails’ core components and its request/response cycleSee how Rails’ convention-over-configuration principle affects developmentExplore patterns for software 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 deliveriesIntroduce different authorization models and layers to your codebaseTake a class-based approach to configuration in RailsWho this book is for
This book is for Rails application developers looking to efficiently manage the growing complexity of their projects. 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. Prior experience in building web apps using the Rails framework will help you understand and apply the concepts in the book in a better way.
Table of ContentsRails as a Web Application FrameworkActive Models and RecordsMore Adapters, Less ImplementationsRails Anti-Patterns?When Rails Abstractions Are Not EnoughData Layer AbstractionsHandling User Input outside of ModelsPulling Out the Representation LayerAuthorization Models and LayersCrafting the Notifications LayerBetter Abstractions for HTML ViewsConfiguration as a First-Class Application CitizenCross-Layers and Off-Layers
From the Publisher


What makes this book stand out among other Ruby on Rails learning resources?
This book offers practical solutions to real-world Rails application complexity issues, based on the author’s extensive experience with successful projects. It goes beyond basic Rails principles, focusing on maintaining code health as applications grow.
The content covers advanced topics like organizing business logic, designing common features, and leveraging architectural patterns inherent to Rails. It provides concrete solutions to design problems not widely published elsewhere.
The author’s deep understanding of Rails’ design philosophy allows readers to fully harness the framework’s power. The book aims to help developers keep their Rails applications maintainable and approachable, even as they scale and become more complex.
By addressing these challenges, the book fills a gap in the market for intermediate to advanced Rails developers seeking to improve their architectural and design skills.
Key Takeaways:




Publisher : Packt Publishing
Publication date : August 30, 2023
Language : English
Print length : 298 pages
ISBN-10 : 1801813787
ISBN-13 : 978-1801813785
Item Weight : 1.14 pounds
Dimensions : 7.5 x 0.68 x 9.25 inches
Best Sellers Rank: #702,073 in Books (See Top 100 in Books) #11 in Ruby Programming #113 in Web Services #857 in Internet & Telecommunications
Customer Reviews: 4.8 4.8 out of 5 stars (51) var dpAcrHasRegisteredArcLinkClickAction; P.when(‘A’, ‘ready’).execute(function(A) { if (dpAcrHasRegisteredArcLinkClickAction !== true) { dpAcrHasRegisteredArcLinkClickAction = true; A.declarative( ‘acrLink-click-metrics’, ‘click’, { “allowLinkDefault”: true }, function (event) { if (window.ue) { ue.count(“acrLinkClickCount”, (ue.count(“acrLinkClickCount”) || 0) + 1); } } ); } }); P.when(‘A’, ‘cf’).execute(function(A) { A.declarative(‘acrStarsLink-click-metrics’, ‘click’, { “allowLinkDefault” : true }, function(event){ if(window.ue) { ue.count(“acrStarsLinkWithPopoverClickCount”, (ue.count(“acrStarsLinkWithPopoverClickCount”) || 0) + 1); } }); });
[ad_2]
8 reviews for Layered Design for Ruby on Rails Applications: Discover practical design patterns for maintainable web applications
Be the first to review “Layered Design for Ruby on Rails Applications: Discover practical design patterns for maintainable web applications”
Original price was: $49.99.$26.46Current price is: $26.46.

There are no reviews yet.