Hacker News new | ask | show | jobs
by jacabado 5094 days ago
I agree with your point just wanted to point to Nodejitsu node.js work that's highly relevant to it:

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."

1 comments

Wow, Resource-View-Presenter is exactly my framework.

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.