A while ago, Paul Wilkins and myself used to put out a weekly round-up of what was new and exciting in the world of JavaScript (aptly titled “This Week In JavaScript”).
We then moved to SitePoint’s main site and the title changed to On Our Radar. This move was only ever meant to be temporary and with the appointment of our lovely new community manager (@Jasmine ), On Our Radar passes to her capable hands (here’s the latest edition).
All of which means … you guessed it … This Week in JavaScript is making a comeback. (The complete list is tagged jsweekly. Don’t forget to check out our weekly .Net roundup too!)
So, without further ado, here’s what we’ve seen of interest this week.
Frameworks
AngularJS 2.0 has been making headlines this week as ng-conf 2015 took place. The core team addressed some of the concerns that 2.0 will introduce breaking changes, whilst it was announced that AtScript will be removed in favour of Typescript. On SitePoint we also had a good overview of What’s New in AngularJS 2.0.
This is a look at how AngularJS stacks up against Ember (in case you were wondering) and here’ an overview of how respective frameworks detect changes in the Dom.
Has anyone heard much about Aurelia? Aurelia is new on the scene and is the creation of Rob EIsenberg who recently joined and then left the Angular team. Rob was on the Changelog podcast recently talking about his next generation JavaScript client framework .
Finally, I read an interesting opinion piece on the proliferation of JavaScript frameworks and the rapidly changing nature of their ecosystems and the browser. This is a quote from that article that had me nodding my head:
Most programming languages support a small number of popular, stable application frameworks. Objective-C and Swift apps use Apple’s excellent Cocoa framework. Ruby apps more often than not use Rails. Java has a handful of established web app frameworks, and they come and go relatively slowly.
In the meantime, the latest and greatest JavaScript framework comes around every sixteen minutes.
So who’s got it right? Angular, Ember, Aurelia, <insert-framework-here>, or no framework. What do you think?
React All the Things
SitePoint is Reacting all the things. Here’s a video of a talk given by @orodio on building async apps with React and Flux.
Here we have an introduction to Facebook’s Flux architecture (in case you’re wondering what that was), as well as a great piece by @AurelioDeRosa entitled an Introduction to the React JavaScript Library.
The JavaScript Jabber guys interviewed two of the React core team on a recent podcast where they discussed (amongst other things) React Native (which replaces the DOM manipulation with UIKit manipulation or Android view manipulation allowing you to build native applications on iOS and Android that feel native and authentic to the platform).
Libraries
Some cool libraries which caught my attention this week:
- Hacker News reader built in Ember (yay for frameworks)
- Overscroll.js: displays small Easter eggs when the screen is scrolled beyond the height of the window (demo)
- Alton: a jQuery-powered scroll jacking plugin with a bunch of options (demo)
- RJImageLoader: an image loading animation which shows a circular progress indicator, and then reveals the image in an expanding circular ring.
- highlight.js: syntax highlighting for the Web (demo)
That’s All Folks
So, I hope some of these links proved interesting or useful. I’d be particularly glad to hear your thoughts on the framework debate. Before I leave you, here are a couple of random links that didn’t fit in any of the categories above — Flexbox in 5 minutes (a great interactive tour of flexbox) and why the following is true in JavaScript:
1 + {} // => "1[object Object]"
{} + 1 // => 1
Please PM us if you have anything of interest for the next issue, and happy reading! - Paul and Pullo.