Back in June I started working with my company’s X team. (The team’s name isn’t X but since I’m bound by NDA not to disclose any details about the project I’m calling it that – it does have a cool acronym name though). The X team is a group of genius backend developers with all sorts of different specialties who came from all parts of the company and assembled to create the company’s Next Big Thing.
The Benefits Aren’t Always Obvious
It turns out more apps than you think can make good use of the features frameworks like Angular provide. Rather than go over these features I’m going to spend the rest of this post outlining how the new Write.app will be making use of a new architecture.
Write.app is moving to the future
Write.app is currently undergoing a complete ground-up rewrite. This will be the second rewrite of the app. The first was converting to a proper backend framework from the original homespun bunch of PHP scripts that Write.app started as back in 2011. This time around we’re focusing on developer happiness through a brand new API that’ll be open to third party developers as well as a far better experience for end users. The new Write.app will feature new collaborative editing features that take advantage of the technologies present in client-side frameworks like Angular.
Decoupling views and data
Most backend MVC frameworks claim to separate logic, data, and presentation layers and they mostly deliver. Once you’ve tried a client-side JS framework for your views, though, you’ll start to see the way that frameworks like Rails handle the presentation layer as inferior. I want different things from my front and backend. I want my backend to handle logic and data storage and nothing else. Ideally I want my backend to be nothing more than an API that sends me data. I don’t need it to preprocess the data for my view, my front-end should be handling that. Its exactly this kind of processing that makes a mess out of pure server side frameworks after some time.
More tools in the box
Better organization of front end code
It’s the future, you need to get on board