PHP Versions Used in Commercial Projects, 2016 Edition As in earlier reports on other languages (see Ruby, Node.js, Python), today we’re sharing data from Semaphore about usage distribution across versions of PHP in active private projects. Marko Anastasov 1 Dec 2016
Testing Common Redux Patterns in React Using AVA Introduction This is the second tutorial in our series on testing React and Redux applications. If you haven’t read the first part, we encourage you to do so. Redux is a library for managing state in React applications. Since the code using Redux is composed of many small pieces, it’s very easy to test it. […] Matija Marohnić 30 Nov 2016
How to Capture All Errors Returned by a Function Call in Elixir If there is an Elixir library function that needs to be called, how can we be sure that all possible errors coming from it will be captured? Elixir/Erlang vs. Mainstream Languages Elixir is an unusual language because it functions as a kind of a wrapper around another language. It utilizes Erlang and its rock solid […] Predrag Rakić 24 Nov 2016
Continuous Deployment of Golden Images with Packer and Semaphore In this tutorial, we’ll introduce you to Packer and its use cases. It covers using Packer to build an Amazon Machine Image (AMI) and deploying the application to AWS with a load balancer and autoscaling group. Prerequisites This tutorial involves a few mandatory tools and assumes a few things. You’ll need the following to complete […] Adam Hawkins 23 Nov 2016
Dockerizing a Java Play Application Introduction In this tutorial, we will learn how to run a Java Play application as a Docker container. Docker is a software containerization platform. It uses containers instead of hypervisors for a number of reasons. First of all, containers are lightweight and they have a lower memory footprint. Secondly, containers virtualize the operating system while […] Bengi Egima 16 Nov 2016
Python Versions Used in Commercial Projects, 2016 Edition In October we shared data on which versions of Ruby and Node.js developers use to get the job done. Next up is a report on Python, for which the main question is binary — is it Python 2 or 3 that developers use at work today? Marko Anastasov 11 Nov 2016
Sending ECS Service Logs to the ELK Stack Having comprehensive logs is a massive life-saver when debugging or investigating issues. Still, logging too much data can have the adverse effect of hiding the actual information you are looking for. Because of these issues, storing your log data in a structured format becomes very helpful. Also, being able to track the number of occurrences […] Jovan Ivanovic 10 Nov 2016
Testing Services in Angular 2 Introduction Services are important in any complex Angular architecture. They allow our code to share common functionality across our application. In this article, we’ll explore how to use a test-driven development (TDD) approach to incorporate services into our Angular applications. Prerequisites Before starting this article, it is assumed that you have: An understanding of Angular […] Matt Fehskens 9 Nov 2016
How BDD and Continuous Delivery Help Developers Maintain Flow Programming is cognitive work, and programmers perform their best work under intense concentration. While there are external factors that can affect this, such as having a quiet office, controllable ways of communication, etc., there are also some internal factors that need to be taken into account. In fact, the way we work can influence the […] Marko Anastasov 3 Nov 2016
Introduction to Testing Elixir Applications with ExUnit Introduction Every language needs a solid test framework, and that framework needs to provide mechanisms that allow a developer to exercise the features of the language. To that end, Elixir comes bundled with ExUnit to allow developers to make use of all the features Elixir provides without having to compromise on unit tests. In this […] Cody Boggs 26 Oct 2016
Getting Started with Create React App and AVA Introduction In React codebases, you can cover a lot of ground using just unit tests because the code is mostly universal. In this tutorial, you will learn how to unit test a simple todo application built with React and Redux using AVA. We will use AVA’s modern design to write tests using the latest JavaScript […] Matija Marohnić 25 Oct 2016
Using Page Objects with Protractor and Cucumber in Angular Applications Introduction In a previous tutorial, we explained how to couple Cucumber with Protractor tests. This combination serves well for testing user interactions with your AngularJS applications, as well as creating living documentation right into your tests. As your testing needs grow, it’s crucial to develop a testing infrastructure that is scalable and easy to maintain […] Mallory Mooney 19 Oct 2016
Designing Testable Lambda Functions Post originally published on https://claudiajs.com/. Republished with author’s permission. Introduction Effective test automation is one of the corner stones of modern software quality, but for many teams out there, moving to AWS Lambda creates major test automation challenges. With no control over infrastructure, and an almost magical execution environment, it can be difficult to judge […] Gojko Adžić 17 Oct 2016
Getting Started with Node.js and LoopBack Introduction As APIs become more and more ubiquitous, it becomes increasingly important than ever that your application successfully delivers production quality APIs to your users in a fast and efficient manner. Node.js and LoopBack are here to help you do just that. LoopBack is a highly-extensible, open-source Node.js framework that enables you to create dynamic […] Nicholas Duffy 12 Oct 2016
Node.js Versions Used in Commercial Projects, 2016 Edition Following up on our last week’s post for Ruby, we’re presenting the second annual report of Node.js version usage in commercial JavaScript projects on Semaphore (see 2015 numbers here). We think it’s always interesting to see what people are using to get the job done, and projects actively using continuous integration can be a solid […] Marko Anastasov 12 Oct 2016