Hello and welcome to ‘This Week in JavaScript’ — another curated collection of links relating to what’s new and exciting in the world of JavaScript. The complete list is tagged jsweekly. (Don’t forget to check out our weekly .NET and front end roundups too!)
And now for this week’s finds …
Getting started
- Shuffle an Array - This and other tips from ‘A JS tip per day!’.
- Use === instead of == - The == (or !=) operator performs an automatic type conversion if needed.
- Keeping Promises With JavaScript - JavaScript, through its popularity and recent improvements, is increasingly becoming the web programmer’s best friend. And like all best friends, JavaScript keeps its promises.
- Customizing Your Api.ai Assistant with Intent and Context - Patrick Catanzariti goes a step further with his coverage of API.ai and introduces “intents” and “contexts”, a way of teaching our AI assistants more specific actions that are personalized to our own needs
Learning more
- JavaScript Fatigue: An Alternative Perspective - Recognising progress requires a certain degree of churn.
- Simple JavaScript Interview Exercises - To be sure that candidate really knows about topic (s)he is talking about, it’s a good thing to test their knowledge with exercises.
- Javascript Interview Questions: Javascript is a prototypal language. - If you want that dream job you’re going to have to understand the fundamental features about your language.
- What’s the Difference Between Class & Prototypal Inheritance? - Eric Elliot continues his series on how to “Master the JavaScript Interview”.
Libraries
- repo-copy - Git repository copy/compressor.
- 5 jQuery.each() Function Examples - This function is one of jQuery’s most important and most used functions. In this article we’ll find out why and look into its details to see how you can use it.
- 10 Best jQuery and HTML5 WYSIWYG Plugins - HTML5 WYSIWYG (What You See Is What You Get) editors are always high in demand. But there are now so many of them around that it’s hard to find the best ones. Ritesh Kumar sorts them out.
- A Comparison of JavaScript Calendars and Schedulers - If you want to create your own calendar or scheduler but don’t know where to start, have no fear. This article’s aim is to help you with your decision.
- CMS.js - CMS.js is fully client-side, Javascript site generator in the spirit of Jekyll that uses plain ol’ HTML, CSS and Javascript to generate your website.
ES6
- ES.next News - Johannes Weber and Dr. Axel Rauschmayer are launching a new weekly email newsletter focusing on ECMAScript 6/2015+. Subscribe now.
- Object-Oriented JavaScript — A Deep Dive into ES6 Classes - Jeff Mott gives you an insight into how classes work in ES6 and has demystified some of the jargon surrounding them.
Frameworks
- Managing State in Angular 2 Applications - Managing application state is a hard problem. You need to coordinate between multiple backends, web workers, and UI components. Patterns like Redux and Flux are designed to address this problem by making this coordination more explicit. In this article, Viktor Savkin shows how you can implement a similar pattern in just a few lines of code using RxJS.
- Non functional React.js - Is React.js really a functional framework?
- Setting up SEO in an Angular app - As you probably know, the whole client-side MVC thing has its perks. But, it comes with a price: search engines usually won’t be able to scrape your site. Angular 2 should enable us to render pages on the server as well, which will help solve this. In the meantime, let us see what you can do with your production app today.
- Cycle.js Fundamentals - Cycle.js is a framework where your app is described as a simple function taking an event stream as input and outputting an event stream.
- Ember.JS 2.3 and 2.4 Beta Released - Updates to Ember.
- React Testing Cookbook - In this course we will take a look at testing React applications. From getting setup and running tests, all the way through testing Redux enabled React applications.
##Everything Else
- ChakraCore - GitHub repository is now open
- Submitting a Pull Request to Node.js with ChakraCore - Microsoft hit a major milestone on our roadmap by submitting a pull request to Node.js mainline to enable Node.js to work with ChakraCore.
- Babel Handbook - A guided handbook on how to use Babel and how to create plugins for Babel.
- GraphQL Overview - In this tutorial we’ll write a small GraphQL server to respond to requests from a Todo List app.
For 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 Chris of Arabia.