89 posts found under,

code

Have you heard of the "new kid" in Back-End town? Well, he has been around for a while now, coming up on 8 years, but many people paid him no attention, as they were busy with their own PHP, Python, Java, etc. But now, he is shining brighter than ever. He blossomed into a jack-of-all-trades, and a definite master of more-than-just-one; and his name is Node.js. About Node.js is an open-source, cross-platform JavaScript runtime environment for serv [...]

DrupalConsole is a great CLI tool for Drupal 8. As we have seen in our Introduction to DrupalConsole, it is designed for generating boilerplate code and interacting with a Drupal site. The DrupalConsole Launcher executes console commands from the terminal. A console command should be as light as possible and not attempt to do too much. This article assumes you have installed the DrupalConsole Launcher and Drupal 8. Preferably, you should have rea [...]

DrupalConsole is a command line interface (CLI) tool for the generation of boilerplate code, speeding up of administration tasks, and interaction with a Drupal 8 site. A similar tool, Drupal Shell (Drush), grew out of the need for managing Drupal sites from the terminal, which reduces the time it takes to perform numerous administrative tasks, without many clicks and page refreshes in the browser. With the decision to build Drupal 8 on existing [...]

Many applications require keeping track of when database records are created and updated. In PostgreSQL, we can track creation date by adding a created_at column with a default value of NOW(). However, for tracking updates, we will need to make use of triggers. Triggers allow us to define functions to be executed whenever a certain type of operation is performed. In this case, we will need to make sure that before any UPDATE operation, PostgreSQL [...]

As X-Team's remote developers have the privilege of working within the #unleash program, we grow and up-skill continually in areas of interest to each of us. I have found some ways I like to make the most of this up-skilling time, and I would like to share them with you in this short, two-part post series: An Elm Case Study. You are reading Part I. Part II is now available as well. Target audience Someone interested in learning more about Elm Jun [...]

I recently had to build a RESTful backend for a new application and had to decide which authentication mechanism to use. Typically, I would use HTTP sessions. However, this app was going to have both web and mobile clients, and I had been reading about how JSON Web Tokens (JWT) have become the de-facto authentication mechanism for mobile apps, so I decided to give them a try. As I started doing some reading on JWT, I was a bit surprised by the l [...]

This blog marks the beginning of a new series on our blog. Unlike our new X-perience series, which focuses on sharing our engineers' experience on specifics, the X-periment series will contain ideas, contrasting opinions, and discussions on other topics, where we aim to give a broader as opposed to in-depth overview. So, without further ado, let us dive right in. Integration testing is one of those topics where opinions often clash. What should [...]

In this article, we will learn how to convert our Android Java View components to React Native. This is especially interesting, if we need to use a Java UI library or implement a custom View component in our React Native app. React native offers two binding options for Native Android. Native Modules Native UI Components The first one calls a native operation from the Javascript side, e.g. establishes a Bluetooth connection, reads a value from a s [...]

Some consider it an unholy arcana. Others hail it as the future of programming. What cannot be denied, however, is that, with the advent of Redux and Elm, the interest in functional programming has exploded. We have talked with an X-Teamer who has been a part of the functional programming community for a long time. Michal Kawalec, a dedicated member of the Haskell community, has shared with us his thoughts on all things FP. Michal, thank you for [...]

For some time now, I have been practicing a very strict way of keeping my local development machine clean and universal. Working as Developer Unleasher for X-Team, I am in a unique position of having to deal with several different programming languages and technologies. Very often, I switch between projects or start new ones. For all those reasons, I like to keep my computer free of any packages or services that are required to run specific pro [...]

Scale your
Development team

We help you execute projects by providing trusted developers who can join your team and immediately start delivering high-quality code.

Hire Developers
code