Over 10 mio. titler Fri fragt ved køb over 499,- Hurtig levering Forlænget returret til 31/01/25

Layered Design for Ruby on Rails Applications

- Discover practical design patterns for maintainable web applications

  • Format
  • E-bog, ePub
  • Engelsk
E-bogen er DRM-beskyttet og kræver et særligt læseprogram

Beskrivelse

Transition from the traditional Rails MVC trio to an abstraction model and evolve your application codebase with synchronized components, boosting flexibility and maintainabilityKey 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 DescriptionThe 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 forThis 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.

Læs hele beskrivelsen
Detaljer
  • SprogEngelsk
  • Sidetal298
  • Udgivelsesdato30-08-2023
  • ISBN139781801812436
  • Forlag Packt Publishing
  • FormatePub

Findes i disse kategorier...

Machine Name: SAXO083