jmreidy | 11 years ago | on: Facebook Flux – Application Architecture for Building User Interfaces
jmreidy's comments
jmreidy | 11 years ago | on: Facebook Flux – Application Architecture for Building User Interfaces
I'd also mention https://github.com/spoike/reflux as an implementation.
jmreidy | 12 years ago | on: Flux Application Architecture
The one plus of the event approach I can think of is that if one component causes new data to load on the client (an article is updated), none of the components that rely on that article will show stale data - that is to say, it's extraordinarily difficult for components looking at the same data to ever be out of sync.
jmreidy | 13 years ago | on: Deploying to Heroku with Travis CI
jmreidy | 14 years ago | on: JavaScript Documentation Sucks
I do love Readme Driven Development (http://tom.preston-werner.com/2010/08/23/readme-driven-devel...), and Github helps here with its per-directory readme displays, but keeping up with these over the duration of a project is obviously a problem, as you note.
jmreidy | 14 years ago | on: BDD For Node - Introducing vows-bdd
One big benefit of expresso are its helpers. While it's not difficult to supplement Vows with similar functions, Vows still doesn't have a built-in approach for pre-test bootstrapping.
jmreidy | 14 years ago | on: BDD For Node - Introducing vows-bdd
The biggest benefit to Vows is its "everything can be async" nature. This approach makes testing incredibly fast. It's also built in a very modular way that allows for what it calls "batching" - which is really just test metaprogramming. Vows-bdd is just using this capacity for metaprogramming, so it's not too much more than a "mini-DSL" on top of Vows itself.
Vows-bdd is very much inspired by two libraries from Nodejitsu: prenup (a general purpose fluent vocabulary on top of vows) and api-easy (which uses Vows for simple, readable testing of API endpoints). All three of these libraries aren't really doing anything more than pre-wiring Vows tests together. I think it's a reflection of Vows' power that it can be so easily metaprogrammed in this style.
https://github.com/jmreidy/fluxy/tree/master/examples/todomv...