by jacabado · 14y ago · 0 comments
http://blog.nodejitsu.com/scaling-isomorphic-javascript-code
"Javascript is now an isomorphic language. By isomorphic we mean that any given line of code (with notable exceptions) can execute both on the client and the server. On the surface this seemingly innocuous property creates a number of challenges that are not solved by current MVC-based patterns. (...) In conclusion, we will explore a new pattern: Resource-View-Presenter."
Except I call my presenter layer "resources" and my resources "models".
The state machine in my framework is a system within the view layer so you can asynchronously re-route through the "presenter" and re-use code.