Sale!

Layered Design for Ruby on Rails Applications: Discover practical design patterns for maintainable web applications

Add your review

Original price was: $49.99.Current price is: $26.46.

Original price was: $49.99.Current price is: $26.46.

Sale!

Note: Prices may fluctuate as sellers adjust them regularly. You'll see the latest price at final checkout.
Add to wishlistAdded to wishlistRemoved from wishlist 0
Add to compare


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

B17858 - top coverB17858 - top cover

B17858  - 1 B17858  - 1

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:

B17858 - 3.1B17858 - 3.1

B17858 - 3.2B17858 - 3.2

B17858 - 3.3B17858 - 3.3

B17858 - bottom bannerB17858 - bottom banner

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); } }); });

8 reviews for Layered Design for Ruby on Rails Applications: Discover practical design patterns for maintainable web applications

0.0 out of 5
0
0
0
0
0
Write a review
Show all Most Helpful Highest Rating Lowest Rating
  1. David P.

    Elevate Your Rails Craft: The Go-To Guide for Advanced Design Patterns
    As someone who has been writing Ruby on Rails code for over 15 years, I can honestly say that this book by Vladimir Dementyev is a treasure trove of insights for seasoned developers. This book delves deep into the intricate layers of Rails, offering a sophisticated understanding that goes beyond the basics. Whether it’s tackling the nuances of Active Record or discussing complex layered architectures, the book makes you rethink and refine your approach to Rails development. One of my favorite parts was the chapter on authorization models; it provided me with a comprehensive look at something so essential, yet often overlooked. But the book doesn’t stop at just offering advice; it also encourages you to experiment and find your own best practices. For those of us dealing with mature, more complex systems, this book is a godsend. It’s not just another Rails book; it’s an investment in mastering your craft.

    Helpful(0) Unhelpful(0)You have already voted this
  2. Liz Dahl

    Arrived in good time, Christmas present for son
    Books are what I ordered

    Helpful(0) Unhelpful(0)You have already voted this
  3. Jeremy Smith

    Must-read for career Rails devs
    I loved this book, and found it very timely given the many questions and opinions I’ve seen in the community over the past couple years, about how to grow Rails applications beyond what the framework gives you out-of-the-box.As an overarching concept, Vladimir lays out a compelling vision for an “Extended Rails Way” that first guides us on how to use the baked-in abstractions well, and then helps us imagine how we could extract new abstraction layers that really feel like they could be Rails.The book helped me see how I could turn design patterns into new, cohesive abstractions that rhyme with Rails, creating more harmonious codebases with reduced cognitive burden.Vladimir provides clear perspective and helpful recommendations around some of Rails’ most contentious features, including callbacks and concerns.Throughout the book, there’s a repeated pattern of showing less-than-ideal examples, and then reasoning our way into one or more improved solutions. I found observing his thinking here to be really informative and helpful.I was impressed by how comprehensive the book is, covering all the topics you’d expect, like Active Record and Active Storage, plus those you might not expect, like filter objects, notifications, view components, and even configuration and logging.Long story short, this is now one of two Rails books I’ll be recommending that all Rails devs read.

    Helpful(0) Unhelpful(0)You have already voted this
  4. Karen Carter

    Fantastic resource for intermediate and above Rails developers
    This isn’t a book for beginning Rails developers, but for those who already know the framework and have worked in with it for awhile, this book is a great resource for leveling up. It covers not only the Rails way, but it also describes how to grow large applications sensibly once the basic Rails abstractions are no longer enough. It gives examples of different patterns and abstractions as well as how to evaluate whether or not they are a good fit for your application. I appreciate this nuanced approach, because every application is different and there are tradeoffs to everything.The book also covers several Rails antipatterns and discusses common Rails concepts such as thin controller/fat model and where those ideas can lead to problems in large applications. Additionally every chapter ends with thoughtful questions for the reader and exercises to illustrate the points raised in the chapter. Many also include a list of resources for further reading on the topic. To get the most out of the book you’ll want to clone the associated repository and work through the questions and exercises.This is an incredible resource for those looking to take their Rails development practices to the next level, with great advice on dealing with the complexities that come with larger applications.

    Helpful(0) Unhelpful(0)You have already voted this
  5. Mike Goggin

    Great resource to level-up your Rails-fu
    This book is mostly geared towards intermediate to senior-level Rails engineers, but more junior-level folks can still benefit from the information contained therein.The first several chapters are an overview of how Rails works which are essential for any engineer who wants to get the most out of Rails. The rest of the book are a collection of different design patterns that someone could employ to make an existing application easy to reason about.I wouldn’t recommend starting with these advanced design patterns or else you run the risk of over-engineering and introducing too much complexity unnecessarily, but if you’ve got an existing app that’s starting to look a little crufty, these patterns can help you to abstract away the cruft in more convention-y way.The content of the book is great. It’s easy to read and follow. A bit dry at times (but what technical resource isn’t dry?).

    Helpful(0) Unhelpful(0)You have already voted this
  6. S

    Good, mostly.
    Good overall. Some typos. Ending chapters felt a bit rushed.

    Helpful(0) Unhelpful(0)You have already voted this
  7. Jason Charnes

    The Ruby on Rails book we’ve been missing
    I love building Ruby on Rails applications. I try hard to build them “The Rails Way™,” but at a certain point an application presents a problem that you don’t know how to solve with The Rails Way. This book offers solutions and provides ways to think about problems using what Vladimir presents as “The Extended Rails Way” which is EXACTLY what I’ve been looking for, for years.I was thrilled to hear Vladimir was writing a book. His deep technical knowledge, Ruby on Rails chops, work on open source, and conferences talks are always high quality- and this book is no different! It’s an excellent resource for Rails developers who want to hone their craft building ever-growing Rails applications.I legitimately cannot wait to take the patterns and ideas from this book and apply them to the applications I work on.

    Helpful(0) Unhelpful(0)You have already voted this
  8. Ljubomir M.

    I just love reading an up to date rails book with valuable insight from a seasoned dev. I’ve really enjoyed this one. Layered design should be the new rails way.

    Helpful(0) Unhelpful(0)You have already voted this

    Add a review

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

    Layered Design for Ruby on Rails Applications: Discover practical design patterns for maintainable web applications
    Layered Design for Ruby on Rails Applications: Discover practical design patterns for maintainable web applications

    Original price was: $49.99.Current price is: $26.46.

    bestdealsavvy.com
    Logo
    Register New Account
    Compare items
    • Total (0)
    Compare
    0
    Shopping cart