3 ms·
I have tried several javascript mvc frameworks: angular, backbone , javascriptmvc (i'm serious, the name is javascriptmvc) but time and time again I'm always dr
by hyuuu 14y ago
I have tried several javascript mvc frameworks: angular, backbone , javascriptmvc (i'm serious, the name is javascriptmvc) but time and time again I'm always drawn back to backbone, as this is a post about angular, one thing that turns me off about angular is the high lock in/dependency towards the framework.
They have a lot, I mean a lot of functionalities built in, but with that comfot comes the price if you want to use any other jquery/javascript library plugin that's available out there. The only option you have is to "angularize" the plugin before you can use it. This is different from backbone, almost like the name suggest, it's bare bone, there will be more boilerplate code but you get more freedom and most if not all the plugins that are available to you from your js libs can be used as is. My suggestion before going all out to ANY js framework, know how the application would behave beforehand.
- ericclemmons 14y agoHow is that different from trying to mix frameworks in the backend? If your framework doesn't do as much, you write more boilerplate. If it does more, you write less, but have vendor lockin. I still like using Backbone collections and models with Angular and leave Angular with the VC part.
- creamyhorror 14y agoThere are projects to connect Angular to other libraries, e.g. -- angular-ui: http://deansofer.com/posts/view/14/AngularJs-Tips-and-Tricks-UPDATED http://deansofer.com/posts/view/14/AngularJs-Tips-and-Tricks... -- a set of widgets for UI elements, including wrappers for jQuery plugins -- jquery-mobile-angular-adapter: https://groups.google.com/forum/#!topic/angular/at8helGHd_g https://groups.google.com/forum/#!topic/angular/at8helGHd_g -- for using angular with jQuery Mobile -- sencha-touch-angular-adapter: https://groups.google.com/forum/?fromgroups#!msg/angular/c8sLSqA4AqQ/qymwooexmgwJ https://groups.google.com/forum/?fromgroups#!msg/angular/c8s... -- ditto, for Sencha Touch I believe mostly any object can be easily wrapped to be accessible by Angular (which is what's happening in angular-ui for jQuery plugins, for example). Right now documentation for these projects is sparse, but their authors tend to be active on the AngularJS Google Group, and people often offer solutions to problems very quickly there.