Toptal Engineering Blog

The Toptal Engineering Blog is a hub for in-depth development tutorials and new technology announcements created by professional software engineers in the Toptal network.
Vadim Dagman
RxSwift and Animations in iOS

iOS developers love the power of UIKit, and animating a UIView is usually fairly easy. However, if you want to chain animations together and set up dependencies between them, your code can quickly become difficult to read with many nested closures and indentation levels.

In this article, I’ll explore how to apply the power of a reactive framework such as RxSwift to make that code look much cleaner as well as easier to read and follow. My client wanted a story told through a sequence of animations rather than by playing a pre-rendered video, and with RxSwift, we easily tweaked it to perfection.

Continue reading →
Marko Perutović
How to Leverage BLoC for Code Sharing in Flutter and AngularDart

Code reuse turns lazy developers into efficient geniuses. Imagine if you could write the majority of your code once and run it on the web and native mobile—both iOS and Android.

In this article, Toptal Freelance Dart Developer Marko Perutović introduces us to the BLoC pattern, whereby you can isolate your business logic in pure Dart and reuse it in both Flutter and AngularDart.

Continue reading →
Radosław Szalski
Terraform AWS Cloud: Sane Infrastructure Management

Writing an application is only part of the story. In order for it to be of value, it needs deploying somewhere it can scale; it has to run with high availability, have backups, and so on. Deployment and infrastructure management isn’t a simple process. And Terraform does nothing to hide the complexity. However, it does make your infrastructure declarative and reproducible, like your code.

In this article, Toptal Freelance DevOps Engineer Radosław Szalski teaches us what Terraform is, how its components work, and how to configure an entire AWS Cloud solution in minutes using its configuration language.

Continue reading →
Youssef Sherif
Is It Time to Use Node 8?

Node 8 has brought significant performance and feature upgrades. Should you use it on new projects? Is it worth upgrading existing codebases? In this article, Toptal Freelance JavaScript Developer Youssef Sherif gives a tour of Node 8’s biggest changes and what they mean for your project.

Continue reading →
Alexey Karasev
Option/Maybe, Either, and Future Monads in JavaScript, Python, Ruby, Swift, and Scala

If you’re searching for the holy grail of bug-free code in JavaScript, Python, Ruby, Swift, and/or Scala, look no further! This monad tutorial by Toptal Freelance Functional Programmer Alexey Karasev takes you from category theory to the practical implementations of the Option/Maybe, Either, and Future monads, plus a sample program—in all five languages.

Continue reading →
Ben Gottlieb
Collusion: Nearby Device Networking with MultipeerConnectivity in iOS

Traditionally, connecting devices for peer-to-peer communications has been a tedious task: An application needs to discover what’s around it, open connections on both sides, and then maintain them as network infrastructure, connections, distances, etc. Realizing the difficulties inherent in these activities, in iOS 7 and macOS 10.10 Apple introduced its MultipeerConnectivity framework.

Join Toptal Freelance iOS Developer Ben Gottlieb as he explains what MultipeerConnectivity is, and teaches us how to use it.

Continue reading →
Gilad Haimov
How to Create an ERC20 Token the Simple Way

The humble ERC20 token specification has become the de facto standard for Ethereum tokens. If you come across an Ethereum smart contract, chances are it’s ERC20-compliant.

In this guide, Toptal Freelance Ethereum Developer Gilad Haimov demonstrates how you can create and deploy your own ERC20 token in under an hour.

Continue reading →
Alexander Zinchuk
5 Things You Have Never Done with a REST Specification

The existence of RESTful APIs is a popular myth in web development—but it’s a myth we can work with. The right tools can help keep documentation consistent and streamline automated testing. In this article, Toptal Freelance JavaScript Developer Alexander Zinchuk explores several time-saving approaches to developing REST APIs, with examples in Node.js and Ruby on Rails.

Continue reading →
Subscribe
Free email updates
Get the latest content first.
No spam. Just great articles & insights.
Free email updates
Get the latest content first.
Thank you for subscribing!
Check your inbox to confirm subscription. You'll start receiving posts after you confirm.