Thursday, January 29, 2015

Decoupling with Lotus

According to the Lotus website, Lotus is a web framework that aims to make Ruby web development more object-oriented. Lotus features encapsulation of MVC layers and no monkey-patching.


We won't be making an app in Lotus, but we'll be looking at its constituents to see what it offers.


Rails is magical for a reason. When we see that Lotus takes away a lot of that magic, it's easy to be skeptical. So, try to keep an open mind.


How It's Different


On the surface, Lotus initially looks like another "me-too" framework that accomplishes things just like Rails. But as we'll see, Lotus also supports a less opinionated, more object-oriented approach to building apps.


Instead of one framework, Lotus is currently composed of several gems:



  • Lotus::Router

  • Lotus::Utils

  • Lotus::Validations

  • Lotus::Model

  • Lotus::View

  • Lotus::Controller

  • Lotus::Assets (not officially part of framework yet)


Continue reading %Decoupling with Lotus%




by Robert Qualls via SitePoint

No comments:

Post a Comment