<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/tuts_plus/best-of/2021" -->

---
title: Best Tuts+ posts of 2021 | daily.dev
description: The most upvoted Tuts+ posts of 2021, curated by the daily.dev community.
canonical: https://daily.dev/sources/tuts_plus/best-of/2021
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/tuts_plus/best-of/2021
og:type: website
og:site_name: daily.dev
og:title: Best Tuts+ posts of 2021 | daily.dev
og:description: The most upvoted Tuts+ posts of 2021, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Tuts+ — 2021

1. 1  
[](/posts/best-free-and-open-source-javascript-animation-libraries-jwvipq68g "Best Free and Open Source JavaScript Animation Libraries")  
[![tuts_plus's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tuts_plus)](/sources/[source]/best-of/[year])  
6m read time • Jun 17, 2021  
### Best Free and Open Source JavaScript Animation Libraries  
There are many elements on a webpage that can be animated to make it come alive. In this article, I show you eight of the best free and open-source JavaScript animation libraries that you can use in your projects today. Mo.js is an excellent library for adding JavaScript-based motion graphics to your website.

+2  
![Post Cover image](https://cms-assets.tutsplus.com/uploads/users/769/posts/37072/preview_image/animation libraries weird tv 2.jpg)  
100  
11
2. 2  
[](/posts/understanding-function-currying-in-javascript-and-when-to-use-it-o06wlkm8l "Understanding Function Currying in JavaScript—and When to Use It")  
[![tuts_plus's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tuts_plus)](/sources/[source]/best-of/[year])  
5m read time • Oct 09, 2021  
### Understanding Function Currying in JavaScript—and When to Use It  
function currying is an advanced technique for working with JavaScript functions. Currying is the technique of converting a function that takes multiple arguments into a sequence of functions that each take a single argument. In the next section, we’ll go through a real-world example to demonstrate how it works.

+1  
![Post Cover image](https://cms-assets.tutsplus.com/uploads/users/413/posts/37867/preview_image/js_functions_400x277.png)  
59  
5
3. 3  
[](/posts/24-javascript-best-practices-for-beginners-j1xazefrm "24 JavaScript Best Practices for Beginners")  
[![tuts_plus's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tuts_plus)](/sources/[source]/best-of/[year])  
7m read time • Jun 30, 2021  
### 24 JavaScript Best Practices for Beginners  
This week, we'll review JavaScript. Use === instead of == when comparing. Don't use Shorthand. Place Scripts at the Bottom of Your Page. Use Literals to replace some of your template literals to make working with them easier. Use JSLint.

+2  
![Post Cover image](https://cdn.tutsplus.com/net/uploads/legacy/350_bestPractices/Optimized.200x200.png)  
36  
7
4. 4  
[](/posts/php-magic-methods-cheatsheet-l6iweezrn "PHP Magic Methods Cheatsheet")  
[![tuts_plus's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tuts_plus)](/sources/[source]/best-of/[year])  
8m read time • Dec 31, 2021  
### PHP Magic Methods Cheatsheet  
PHP magic methods allow you to perform various operations with objects. The best example of a magic method is the \_\_construct() function, which is called automatically when the object is instantiated. The aim of this article is to go through all the magic methods in PHP and explain each one briefly.

+1  
![Post Cover image](https://cms-assets.tutsplus.com/uploads/users/769/posts/34681/preview_image/web dev.jpg)  
35
5. 5  
[](/posts/best-free-javascript-charts-libraries-h6lpkjutt "Best Free JavaScript Charts Libraries")  
[![tuts_plus's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tuts_plus)](/sources/[source]/best-of/[year])  
7m read time • Jul 13, 2021  
### Best Free JavaScript Charts Libraries  
JavaScript provides a lot of free libraries that you can use to create charts on your websites. Chart.js is one of the first libraries that comes to mind when thinking about drawing charts on a website. Charts is an open-source library that helps you create stylish and responsive charts.

+1  
![Post Cover image](https://cms-assets.tutsplus.com/uploads/users/769/posts/37458/preview_image/chart-HGK8WJY.jpg)  
24  
1
6. 6  
[](/posts/30-css-best-practices-for-beginners-v4dqwr2-i "30 CSS Best Practices for Beginners")  
[![tuts_plus's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tuts_plus)](/sources/[source]/best-of/[year])  
12m read time • Feb 25, 2021  
### 30 CSS Best Practices for Beginners  
CSS is a language that is used by nearly every developer at some point. Great readability of your CSS makes it much easier to maintain in the future. You should start to develop your own "sub-language" of CSS to quickly name things. Use a reset to eliminate browser inconsistencies such as heights, font sizes, margins, and headings.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/dc685821689089f75242133e7e858bcd)  
16
7. 7  
[](/posts/how-to-check-if-an-object-is-empty-in-javascript-gntlk-hzp "How to Check if an Object is Empty in JavaScript")  
[![tuts_plus's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tuts_plus)](/sources/[source]/best-of/[year])  
7m read time • May 24, 2021  
### How to Check if an Object is Empty in JavaScript  
In your day-to-day JavaScript development, you might need to check if an object is empty or not. There’s no single direct solution, but there are different techniques that you can use to create a custom solution for your own use case. In this article, we’ll discuss the different methods that you could use in modern browsers that support the ES5 edition.

+1  
![Post Cover image](https://cms-assets.tutsplus.com/uploads/users/769/posts/37053/preview_image/female-hands-with-open-empty-box-on-white-backgrou-CN8TJ7S.jpg)  
14
8. 8  
[](/posts/how-to-use-yield-and-generators-in-php-j63gdmtkp "How to Use Yield and Generators in PHP")  
[![tuts_plus's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tuts_plus)](/sources/[source]/best-of/[year])  
6m read time • Dec 27, 2021  
### How to Use Yield and Generators in PHP  
The word yield means produce or generate which is basically what the keyword does in PHP. It generates a value for use outside your function without entirely stopping its execution and returning. It gives you the ability to pause the execution while you do something else with the returned value. The advantage of using generators is low memory usage.

+1  
![Post Cover image](https://cms-assets.tutsplus.com/uploads/users/769/posts/39200/preview_image/traffic-sign-in-the-form-of-a-white-triangle-give-2021-08-29-23-24-24-utc.gif)  
13
9. 9  
[](/posts/read-a-csv-to-array-in-php-vyo985jbc "Read a CSV to Array in PHP")  
[![tuts_plus's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tuts_plus)](/sources/[source]/best-of/[year])  
5m read time • Dec 31, 2021  
### Read a CSV to Array in PHP  
In this article, we'll learn how to read and print a simple CSV file. We'll use fopen() and fgetcsv() to read the contents of a CSV file, then we'll convert it into an array using the array\_map() and str\_get CSV() functions. The words found in the file are then looped through and printed into an HTML table.

+1  
![Post Cover image](https://cms-assets.tutsplus.com/uploads/users/2774/posts/39471/preview_image/array.jpg)  
11  
2
10. 10  
[](/posts/the-best-wordpress-plugins-of-all-time-free-and-paid--xeybvbzwt "The Best WordPress Plugins of All Time (Free and Paid)")  
[![tuts_plus's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tuts_plus)](/sources/[source]/best-of/[year])  
27m read time • Nov 15, 2021  
### The Best WordPress Plugins of All Time (Free and Paid)  
A plugin adds new features to your website or extends existing functionality. From popups to Google Maps, here are a few plugins that didn't fit in the other categories. The Best Free Backup plugin is essential for any WordPress site. A plugin should be easy to use and customize even for those with no coding knowledge.

+1  
![Post Cover image](https://cms-assets.tutsplus.com/uploads/users/769/posts/38563/preview_image/wordpress-3d-electric-plug-2021-08-29-10-14-38-utc.jpg)  
11  
1
11. 11  
[](/posts/why-use-flutter-to-develop-mobile-apps---op40clwx "Why Use Flutter to Develop Mobile Apps?")  
[![tuts_plus's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tuts_plus)](/sources/[source]/best-of/[year])  
5m read time • Mar 24, 2021  
### Why Use Flutter to Develop Mobile Apps?  
Flutter is a portable UI toolkit that builds natively compiled apps that can be deployed to the web, mobile, and even desktop computers. The platform uses a single codebase in the Dart language for programming and incorporates Cupertino widgets to offer an organic interface to the end user. Flutter apps are designed to work naturally on any platform with Flutter’s UI framework.

+2  
![Post Cover image](https://cms-assets.tutsplus.com/uploads/users/2723/posts/36731/preview_image/flutter.png)  
10  
1

[See all Tuts+ archives](/sources/tuts%5Fplus/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/tuts_plus/best-of/2021#page","url":"https://daily.dev/sources/tuts_plus/best-of/2021","name":"Best Tuts+ Posts of 2021","description":"The most upvoted Tuts+ posts of 2021, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/tuts_plus/best-of/2021#items","numberOfItems":11,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/best-free-and-open-source-javascript-animation-libraries-jwvipq68g","name":"Best Free and Open Source JavaScript Animation Libraries"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/understanding-function-currying-in-javascript-and-when-to-use-it-o06wlkm8l","name":"Understanding Function Currying in JavaScript—and When to Use It"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/24-javascript-best-practices-for-beginners-j1xazefrm","name":"24 JavaScript Best Practices for Beginners"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/php-magic-methods-cheatsheet-l6iweezrn","name":"PHP Magic Methods Cheatsheet"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/best-free-javascript-charts-libraries-h6lpkjutt","name":"Best Free JavaScript Charts Libraries"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/30-css-best-practices-for-beginners-v4dqwr2-i","name":"30 CSS Best Practices for Beginners"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/how-to-check-if-an-object-is-empty-in-javascript-gntlk-hzp","name":"How to Check if an Object is Empty in JavaScript"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/how-to-use-yield-and-generators-in-php-j63gdmtkp","name":"How to Use Yield and Generators in PHP"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/read-a-csv-to-array-in-php-vyo985jbc","name":"Read a CSV to Array in PHP"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/the-best-wordpress-plugins-of-all-time-free-and-paid--xeybvbzwt","name":"The Best WordPress Plugins of All Time (Free and Paid)"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/why-use-flutter-to-develop-mobile-apps---op40clwx","name":"Why Use Flutter to Develop Mobile Apps?"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"Tuts+","item":"https://daily.dev/sources/tuts_plus"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/tuts_plus/best-of"},{"@type":"ListItem","position":5,"name":"2021"}]}]}
```

