The key reason for Eric Rozell’s investigation of ChakraCore was to support the React Native framework on the Universal Windows Platform, which is a framework for declaring applications using JavaScript and the React programming model. Embedding ChakraCore in a C# application is quite easy and in this article, Eric Rozell will show you how.
Read more…
REST stands for “representational state transfer,” For the last few years, whenever somebody wants to start building an HTTP API, they pretty much exclusively use REST as the go-to architectural style, over alternative approaches such as XML-RPC, SOAP and JSON-RPC. In this article, Phil Sturgeon discusses two approaches in the context of building HTTP APIs. RPC and REST can both be used via other transportation protocols, such as AMQP, but that is another topic entirely.
Read more…
Traditionally, scaling was mostly relevant for server-side systems. As more and more users would use your application, you needed to make sure that you could add more servers to your cluster, that your database could be split across multiple servers, and so on. Due to rich web applications, scaling has become an important topic on the frontend. The frontend of a complex app needs to be able to handle a large number of users, developers and parts. In this article, Max Stoiber shares everything you need to now about React Boilerplate to get started.
Read more…
One of the upcoming features of JavaScript that I especially like is the support for asynchronous functions. In this article, I would like to show you a very practical example of building a server-side application using Koa 2, a new version of the web framework, which relies heavily on this feature.
First, I’ll recap what async functions are and how they work. Then, I’ll highlight the differences between Koa 1 and Koa 2. After that, I will describe my demo app for Koa 2, covering all aspects of development, including testing (using Mocha, Chai and Supertest) and deployment (using PM2).
Read more…
In the previous article, Clayton Anderson showed you how React Native can help you make iOS and Android apps with a shared code base, without sacrifices in quality. But what about the web? React Native for Web is intended to let you write a single app that runs in a browser using standard web technologies, or on iOS and Android as a real native mobile app. While I don’t think the project is ready for production use yet, its potential success could mark a massive change in how large multi-platform applications are built. Let’s jump in!
Read more…
ECMAScript 6 has brought hundreds of small and big improvements to JavaScript. More and more, developers are using ECMAScript 6 features, and soon these features will be unavoidable. In this tutorial, Faraz Kelhini will explore arguments and parameters in detail and see how ECMAScript 6 has upgraded them.
Read more…
Transitions between pages can enhance the experience by retaining the user’s context, maintaining their attention, and providing visual continuity and positive feedback, while also being aesthetically pleasing and fun and can reinforce branding when done well. In this article, Luigi De Rosa will create, step by step, a transition between pages. He will also talk about the pros and cons of this technique and how to push it to its limit.
Read more…
Redux is a predictable state container for JavaScript apps. It’s an application data-flow architecture, rather than a traditional library or a framework like Underscore.js and AngularJS. It is used mostly for application state management. To summarize it, Redux maintains the state of an entire application in a single immutable state tree (object), which can’t be changed directly. When something changes, a new object is created (using actions and reducers). Today, Alex Bachuk will go over the core concepts in detail.
Read more…
In this article, Adam Simpson will cover Grunt, Gulp, Webpack and npm scripts, providing some examples of each one to get you started into task runners. Task runners can solve real problems. Adam has used them to compile different builds of a JavaScript application, depending on whether the target was production or local development, or to compile Handlebars templates. Task runners are constantly evolving and changing, and in this article Adam will try to cover the most used ones in the current zeitgeist. Happy task running!
Read more…
The theremin’s unique sound proves perfect for sci-fi soundtracks and Good Vibrations by the Beach Boys. The world is a better place. With this tutorial, Stuart Memo hopes you could see how simple getting something musical up and running fairly quickly can be. You can even use the following techniques to make a synthesizer. Stuart created a little HTML keyboard called Qwerty Hancock to help you do this very thing. Feel free to show off your own creation!
Read more…