Hello and welcome to This Week in JavaScript—a lovingly curated collection of links relating to what’s new and exciting in the world of JS. The complete list is tagged jsweekly. (Don’t forget to check out our weekly .NET and front end roundups too!)
And now on with the show …
##Vanilla JS
- A Guide to Vanilla Ajax Without jQuery — investigating improvements made to the Ajax API
- Things you can do with native DOM — there’s unsurprisingly a ton of stuff you can easily do in plain native DOM API, without involving any libraries
- Is jQuery dying — spoiler: of course not!
- Why I Write Plain JavaScript Modules — because they will outlive any of today’s popular JS frameworks
- How To Rewrite jQuery’s .each() in Vanilla Javascript — breaking the jQuery as a dependency
- Getting Started with Angular 2 using TypeScript — build a simple application to pin your achievements on a board
- Proper testing of Angular JS applications with ES6 modules — in a very simple and fast fashion
- How to build an Angular 2 application with routing and services — the basic essentials for building an Angular 2 application
- Angular 1 to Angular 2 Upgrade Strategy — by Miško Hevery
- ng-filter for easy to comprehend dates and times — a lightweight Angular directive/filter/service to format a date so it displays a contextual relative time (“how long ago”) in addition to the date.
##Debugging
- Remotely Debug and Test JavaScript with New Vorlon.js Plug-ins — details new plugins and improvements made
- Tips & Tricks for debugging unfamiliar AngularJS code — Angular doesn’t make it easy, but there are few tips and tricks that can make your life easier
- JavaScript Debugging Tips and Tricks — JavaScript debugging in practice
- JavaScript Debugging Using Cross-Browser Source Maps — the problems with minified JS.
- Debugging memory leaks in Node.js — a walkthrough
- Video: Getting to Know Block Statements in JavaScript — learn about how JavaScript lets you group statements, and why that can be useful
- Five little-known facts about ES5 object literals —
var obj = { π: true }
- Globals are bad — M’kay!
- The Web Audio API: Adding Sound to Your Web App — sadly sound has taken a backseat on the web, while native apps flourish
- A short video on how to do currying — a short video explaining the concept of curring, using JavaScript.
##Node.js
- 5 Easy Performance Tweaks for Node.js Express — Craig gives lets you have 'em
- How to structure node.js applications with dependency injection — Do I need a structure at all?
- From Theory to Practice: Adding Two-Factor Authentication to Node.js — Learn how to easily add 2FA/MFA to your Node.js + Express.js apps using TOTP
- Node.js Production Environment - a Step-By-Step Guide — how you can easily setup a build pipeline, a staging and a production environment
- 4.0 is the new 1.0 — As part of the convergence of Node and io.js, Node 4 will contain all the improvements made in io.js as well as features from Node 0.12.
I hope you’ve enjoyed working through these links. I’ll leave you with a funny gif I discovered recently, demonstrating how @ThePracticalDev sees debugging (it kinda works better on infinite loop):
If you want more links like this and to keep up-to-date with the latest goings on in JS land, you can follow SitePoint’s JavaScript channel on Twitter.
Please PM us if you have anything of interest for the next issue or if there is anything you would like to see featured. Paul and Pullo.