Flatironjs: an unobtrusive framework initiative for node.js
flatironjs.org
flatironjs.org
I'm really interested in how it compares to what express does. How is it the same, how different? However since I'm reading this from the office between doing actual work I've not got time to read this version.
I may or may not remember to come back and check it out after work.
Anyways, all of that is intended as a round of constructive criticism. At the end of the day, it is what it is.
http://blog.nodejitsu.com/scaling-isomorphic-javascript-code
The proposed Resource-View-Presenter model is a bit of a brain bender.
Anyway, that aside, I agree -- this is described as a framework "initiative", and that page has no links to actual code, making it sound like a mere proposal.
However, looking back at Nodejitsu's blog, it looks like they have a post with a more cogent explanation... and github links:
`plates` is essentially a loose html-parser. The only reason it exists is because `weld` is too slow right now for mass consumption. `plates` is intended to ensure that developers have a way to template without DSLs since a lot of people want to keep their markup clean.
I totally endorse the anti-template philosophy. But I want a bit more, like targeting attributes (eg, the href of an anchor, the value of an <option>) and replicating a class-selected fragment for welding data from arrays.
On another note, when will they launch? I got an email a while ago announcing the beta but never let me sign up.
If you need to protect code that is currently client-side while retaining responsiveness, this will solve that problem.
In my opinion, the price for that is too high. You are significantly increasing the traffic between the server and the client. On top of that, you are forced to do all your work on the server, which to me feels like a step back to the way we used to do things a decade ago. Beefy servers handling a few clients, rather than light servers handling thousands of clients.
You could make a 10,000 loc app, and you wouldnt even have to serve up a line of it to run it (in realtime) with a browser.
EDIT: After looking through Flatiron/Plates, I'm really interested in seeing how I might be able to get them to work together.
This hasn't been the case for me for literally years. Everything is pretty much dynamically loaded into the DOM by javascript. The server just pushes raw data to the client via XHR.
If you're still rendering HTML on the server, then yeah, this would be a drastic improvement. Absolutely.
I've dedicated myself completely to Node.js for the last month, and I'm sold!