Web Development with ROM and… by Piotr Solnica [PDF/iPad/Kindle]
Web Development with ROM and Roda
Web Development with ROM and Roda
Web Development with ROM and Roda

Last updated on 2016-05-29

About the Book

The book covers many ideas that potentially may be completely new to many Rubyists, including:

  • Blending FP with OO - see how immutability can help you, how stateless functional objects can be used, what tools you can leverage to support this style
  • Organizing your code using an IoC container and composing objects using DI
  • Encapsulating data-access in a simple persistence layer using ROM
  • Exposing domain-specific structures via ROM repositories
  • Handling data manipulation using a separate layer using ROM commands
  • Clean view layer with logic-less templates
  • Dealing with complex business transactions through simple, functional object composition

Why ROM?

ROM is a persistence and mapping toolkit and it gives a more functional approach to dealing with the databases. It's not an object relational mapper since it focuses on the data and mapping to domain specific data-structures rather than trying to solve the impedence mismatch and map to domain mutable objects. The book shows how to use ROM effectively, explains how it reduces complexity and makes development much simpler.

Why Roda?

Roda is a routing tree web framework toolkit. It is built in a similar way to ROM - a small core, extendible through plugins. This book shows how easy it is to assemble a custom, full-stack framework built from smaller components that Roda provides. This flexibility gives us an opportunity to organize the code in all kinds of ways and the book shows one of such ways.

About the Author

Piotr Solnica
Piotr Solnica

Piotr Solnica is a software consultant and an OSS developer. He spent over 10 years building web applications, including 8+ years of experience with Ruby and Rails, helping clients from all over the world to turn their ideas into working software. As a former DataMapper core team member and the creator of Ruby Object Mapper (ROM) project he's been working a lot on Ruby libraries that deal with persistence and data mapping.

The Leanpub Unconditional, No Risk, 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms

Write and Publish on Leanpub

Authors and publishers use Leanpub to publish amazing in-progress and completed ebooks, just like this one. You can use Leanpub to write, publish and sell your book as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub