Search results for convention based routing in javascript apps Scripts fewliveasync.js

Convention Based Routing In JavaScript Apps

by Burke Holland

Convention Based Routing In JavaScript Fortunately, RequireJS/CommonJS (Browserify) make breaking your JavaScript into multiple files and loading/executing files dynamically quite easy if your JavaScript router can handle it. Before we…

Why you should limit JavaScript — and how to do it

mm by Table XI

…metaphor should be the primary means of navigating your app. Re-creating links and routing with JavaScript is an awful lot of work, but it beats unfamiliar navigation schemes that prevent…

Mobile-Friendly Mapping for PhoneGap Apps

by Rob Lauer

…{ width: 100%; } </style> JavaScript: Finally, we need to wire everything up with a single JavaScript function that initializes our map: function initializeMap() { // this is where the…

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

by Jeff Dickey

apps. The unfortunate thing for you is that you will need to deal with the crufty state of affairs with JavaScript modules until then. Man. I love all these great…

Best of JavaScript, HTML & CSS – 2013

by Brian Rinaldi

…HTML and Javascript with node-webkit, an app runtime based on Chromium and NodeJS. node-webkit August Mathew Carella shares tips for writing better and more efficient CSS. Writing Better CSS Sara…

The Future of JavaScript…Now!

by Brian Rinaldi

…usable JavaScript. Each language has its own compiler(s): ECMAScript 6: traceur, ES6 Module Transpiler (for converting ES6 modules to AMD or CommonJS modules) TypeScript: TypeScript Compiler CoffeeScript: CoffeeScript Compiler Each…

JavaScript Architecture for the 23rd Century

by Jonathan Creamer

…a goal, try to keep each JavaScript file containing one logical “class” or module. You may have something like this. /js/ /js/app.js /js/starship.js /js/constitutionClass.js /js/starFleet.js This is much nicer. You’re…

Building a JavaScript Library with Grunt.js

by Brian Rinaldi

…to use Grunt.js to build JavaScript library. Grunt.js requires Node.js and npm to run, so first sections explain what those are, how to install them and how to use them….

45 Useful JavaScript Tips, Tricks and Best Practices

by Saad Mousliki

…By Saad Mousliki As you know, JavaScript is the number one programming language in the world, the language of the web, of mobile hybrid apps (like PhoneGap or Appcelerator),…

Node.js vs. PHP

by Azat Mardan

…and JavaScript (which, as we mentioned, is what Node.js is based upon). Both platforms can be accessed to the command line interface via $ php -i and $ node. For…