web development

Testing Components in React Using Jest and Enzyme

This is the second part of the series on Testing Components in React. If you have prior experience with Jest, you can skip ahead and use the GitHub code as a starting point. 

In the previous article, we covered the basic principles and ideas behind test-driven development. We also set up the environment and the tools required for running tests in React. The toolset included Jest, ReactTestUtils, Enzyme, and react-test-renderer. 

Categories: 

Get Started With Pusher: Client Events

In this series,
we've been learning about Channels from Pusher, a
platform that allows you to give your users the seamless real-time experience
they want. 

Categories: 

How to Do User Authentication With the Symfony Security Component

In this article, you'll learn how to set up user authentication in PHP using the Symfony Security component. As well as authentication, I'll show you how to use its role-based authorization, which you can extend according to your needs.

The Symfony Security Component

The Symfony Security Component allows you to set up security features like authentication, role-based authorization, CSRF tokens and more very easily. In fact, it's further divided into four sub-components which you can choose from according to your needs.

Categories: 

How to Deploy an App to Firebase With Angular CLI

Angular CLI is a command-line interface for Angular and one of the easiest ways to get your app started. The beauty of using Angular CLI is that it lets you focus on your code, without having to worry about the structure of your application, since all the necessary files are generated for you.

It is very easy to create production-ready applications with Angular CLI. On the other hand, Firebase makes it fast to host applications. In addition, Firebase has a lot of features and a free plan that lets you experiment with the platform without being tied to a paid plan.

Categories: 

Android Architecture Components: Using the Paging Library With Room

In this tutorial, I'll show you how to use the Paging library from the Android Architecture Components with a Room-backed database in an Android app. 

You'll learn how to use the Paging library to efficiently load large data sets from a Room-backed database—giving your users a smoother experience while scrolling in a RecyclerView. 

Prerequisites

To be able to follow this tutorial, you'll need:

Categories: 

New Course: Machine Learning With Google TensorFlow

Do you want to learn how to use deep neural networks and machine learning in your apps? Try our new course, Learn Machine Learning With Google TensorFlow, to get up-to-date with the latest developments in this cutting-edge technology.

What You’ll Learn

More and more users are starting to expect their apps and devices to be capable of recognizing patterns and making decisions in much the same way as humans do.

Categories: 

10 Best Android News App Templates

The best news app templates organise news into a few broad categories, allow users to save news stories they want to read later in a favourites list, and have a powerful search feature that helps them find relevant news stories quickly and easily. 

Categories: 

How to Code With Swift on the Server

Final product image
What You'll Be Creating

Categories: 

Testing Components in React Using Jest: The Basics

Final product image
What You'll Be Creating

Categories: 

Google Flutter From Scratch: Grids, Lists and Data Sources

Almost every non-trivial mobile app today is likely to have lists in its layouts. That's because using a scrollable list is often the most straightforward way to display a large number of similar items on a small screen. 

The Flutter framework offers several widgets you can use to efficiently, and with minimal code, create and display such lists. In this tutorial, I'll show you how to use them with both local and remote data sources.

Categories: