Search results for 2014 07 28 best practices building angular js apps

Real-World Best Practices for Building Angular.js Apps without Browserify or Require.js

by Jeff Dickey

concat = require(‘gulp-concat’) gulp.task(‘js‘, function () { gulp.src([‘src/**/module.js‘, ‘src/**/*.js‘]) .pipe(concat(‘app.js‘)) .pipe(gulp.dest(‘.’)) }) gulp.task(‘watch’, [‘js‘], function () { gulp.watch(‘src/**/*.js‘, [‘js‘]) }) This just defines a ‘gulp watch’ task we can call…

How Kendo UI Uses Kendo UI To Build Angular Directives For Kendo UI

by Brian Rinaldi

…and yet they are imperative for building reusable UI components. Since directives are the only place that Angular offers a reference to the DOM, building integrations for Angular was going…

There's another way.

Microservices Series #5: Beware best practices

mm by Modern Web

…always be successful. Within the best-practice paradigm, project failure is regarded simply as the inadequate application of best practices. Thus, best practices claim to provide predictive power; the better you…

The Angular Way

by Nicolas Bevacqua

more modular, more self-contained, and yet more inter-connected. It is simply becoming more Angular. And by Angular I mean the highly interactive rich application development philosophy behind Angular.js, the same…

Leverage Scope Creep! An in-depth tutorial on Angular.js Scope

by Jonathan Creamer

out there now, such as one like from the Angular home page… <!doctype html> <html ng-app> <head> <script src=”https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.13/angular.min.js”></script> </head> <body> <div> <label>Name:</label> <input type=”text” ng-model=”yourName” placeholder=”Enter a name here”>…

Creating An Application With Sails.js, Angular.js and Require.js Part 2 – Adding Dependencies

by Tyson Cadenhead

angular‘: ‘//ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular‘, ‘jquery’: ‘//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min’, ‘bootstrap’: ‘//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min’ }, ‘shim’: { ‘angular‘: { ‘exports’: ‘angular‘ }, ‘bootstrap’: { ‘deps’: [‘jquery’] }, ‘socket.io’: { ‘exports’: ‘io’ }, ‘sails.io’: { ‘deps’: [‘socket.io’], ‘exports’: ‘io’…

Creating An Application With Sails.js, Angular.js and Require.js Part 3 – Angular.js Controllers

by Tyson Cadenhead

Tyson Cadenhead continues an article series about building an application with Sails.js, Angular.js and Require.js. This installment dives into building out the Angular.js Controllers. You can find Part 1 here…

2014 – What Web Developers Will Need to Know

by Brian Rinaldi

…performance will finally allow the creation of HTML5/JS apps that are indistinguishable from ‘native’ mobile apps. The HTML5 vs native debate will still rage on, but common performance issues such…

Best of JavaScript, HTML & CSS – 2013

by Brian Rinaldi

…can benefit by doing things the “Angular Way” and shares tips on how to take advantage of AngularJS. The Angular Way Ember.js 1.0 is officially released and this post goes…

AngularJS: One Step at a Time

by Michael Crump

Started with Angular from Modern Web</title> <script src=”https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-rc.0/angular.min.js”></script> </head> <body> <div> 21 / 3 = {{21 / 3}} </div> <div> 21 + 3 = {{21 + 3 }} </div> <div>…