Currently I am deep into a large Backbone project (around 8000 lines of JavaScript, not counting external libraries) and I am contemplating making the switch to AngularJS.
At the moment, a significant portion of my code deals with DOM manipulation, event binding and unbinding. I rely on Mustache for template rendering. Most of the data is fetched via AJAX, stored in Backbone models, some of which utilize BackboneRelational. Additionally, I have integrated about 10 small jQuery plugins for enhancing the user interface.
While I am set on moving forward with this migration, I do have concerns about meeting my deadlines. So, here are some questions:
- How much time would it take to rewrite everything using AngularJS? Is there anyone who can share their experience with me?
- Is it feasible to start incorporating Angular into the project now for new features, without causing complications when it comes to interacting with the existing Backbone components?
- If I decide to refactor after the deadline, what best practices would you suggest to prepare the code for an easier migration process?