javascript - Improving code quality/organization of event-heavy riot applications -
i building application using riot.js , jquery. works expected, code grows, worry triggering , handling events (.trigger/.on) in random/unexpected places in code doing nil maintain code organized , understandable.
my questions are:
(1) maintain code such application clean , streamlined (event namespaces 1 thing comes mind) ,
(2) maintain events on model separated events on dom in presenter. how can accomplish these goals in riot.js based application
thank you.
you @ functional reactive programming approach. here solutions may insterested in:
rx.js - reactive extensions javascript microsoft bacon.js - popular frp library kefir.js - less popular insteresting frp library javascript jquery riot.js
No comments:
Post a Comment