web applications - How to manage 3 ways of filtering in rails app? -
web applications - How to manage 3 ways of filtering in rails app? -
this architectural , implementation question, i'm more focused on getting ideas big image strategy.
the scenariothe app lists foo
records in table. there several ways sort them follows:
b_domains
, each foo
has_many :b_domains, :through => :b_domain_foos
easy enough, foos
b_domains
, working. by set of drop-down pills. foos
belong_to
each of objects represented pill. example, foo
may belong instance of m
called m_one
. each foo
should able sorted number of pills of type m
, n
, o
, or p
. freeform text search. all of should done js , never reload page. what strategies maintain active list of foos
in memory? mutual rails pattern? can find example?
what find myself origin replace list of foos
rather refining list in memory on new requests.
thanks.
ruby-on-rails web-applications
Comments
Post a Comment