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

ANT

5.0 51
$18.71 $31.19You save $12.48
Format
Digital edition
PDFEPUB
Works on phone, tablet and computer Instant access after checkout Personal-use digital license
About this edition

• Instant access to your digital edition.
• Read anytime, anywhere, on your favorite device.
• No shipping — your book is delivered digitally.
• Simple, secure access after purchase.

Published date August 30, 2023
Author Vladimir Dementyev

Instant digital delivery after purchase.

Download link available immediately after checkout.
In stock
Quantity
Secure checkout — encrypted end to end Free exchange or return within 30 days if the product is defective. Digital formats available instantly
Readers also enjoyed

Discover another great read to add to your digital library.

$18.71 $31.19

Description

Transition from the traditional Rails MVC trio to an abstraction model and evolve your application codebase with synchronized components, boosting flexibility and maintainability

Key Features Understand Rails' architectural patterns along with its advantages and disadvantages Organize business logic in Rails apps when the default approach is insufficient Introduce new abstractions to address design problems Purchase of the print or Kindle book includes a free PDF eBook Book 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 learn Get to grips with Rails' core components and its request/response cycle See how Rails' convention-over-configuration principle affects development Explore patterns for software 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 Introduce different authorization models and layers to your codebase Take a class-based approach to configuration in Rails Who 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 Contents Rails as a Web Application Framework Active Models and Records More Adapters, Less Implementations Rails Anti-Patterns? When Rails Abstractions Are Not Enough Data Layer Abstractions Handling User Input outside of Models Pulling Out the Representation Layer Authorization Models and Layers Crafting the Notifications Layer Better Abstractions for HTML Views Configuration as a First-Class Application Citizen Cross-Layers and Off-Layers

Specifications

FormatEPUB, PDF
Pages298
LanguageEnglish
ISBN-13978-1801813785

Frequently asked

Do I need an account to download?

No. After purchase, you can access your ebook directly from the order confirmation or download page.

What if a copy arrives damaged?

Contact us and we’ll help you access the file or provide a replacement download if needed.

Reviews

5.0 36
5★84%4★11%3★3%2★1%1★1%
T Tony Banks Verified
★★★★★The diagrams do the teachingSeeing the concept drawn before the notation appears changed everything for me.
C Charles Hogan Verified
★★★★★A set text for my classThe problem sets are graded properly and the solutions are complete.
N Nichole Lewis Verified
★★★★★
See all reviews

Customers also downloaded