The Angular section is filled with stories about the transition from Angular 1.x to Angular 2 and on React section we have a performance comparison between most popular frameworks. Aurelia and Vue also had a fair share of stories this week and we choose three of each.
Lastly, the Google Research team has announced Guetzli, a new open source JPEG compression algorithm that offers 35% smaller files than the current algorithms without sacrificing the image quality. We'll surely hear more about it in the future.
Authored by: yamalight
Several people asked me for advice on becoming a better programmer. For some reason, people see me as a pretty advanced programmer worth listening to. I thought it would be worthwhile to write down my "mental model" for how I have approached programming over the years.
Authored by: James “Jimmy” Long
How many programming languages do you know? According to our recent survey, around 80% of readers know at least two. Well over half of you use PHP on a regular basis, and I'd be willing to bet a significant number started web development with the language, as did I.
Authored by: Nilson Jacques
The ECMAScript proposal “import()” by Domenic Denicola is currently at stage 3. It enables dynamic loading of ECMAScript modules and is explained in this blog post.
Authored by: Axel Rauschmayer
WebAssembly, a new binary execution format for the Web, is starting to arrive in stable versions of browsers. A major goal of WebAssembly is to be fast. This post gives some technical details about how it achieves that.
Authored by: Mozilla Hacks
An exploration of how PouchDB's synchronization engine could be updated to work well with Service Worker concepts.
Authored by: Nolan Lawson
ECMAScript 6 introduced Promises to simplify program flow. However, when using promises we still need callbacks and it’s not always clear what the program does.
Authored by: Matan Sokolovsky
Few days back, I was guiding some new node.js developers on making asynchronous stuffs. We were discussing about async apis of node js. I wanted to provide them with some references and googled for few; but surprisingly, majority of the articles out there in the internet about setImmediate() or process.nextTick() was containing insufficient or misleading information.
Authored by: Paul Shan
In this article (part two) we will examine a more modular component architecture. We will look at how to break this single component into a structured tree of smaller components that are easier to understand, re-use and maintain.
Authored by: Jurgen Van de Moere
We will be building out a very simple button component. The functionality of the button will be rudimentary, as the focus of this article will be on getting development setup and providing a module that is importable.
In Angular 1.x, using ng-repeat is pretty simple, we pass the directive some data and it automagically renders out for us. Let's take a look!
Authored by: Todd Motto
Component-based architecture has been around for a while and quickly became the de facto standard for building web applications; it just feels natural to compose interfaces using small building blocks.
Authored by: Carlos Vega
Originally, Angular 1.x was created to help developers build enterprise applications faster. With the introduction of ngAnimate written by Matias Niemelä, Angular 1.x suddenly offered something for everyone.
Authored by: Lukas Ruebbelke
We will now introduce another way to define simple components. You will not only write less code, but you will also benefit from performance optimizations done by React. Let’s introduce functional components.
Authored by: Zsolt Nagy
Imagine that user A logs into your system and receives the data that is only related to him and then logs out. After 5 minutes user B logs in and 💣! He still receives the same data as user A.
Authored by: netanel basal
The guys at BT have been busy playing with AngularJS2 and have are ready to share some initial performance results and show how well Angular2 compares with React.
Authored by: Aris Markogiannakis
Newly released under a release candidate, is better support for Webpack in Aurelia. We won't be detailing how to setup a new Webpack application, but how you can leverage code splitting to reduce the size of your application.
Authored by: Dwayne Charrington
Adding i18n support in aurelia is as easy as adding the aurelia-i18n plugin and configuring it. This article describes a way of combining aurelia's value-converters with i18n, to allow reusing them in your locales.
Authored by: Aurelia
A few people have actually asked me this question, so I thought a helpful blog post for reference would finally answer the question: What's the difference between static inject and @inject in Aurelia? The answer will surprise you. There is no difference between either.
Authored by: Dwayne Charrington
Learn how to implement rudimentary server-side for your Vue.js apps.
Authored by: Alligator
The popularity of Vue.js has been climbing pretty fast. It hasn't reached the levels of Angular or React yet, but in the year that the current VueJS repo has existed on Github, it has garnered approximately 2,700 watchers and 47,000 stars.
What makes VueJs special is the fact that was designed to be incrementally adoptable, the core is dedicated to the view layer only but you can combine it with other libraries in order to create great single pages apps.
Authored by: Jose Mendez
Writing command line tools has become easier than ever before because of Node.js - not just any command line tools, but tools that are interactive, useful and less time-consuming to develop.
Authored by: Nihar Sawant
File uploading is a common feature that almost every website needs. We will go through step by step on how to handle single and multiple file(s) upload with Hapi, save it to database, and retrieve the saved file for viewing.
Authored by: Jecelyn Yeen
A functor is something that can be mapped over. In other words, it’s a container which has an interface which can be used to apply a function to the values inside it. When you see the word functor, you should think “mappable”.
Authored by: Eric Elliott
One of those learners was working on a production project that is a good fit for Redux, so instead of working out how to fix the timing with setState(), I recommended that we just replace setState() with Redux.
Authored by: Eric Elliott
Recently I saw an interesting Elm-like tiny framework for making web apps called HyperApp. The syntax looks great, and it is compatible with ES6 template strings, making it easy to try right from NPM + CDN.
Authored by: Gleb Bahmutov
We’re excited to announce Guetzli, a new open source algorithm that creates high quality JPEG images with file sizes 35% smaller than currently available methods, enabling webmasters to create webpages that can load faster and use even less data.
Authored by: Google Research
Today, we'll go over how to build a room scale WebVR Minecraft demo that works on HTC Vive, Oculus Rift, Samsung GearVR, Google Cardboard, desktop, and mobile.
Authored by: Kevin Ngo
Testing your code always seems to be a pain in the neck. Learn how to make your asynchronous unit testing simpler by using async/await, Jasmine, and NodeJS.
Authored by: Cliff Hall
Authored by: DA-14