Architectural questions regarding, MV** frameworks, NoSQL data models, and gradual refactoring

I have a web app I would like to gradually refactor by adding structure to it.

I have narrowed down the options to Backbone (with some plugins), Ember.js and AngularJS

My goal is to refactor that app, which has the usual jQuery spaghetti and gradually add some structure to it.

Requirements

  • not a “all or nothing” framework, e.g. allow gradually moving code from “before” to “after” without rewriting the app from scratch (winner – Backbone?)
  • something that has a future, people seem excited about and has a big company behind it (Angular takes this bullet)
  • Let me sometimes do things “my way” and not force a paradigm (Backbone a clear winner here)
  • Something that will really boost my productivity and remove the need for boilerplate code
    (Angular + Ember)
  • Something that is good not just with the obvious things, but also the complex things, e.g. animation transitions, nested models, handling modal dialog views, drag and drop support, widget system etc

One option is to become an advanced developer in all 3 and then, the other is to ask people who did something similar

I know that with Backbone I can do everything I want, but I want to know if I’m not to “careful” and wonder if I’m not missing out by not taking the risk of using AngularJS / Ember.js

Questions

So my specific, answerable, constructive (as much as I could) questions are:

  1. Is Angular / Ember able to support drag and drop without bending over backward?
  2. Can either of these frameworks support animation transitions well?
  3. Which of these 2 frameworks is easier to “add in” gradually and not to fully rewrite things “their way”
  4. Which of these has better support for NoSQL /document based models as in MongoDB like documents (e.g. a JSON doc rather than a relational model)
  5. Which of these has better built in support for complex models (similar to #4)

Both Ember Data, and Backbone-relational seem to come from a relational database paradigm, and I wonder if there is anything that can build a model from an arbitrary multilevel / nested tree like structure without having to define a NoSQL model in a relational like data structure (e.g. hasMany, belongsTo instead of just a JSON like document).

Also I don’t want to stop using JqueryUI because it’s not 100% done the “Ember way” or the “Angular way”, is Backbone really my best option?
Are the nice bells and whistles that come with Angular / Ember are in a trade-off with flexibility?

Is it a good architectural choice to use either Angular or Ember when refactoring an existing jQuery callback pasta in a gradual, iterative approach?

4

I think your question is missing a critical constraint, but you address it within the comments. Specifically, how much time do you have to invest in this refactor?

Time allotted is going to be the trump card requirement and renders your detailed questions a bit moot.

For this current refactoring window, you’ve been allocated one week. That’s really not enough time to learn a brand new framework and complete meaningful refactoring for even a modest project. Adding in your outside time constraints, and you have perhaps 40 to 50 hours to apply.

That limited timeframe means you need to pick the framework you’re most comfortable with now. Based upon your description and research, Backbone is the front runner for selection.

Yes, you may be “missing out” on some neat new feature of the other frameworks. Presuming that all three frameworks are “live” and still being developed, you’re going to see that “lacking-feature” difference regardless of the framework you pick. The frameworks will keep moving forward even if you can’t keep refactoring your project. Part of any design is to eliminate potential paths to follow so you can focus your top choice. An inherent part of that path elimination is that you will be missing out on feature XYZ that only the less attractive framework has. But that gets us back to time being your overriding constraint.

I would encourage laying out a prioritized list of areas that are going to be refactored. You need to include verification activities along with that refactoring, and I would encourage allowing for some schedule slack to handle the unexpected issues with conversion.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật