Monolithic client side connected to Rails API Monstrous client-side code Separated client and server code duplicated logic no single point of configuration
My tools Rails Mostly ActiveRecord & ActiveSupport Sencha Ext JS Rich extendable views with JavaScript Netzke (netzke.org) Binding those together in a modular way
Nesting class ShipmentsAndOrders < Netzke::Base component :shipments do |c| c.klass = Shipments::Grid end component :orders do |c| c.klass = Orders::Grid end def configure(c) super c.items = [:shipments, :orders] end end