Hi, I've been working lately on an idea of creating a prototype/proof of concept application for a large-scale application built on top of AngularJS and RequireJS. Due to RequireJS being used, it is quite trivial to combine, uglify and minimize the sources using RequireJS Optimizer (included into the project).
In addition to RequireJS and AngularJS, the prototype includes Twitter's Bootstrap as a responsive UI component library and angular-gettext for implementing i18n support for the application (two different languages provided in the prototype itself). As other project features, LESS stylesheet language support was also implemented as well as simple mock-up of an authentication mechanism. Testing support was implemented using Karma (unit tests) and Protractor (e2e-tests) for both of which a couple of example tests have been implemented. The project build itself is managed using Grunt. Optional Microsoft Visual Studio solution and project files are also provided since I've been using that as my development IDE. So far I've been very happy with the selected tools. The only issue for me at the moment being the fact that you can't use RequireJS module dependencies to set dependencies between AngularJS modules. Instead, you have to separately define AngularJS module dependencies in Angular's own way. I think that is a small price to pay though for the gains you get since you don't really have to keep track of which files to load and when, even for non-angular files. You just write the dependencies and let RequireJS manage the loading. ...and of course there is also this: http://www.youtube.com/watch?v=W13qDdJDHp8&feature=player_detailpage#t=3301s The prototype itself has already served me as a seed for a couple of smaller projects. If interested, check the prototype project pages in github: https://github.com/mhinkka/angular-playground or check the live demo in: https://mhinkka.github.io/angular-playground/ On Tuesday, June 25, 2013 5:16:09 PM UTC+3, Noppanit Charassinvichai wrote: > > Obviously I have seen the video AngularJs Best Practices. > http://www.youtube.com/watch?v=ZhfUv0spHCY > > But I also have seen this comment from Brain Ford which he also works for > AngularJs. http://briantford.com/blog/huuuuuge-angular-apps.html. But he > said at the bottom of the page that he didn't recommend using RequireJs > with AngularJs. So, who should I go for? Personally, I have integrated > RequireJs with AngularJs and I like it. > > > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
