Back-end

Showing 17-24 of 240 results

Caching and Connection Handling in .NET: An Aspect-Oriented Programming Tutorial

by Marko Pađen

We reduce boilerplate with common OOP patterns, but often, the code overhead of using patterns is almost the same—if not bigger—than if we’d used boilerplate code in the first place. In aspect-oriented programming tutorial, we implement two functions (aspects) that allow for generic database connection management and caching. These allow us to mark methods that, when called, will automatically have the required functionally present in through IL weaving.

12 minute readContinue Reading

An Array of Possibilities: A Guide to Ruby Pattern Matching

by Noppakun Wongsrinoppakun

Pattern matching is a powerful tool commonly found in functional programming languages. The Ruby 2.7 release is going to include this feature. In this article, Toptal Ruby Developer Noppakun Wongsrinoppakun provides a breakdown of what this addition will include and why it matters.

8 minute readContinue Reading

How to Create an SSO Button – A Flask Login Tutorial

by Son Nguyen Kim

Single sign-on is great for users, sparing them from memorizing yet another password; for businesses, removing frictio; and for developers, since less code means less things that can go wrong. In this Flask login tutorial, we’ll write a step-by-step guide to add a SSO login button into a Flask application with SimpleLogin and Facebook as an identity provider.

6 minute readContinue Reading

Accelerate with BERT: NLP Optimization Models

by Jesse Moore

For a successful natural language processing project, collecting and preparing data, building resilient pipelines, and getting "model ready" can easily take months of effort even with the most talented engineers. But what if we could reduce the data required to a fraction? In this article, we’ll cover how transfer learning is making world-class models open source and introduce BERT (bidirectional encoder representations from transformers). BERT is the most powerful NLP “tool” to date. We’ll explore how it works and why it will change the way companies execute NLP projects.

6 minute readContinue Reading

Build with Confidence: A Guide to JUnit Tests

by Nikhil Bansal

In an age of continuous delivery, Java developers have to be confident that their changes don't break existing code, hence automated testing. There's more than one valid approach to it, but how can you keep them straight?

10 minute readContinue Reading

How to Build a Role-based API with Firebase Authentication

by Joaquin Cid

Nearly every app requires an authorization system on top of an authentication system. We often need a fine-grained permissions model to allow only specific users to access certain resources while simultaneously restricting access for everyone else. In this tutorial, Toptal Freelance Firebase Developer Joaquin Cid teaches how to build just such a system. Called a role-based authentication, we’ll learn how to implement this system in an API using Node.js and Firebase.

15 minute readContinue Reading

Make Your App Profitable, Part 2 – Harnessing the Mobile Funnel

by Matthew Knippen

Subscription-based apps need a special approach when it comes to analytics. Learn how a variation on the traditional sales funnel helps you work with LTV, subscriber retention, and churn rates to make your app better—and more profitable.

10 minute readContinue Reading

Creating Your First GraphQL API

by Ioram Gordadze

GraphQL is a domain-specific language for data query and manipulation by Facebook. It is meant to replace the de facto REST standard in API creation. In this article, Toptal Freelance GraphQL Developer Ioram Gordadze creates a GraphQL API from scratch, summarizing problems new GraphQL developers face. He also teaches us to rethink the standard methods used in REST APIs in a more GraphQL-friendly manner.

16 minute readContinue Reading

Join the Toptal® community.