Toptal Blog
The Toptal Blog is the top hub for developers, designers, management consultants, executives, and entrepreneurs, featuring key technology updates, tutorials, freelancer resources, and management insights.
Featured in
World-class articles, delivered weekly.
Django, Flask, and Redis Tutorial: Web Application Session Management Between Python Frameworks
I love and use Django in lots of my personal and client projects, mostly for those involving relational databases and more classical web applications. However, by design, Django is very tightly coupled with its ORM, Template Engine System, and Settings object. Plus, it’s not a new project: it carries a lot of baggage from the past to remain backwards compatible.
In a few of my client projects, we’ve chosen to give up on Django and use a micro framework like Flask, typically when the client wants to do some interesting stuff with the framework. At the same time, we often need user registration, login, and more, all of which is easily handled with Django.
The question emerged: is Django an all-or-nothing deal? Should we drop it completely from the project, or is there a way to combine some it with the flexibility of other frameworks?

Denis Kyorov
Denis is an experienced Python/Go developer (7+ years) who has contributed to a wide range of challenging back-end projects.
Concurrency and Fault Tolerance Made Easy: An Akka Tutorial With Examples
Writing concurrent programs is hard. Having to deal with threads, locks, race conditions, and so on is highly error-prone and can lead to code that is difficult to read, test, and maintain. This post provides an introductory guide to the Scala-based Akka framework, showing (with code samples) how Akka facilitates and simplifies the implementation of robust, concurrent, fault-tolerant applications.

Diego Castorina
Diego has been a senior freelance engineer for the likes of Italian telecom powerhouse Italtel. He also cofounded a web-based CRM business.
Mobile App Development vs. Mobile Web Development: When, Why, and How
Mobile web development—optimizing web apps for mobile devices—is necessary for modern apps. Discover the best methods and tools for the development of highly functional, intuitive, and easy-to-use mobile web apps.

Tomas Agrimbau
Tomas is a seasoned web developer proficient in both front-end and back-end development with PHP. He excels in responsive web design.
Python Class Attributes: An Overly Thorough Guide
In a recent phone screen, I decided to use a class attribute in my implementation of a certain Python API. My interviewer challenged me, questioning whether my code was syntactically valid, when it was executed, etc. In fact, I wasn’t sure of the answers myself. So I did some digging.
Python class attributes: when (or how) to use them. In this guide, I walk you through common pitfalls and conclude with a list of valid use cases that could save you time, energy, and lines of code.

Charles Marsh
Charles has been an engineering lead at Khan Academy, Cedar, and Spring Discovery.
Elasticsearch for Ruby on Rails: A Tutorial to the Chewy Gem
Elasticsearch provides a powerful, scalable tool for indexing and querying massive amounts of structured data, built on top of the Apache Lucene library.
Building on the foundation of Elasticsearch and the Elasticsearch-Ruby client, we’ve developed and released our own improvement (and simplification) of the Elasticsearch application search architecture that also provides tighter integration with Rails. We’ve packaged it as a Ruby gem named Chewy.
This post discusses how we accomplished this, including the technical obstacles that emerged during implementation.

Arkadiy Zabazhanov
Arkadiy is a senior Ruby on Rails developer. He enjoys working with databases and open-source initiatives on GitHub.
Modernizing Legacy Software: MUD Programming Using Erlang and CloudI
The need to adapt legacy code and systems to meet modern day performance and processing demands is widespread. This post provides a case study of the use of Erlang and CloudI to adapt legacy code, consisting of a decades-old collection of multi-user game software written in C, to the 21st century.

Michael Truog
Michael is a distributed systems and fault tolerance expert, having worked with AT&T, E*Trade, Nokia and others.
Automated Android Crash Reports with ACRA and Cloudant
Making a basic Android app is easy. But making it reliable, scalable, and robust, on the other hand, can be quite challenging. With thousands of available devices pumped out from tons of different manufacturers, assuming that a single piece of code will work reliably across phones is naive at best. Segmentation is the greatest tradeoff for having an open platform, and we pay the price in the currency of code maintenance, which continues long after the app passes the production stage.
In this post, we’ll walk through a solution: automated crash reporting with ACRA and a Cloudant back-end, all visualizable with acralyzer.

Ivan Dimoski
Ivan is an accomplished Android developer and consultant with six years of experience developing user-friendly applications.
A Guide to Building Your First Ember.js App
As modern web applications do more and more on the client-side (the fact itself that we now refer to them as “web applications” as opposed to “web sites” is quite telling), there has been rising interest in client-side frameworks. There are a lot of players in this field but for applications with lots of functionality and many moving parts, two of them stand out in particular: Angular.js and Ember.js.
Angular.js has already been introduced on this blog, so we’re going to focus on Ember.js in this post, in which we’ll build a simple Ember application to catalog your music collection. You’ll be introduced to the framework’s main building blocks and get a glimpse into its design principles.

Balint Erdi
Balint has been practicing TDD since before it became popular. He was a classic PHP coder, and has since moved on to Java, Python, and Ruby.
Computational Geometry in Python: From Theory to Application
When people think computational geometry, in my experience, they typically think one of two things:
1. Wow, that sounds complicated.
2. Oh yeah, convex hull.
In this post, I’d like to shed some light on computational geometry, starting with a brief overview of the subject before moving into some practical advice based on my own experiences in computational geometric programming with Python.

Charles Marsh
Charlie (BCS, Princeton) has been an engineering lead at Khan Academy, then Cedar, and nowadays does ML at Spring Discovery.
Most-read Articles

An Angular 5 Tutorial: Step by Step Guide to Your First Angular 5 App

Adobe XD vs. Sketch – Which UX Tool Is Right for You?

The History of Remote Work, 1560-Present (with Infographic) (Updated)
World-class articles, delivered weekly.
Toptal Developers
- Android Developers
- AWS Developers
- Azure Developers
- BigCommerce Developers
- Blockchain Developers
- Coders
- Database Developers
- Embedded Software Engineers
- Flutter Developers
- HTML5 Developers
- Java Developers
- Joomla Developers
- Kubernetes Developers
- Laravel Developers
- Magento Developers
- Mobile App Developers
- .NET Developers
- Next.js Developers
- Odoo Developers
- Outsourced Developers
- PHP Developers
- Power BI Developers
- Prototype Developers
- Python Developers
- React Developers
- React Native Developers
- Remote Developers
- Ruby on Rails Developers
- Salesforce Developers
- Security Engineers
- SharePoint Developers
- Shopify Developers
- Software Developers
- Squarespace Developers
- Startup Developers
- Svelte Developers
- Twilio Developers
- Vue.js Developers
- Web Developers
- Web Scraping Developers
- WooCommerce Developers
- WordPress Developers
- View More Freelance Developers
Toptal Designers
- Accessible Web Designers
- Adobe After Effects Designers
- Adobe Illustrator Experts
- CAD Designers
- Canva Designers
- Data Visualization Designers
- E-commerce UX Designers
- E-commerce Website Designers
- Fintech Designers
- Graphic Designers
- Illustrators
- Interactive Designers
- Landing Page Designers
- Logo Designers
- Mobile App Designers
- Mobile UX Designers
- Photoshop Experts
- Presentation Designers
- Product Designers
- Prototype Designers
- Responsive Web Designers
- Shopify Designers
- Startup Design Experts
- SVG Designers
- UI Designers
- UX Designers
- Web Designers
- Webflow Designers
- WooCommerce Designers
- View More Freelance Designers
Toptal Management Consultants
- 409A Valuation Consultants
- AI Change Management Consultants
- AI Consultants
- AI Ethics Specialists
- Bankruptcy Consultants
- Blockchain Consultants
- Business Consultants
- Business Plan Writers
- Business Process Automation Consultants
- Cash Flow Consultants
- CFO Consultants
- Corporate Finance Consultants
- CPAs
- Crowdfunding Consultants
- Excel Experts
- Financial Consultants
- Financial Managers
- Financial Modelers
- Financial Planning Consultants
- Fintech Consultants
- FP&A Analysts
- Fractional CFOs
- Fractional COOs
- Fundraising Consultants
- Hedge Fund Consultants
- Interim CFOs
- Interim COOs
- Interim Financial Controllers
- M&A Consultants
- Market Research Analysts
- McKinsey Consultants
- Oracle Cloud Consultants
- Part-time CFOs
- Pitch Deck Consultants
- Predictive Analytics Consultants
- Pricing Consultants
- Private Equity Consultants
- Quantitative Analysts
- Salesforce Consultants
- Small Business Operations Consultants
- Startup Consultants
- Startup Funding Consultants
- Statistical Modeling Consultants
- Stock Market Experts
- Tax Professionals
- Virtual CFOs
- View More Freelance Consultants
Toptal Project Managers
- Agile Coaches
- Agile Consultants
- Agile Team Leads
- Blockchain Project Managers
- Business Delivery Managers
- ClickUp Experts
- Delivery Managers
- Digital Project Managers
- E-commerce Project Managers
- ITIL Certified Service Delivery Managers
- Jira Experts
- Mobile Project Managers
- Monday.com Experts
- PMP Project Managers
- Program Managers
- Project Management Consultants
- Scrum Coaches
- Scrum Masters
- Solutions Architects
- Startup Project Managers
- Waterfall Project Managers
- Web Project Managers
- Wrike Consultants
- View More Freelance Project Managers
Toptal Product Managers
- Agile Product Managers
- App Product Managers
- Artificial Intelligence Product Managers
- Business Analysts
- Contract Product Managers
- Data Product Managers
- Digital Product Managers
- E-commerce Product Managers
- Finance Product Managers
- Fractional CIOs
- Ideation Consultants
- Interim CPOs
- Outsourced Product Management Professionals
- Principal Product Managers
- Product Consultants
- Product Development Managers
- Product Leaders
- Product Management Consultants
- Remote Product Managers
- Robotics Product Managers
- Scrum Product Managers
- Scrum Product Owners
- Virtual Product Managers
- View More Freelance Product Managers
Toptal Marketing Experts
- Amazon SEO Experts
- Blog Writers
- Community Managers
- Content Managers
- Conversion Rate Optimization Experts
- Copy Editors
- Copywriters
- Customer Journey Mapping Consultants
- Digital Marketers
- Digital Media Specialists
- Display Ads Specialists
- E-commerce Consultants
- E-commerce Marketers
- Event Marketers
- Event Planners
- Fractional CMOs
- Google AdSense Experts
- Google Ads Experts
- Influencer Marketers
- Integrated Marketing Strategists
- Local SEO Experts
- Mailchimp Experts
- On-page SEO Experts
- PPC Experts
- Press Release Writers
- Salesforce Pardot Consultants
- SEO Audit Specialists
- SEO Copywriters
- SEO Experts
- Shopify SEO Experts
- Social Media Managers
- Social Media Marketers
- Video Editors
- Wordpress SEO Experts
- View More Freelance Marketers
Join the Toptal® community.











