translate / pootle

Online translation tool
http://pootle.translatehouse.org
GNU General Public License v3.0
1.49k stars 287 forks source link

Consider using a JavaScript framework #2265

Closed dwaynebailey closed 11 years ago

dwaynebailey commented 12 years ago

Imported from scrumdo story 110

With the latest changes towards 2.2, a lot of JavaScript has been added, and in the future more work can be foreseen in that direction.

But things can get complicated and code not easy to maintain. That's why a JS framework can be helpful in the long run.

Backbone.js can be a good candidate. It allows to write models and views. Views are notified of model changes in order to re-render UI parts. http://documentcloud.github.com/backbone/

julen commented 11 years ago

Rather than an end goal, this should be considered as a tool to help separating concepts (models, views, controllers) in the code.

julen commented 11 years ago

Marking as fixed since Backbone has been added in the feature/global-search branch. There's still a lot of refactoring work to be done, but that's mostly bug #3014.