Last Updated: February 25, 2016
·
1.026K
· joefiorini

Flight & Apotomo

I love Ember.js. Javascript frameworks like this can be very useful, but sometimes they can overcomplicate a project and cause more problems than they solve.

I've found that in these cases it's far easier to make a site without Javascript, and then add it in later. But, that doesn't mean you shouldn't be keeping your Javascript clean and organized while following good development principles.

That's where I've found Flight from Twitter to be a godsend. It doesn't make any opinions about rendering, so I can render templates server-side or client-side, doesn't matter.

What about template reusability? If you're using Rails on the server side, check out Apotomo library. Apotomo basically gives you partials with their own controllers; and those partials can be rendered via a URL as well as through a Rails helper.

Bam! Reusable server-side templates and a clean framework for organizing your Javascript on the front-end.

1 Response
Add your response

Excellent thoughts!!

over 1 year ago ·