Hacker News new | ask | show | jobs
by jordow 5346 days ago
I've built a toolkit that does this very thing (rendering the user interface on either client or node.js arbitrarily) https://github.com/jordow/FaxJs/

    From the video: "There are a number of existing frameworks for javascript today, but there are none like Mojito that try to blur and succeed at blurring the the server client boundary."
I commend Yahoo for tackling this extremely challenging problem. I'd love to see their framework so I can compare benchmarks with FaxJs. Let's see it Yahoo!

I'm guessing Mojito has a ton of functionality surrounding ajax/queries and business logic modules etc. FaxJs is a work in progress, but it has a couple of novel concepts besides server side rendering: In FaxJs, your view is simply a function of your model, or a "projection". That function acts as an invariant that the system upholds at all times without introducing any other concepts/abstractions. Sometimes, a function is enough.