Hacker News new | ask | show | jobs
by andrewmee 3874 days ago
I don't see it solving one problem so much as lots of them.

With a decoupled front-end you can make applications which are much more flexible for dealing with change. Imagine swapping out the entire backend application, or completely re-writing the front-end - you can easily do either since the integration between the two is formalised and documented by the json contracts.

That also means a new front-end developer can clone down a Shunter application and start modifying templates with confidence it's not going to break anything without having to run the backend, services, mock db, etc. Great for working in big teams, or ones that aren't co-located.

It can also run a single unified front-end across multiple backend applications (for example if your rails application wants to share a common layout etc. with your Wordpress-driven blog section, or whatever ecommerce backend is driving your 'shop').

1 comments

In terms of a concrete example of what we actually use it for, http://www.nature.com/srep/ is using Shunter, as is http://www.nature.com/search?journal=srep&q=physics&subject=. Behind the scenes they're completely different apps, but they use the same implementation of the visual language so there's a consistent UI.