martes, 3 de septiembre de 2024

Comparison of Web Development Frameworks: Stack Overflow 2023 vs. 2024

No hay comentarios.:

 I always pay close attention when the Stack Overflow survey is published. Although Stack Overflow has been somewhat displaced by the inclusion of AI, it remains one of the most reliable surveys we have.

My favorite part is the web frameworks, as it helps me understand what's trending in the market. Every year, I do a small analysis comparing it with the previous year. Here is the comparison between the most popular web development frameworks according to the 2023 and 2024 surveys.

Most Popular Frameworks

In both years, Node.js and React remained the most popular frameworks, though with a slight decrease in their usage:

  • Node.js: dropped from 42.65% in 2023 to 40.8% in 2024.
  • React: went down from 40.58% in 2023 to 39.5% in 2024.

Likewise, jQuery, Express, and Angular also stayed among the most used, with minor variations in their percentages. Interestingly, Next.js has seen an increase in popularity, rising from 16.67% in 2023 to 17.9% in 2024.

Even though React isn't exactly my favorite library, its market position is undeniable. Year after year, it continues to lead the popularity charts, and its community keeps growing exponentially.

Long live the King! 👑

Gaining Ground

Newer frameworks like FastAPI and NestJS are rapidly gaining ground:

  • FastAPI: grew from 7.42% in 2023 to 9.9% in 2024, surpassing Laravel in the rankings.
  • NestJS: saw its adoption increase from 5.13% in 2023 to 5.8% in 2024.

The Newcomers

New frameworks have joined the list in 2024, and I wish them the best of luck:

  • Htmx (3.3%)
  • Astro (3%)
  • Strapi (1.7%)

This suggests the rise of more modern and specialized technologies.


The Newcomers to the Group

New frameworks have joined FastAPI and NestJS the list in 2024, and I wish them the best of luck, folks! 🍀

  • FastAPI: grew from 7.42% in 2023 to 9.9% in 2024, surpassing Laravel in the rankings.
  • NestJS: increased its adoption from 5.13% in 2023 to 5.8% in 2024.

The Newcomers

New frameworks have been added to the list in 2024, and I wish them the best of luck:

  • Htmx (3.3%)
  • Astro (3%)
  • Strapi (1.7%)

This suggests a rise in more modern and specialized technologies.

The JavaScript Ecosystem: Every Day a New Framework Is Born, and Another One Dies

The JavaScript world is famous for its constant innovation—every day, a new framework seems to emerge, and at the same time, another disappears into obscurity. Some of the technologies that were present in the 2023 survey are no longer on the 2024 list, such as Lit and Qwik, both with less than 1% usage in 2023.


How My Favorite Frameworks Fared

Django: Consistency in the Python Community

Django held steady, rising from 11.47% in 2023 to 12% in 2024.

This framework remains a favorite of mine and the Python community, especially for those seeking a complete solution for developing robust and secure web applications.

Its focus on simplicity, along with its powerful ORM and well-supported ecosystem, continues to attract developers who prioritize efficiency without sacrificing functionality.

Version 5.1 was released with minor changes, but hey, if it ain't broke, don't fix it! 😊

Django REST Framework: The Power Behind APIs in Python

While Django is popular for building web applications, when it comes to creating efficient APIs, Django REST Framework (DRF) is my top recommendation. DRF makes it easy to create scalable and secure APIs while maintaining the elegance and simplicity that defines Django.

Although lighter frameworks like FastAPI are gaining popularity, Django REST Framework remains a solid choice for those seeking seamless integration with Django for larger, more complex projects.

Laravel: A Constantly Evolving Framework

Laravel has seen a slight increase in popularity, moving from 7.58% in 2023 to 7.9% in 2024. While this growth is modest, it reflects the framework’s continued relevance in web development, especially within the PHP ecosystem.

Laravel remains the king of modern monoliths. With Livewire 3 and Inertia.js, it allows developers to build rich interfaces from the backend, keeping most of the logic on the server—a typical feature of monolithic architectures. This reinforces Laravel’s ability to speed up development without having to split the application into separate frontend and backend environments.

If you're using it to create APIs, no offense, but I recommend building your API with a faster framework 😊 (such as Lumen, FastAPI, or Express).

The announcement of Laravel Cloud, which promises to simplify cloud environment integration, is also worth noting.

With Laravel 11 on the horizon, we can expect the framework to continue improving, and perhaps, it will rise further in next year's survey. Let's see if these updates attract more developers and consolidate its growth.

Vue.js: A Slight Decline

Vue.js has seen a drop in usage, from 16.38% in 2023 to 15.4% in 2024.

It remains one of the most popular frameworks, especially for developers looking for a progressive, flexible approach to frontend development without a steep learning curve.

This decline might be attributed to the growing use of Svelte and Next.js, but Vue remains a solid option for many developers due to its ease of use and simplicity.

Ruby on Rails: Persistence in a Changing World

Ruby on Rails (RoR) dropped from 5.49% in 2023 to 4.7% in 2024, reflecting a slow but steady decline in its usage. However, it remains a beloved framework for many developers, especially those who prefer working solo.

Ruby on Rails has long been the framework of choice for developers working solo or in small teams, primarily because of its wealth of built-in tools. This enables developers to quickly create complete applications without requiring too much configuration.

Its focus on convention over configuration and productivity continues to attract those who want to develop applications quickly and efficiently.

I believe the competition from more modern frameworks may be contributing to this slight drop in popularity.


Conclusion

The results of the 2023 and 2024 Stack Overflow surveys show us how quickly developer preferences can shift, with some technologies gaining popularity while others lose relevance.

Now, if I’ve said something that doesn’t sit well with you, please forgive me! 😅 This is just my humble opinion, based on my experience and what I’ve observed. It’s important to remember that every developer has their favorite tools and approaches, and that’s what makes this field so diverse and exciting.

Stay tuned to these trends to choose the best tools for your projects.

To see the full survey, check out the Stack Overflow Developer Survey 2024.

Technology 2023 (%) 2023 Ranking 2024 (%) 2024 Ranking Change
Node.js 42.65% 1 40.8% 1
React 40.58% 2 39.5% 2
jQuery 21.98% 3 21.4% 3
Next.js 16.67% 6 17.9% 4
Express 19.28% 4 17.8% 5
Angular 17.46% 5 17.1% 6
ASP.NET Core 16.57% 7 16.9% 7
Vue.js 16.38% 8 15.4% 8
ASP.NET 12.79% 10 12.9% 9
Flask 12.16% 11 12.9% 9
Spring Boot 11.95% 12 12.7% 11
Django 11.47% 13 12% 12
WordPress 13.38% 9 11.8% 13
FastAPI 7.42% 15 9.9% 14
Laravel 7.58% 14 7.9% 15
AngularJS 7.21% 16 6.8% 16
Svelte 6.62% 17 6.5% 17
NestJS 5.13% 19 5.8% 18
Blazor 4.88% 20 4.9% 19
Ruby on Rails 5.49% 18 4.7% 20
Nuxt.js 3.69% 21 3.6% 21
Htmx - - 3.3% 22 🆕
Symfony 3.2% 22 3.2% 23
Astro - - 3% 24 🆕
Fastify 2.05% 25 2.2% 25
Deno 2.36% 23 1.9% 26
Phoenix 2.04% 26 1.9% 27
Drupal 1.87% 27 1.9% 27
Strapi - - 1.7% 29 🆕
CodeIgniter 1.72% 28 1.7% 30
Gatsby 2.33% 24 1.6% 31
Remix 1.27% 30 1.6% 31
Solid.js 1.36% 29 1.2% 33
Yii 2 - - 0.9% 34 🆕
Play Framework 0.76% 32 0.8% 35
Elm 0.81% 31 0.6% 36
Ver

Comparación de Frameworks de Desarrollo Web: Stack Overflow 2023 vs. 2024

No hay comentarios.:

Siempre estoy muy atento cuando la encuesta de Stack Overflow es publicada.

A pesar que Stack Overflow se ha visto desplazado por inclusión de la  IA, es una de las encuestas más fiables que tenemos.

Mi parte favorita son los web frameworks, ya que me es útil para saber qué se está usando en el mercado. Cada año, hago un pequeño análisis en comparación con el año anterior. Aquí les dejo la comparación entre los frameworks de desarrollo web más populares según las encuestas de 2023 y 2024.

Frameworks Más Populares

En ambos años, Node.js y React se mantuvieron como los frameworks más populares, aunque con una ligera disminución en su uso:

  • Node.js: pasó del 42.65% en 2023 al 40.8% en 2024.
  • React: bajó del 40.58% en 2023 al 39.5% en 2024.
Tanto jQuery, Express y Angular también se mantuvieron entre los más utilizados, aunque con pequeñas variaciones en sus porcentajes. Es interesante notar que Next.js ha visto un aumento en popularidad, subiendo del 16.67% en 2023 al 17.9% en 2024.

Aunque React no es precisamente mi librería favorita, su posición en el mercado es indiscutible. Año tras año sigue liderando las listas de popularidad, y su comunidad sigue creciendo exponencialmente. 

¡Dios salve al Rey! 👑

Tendencias a la Alta

Frameworks más recientes como FastAPI y NestJS están ganando terreno rápidamente:

  • FastAPI: creció del 7.42% en 2023 al 9.9% en 2024, pasando a Laravel en Ranking
  • NestJS: aumentó su adopción de 5.13% en 2023 a 5.8% en 2024.

Los Nuevos del Grupo

Se han añadido nuevos frameworks a la lista en 2024, les deseo mucha Suerte chicos.

Htmx (3.3%) 
Astro (3%)
Strapi (1.7%), 

Lo que sugiere un aumento de tecnologías más modernas y especializadas.

El Ecosistema JavaScript: Cada Día Nace un Framework, y Cada Día Muere Uno

El mundo de JavaScript es famoso por su constante innovación, donde cada día parece que nace un nuevo framework y, al mismo tiempo, otro desaparece en la oscuridadComo se puede ver algunas de las tecnologías que estuvieron presentes en la encuesta de 2023 ya no estan en la lista de 2024, como Lit y Qwik, ambos con menos del 1% de uso en 2023.


Como le fue a mis Framewok Favoritos:

Django: Consistencia en la Comunidad Python

Django se mantiene ha pasando de un 11.47% en 2023 a un 12% en 2024. 

Este framework es mi favorito tanto mio como  de la comunidad de Python, especialmente para aquellos que buscan una solución completa para el desarrollo de aplicaciones web robustas y seguras. 

Su enfoque en la simplicidad, junto con su ORM poderoso y un ecosistema bien soportado, continúan atrayendo a desarrolladores que buscan eficiencia sin sacrificar la funcionalidad.

Ya han lanzado la version 5.1 con pocos cambios, pero lo perfecto no se toca =)

Django REST Framework: La Potencia detrás de las APIs en Python

Aunque Django es popular por su capacidad para construir aplicaciones web, cuando se trata de crear APIs eficientes, Django REST Framework (DRF) es mi recomendación, DRF facilita la creación de APIs escalables y seguras, manteniendo la elegancia y simplicidad que caracteriza a Django.

Aunque otros frameworks más ligeros, como FastAPI, están ganando popularidad, Django REST Framework sigue siendo una opción sólida y preferida por aquellos que buscan una integración perfecta con Django para proyectos más grandes y complejos.

Laravel: Un Framework Siempre en Evolución

Laravel ha mostrado una leve subida en popularidad,  ha pasando del 7.58% en 2023 al 7.9% en 2024. Aunque este aumento es modesto, refleja la continua relevancia del framework en el desarrollo de aplicaciones web, especialmente dentro del ecosistema PHP.

Laravel es El rey de los monolitos modernos, Livewire 3 e Inertia.js permiten construir interfaces ricas desde el backend, manteniendo la lógica en el servidor, que es típico de un monolito. Esto refuerza la idea de que Laravel facilita el desarrollo rápido sin tener que dividir la aplicación en frontend y backend separados.

Si usted lo utiliza para crear APIs, sirvase disculparme por la afirmacion, pero le aconsejo hacer su api en un framework mas rapidos 😊 (Lumen, FastAPI o Express).

El anuncio de Laravel Cloud, que promete facilitar la integración con entornos en la nube de forma aún más eficiente.

Además, con el lanzamiento de Laravel 11 en el horizonte, se espera que el framework siga mejorando y, quizás, logre aumentar su popularidad en la próxima encuesta. Tendremos que estar atentos para ver si estas novedades consiguen atraer a más desarrolladores y consolidar su crecimiento.

Vue.js: Un Ligero Descenso

Vue.js ha bajando su uso del 16.38% en 2023 al 15.4% en 2024

Continua siendo uno de los frameworks más populares, especialmente para aquellos que buscan un enfoque progresivo y flexible en el desarrollo frontend sin una curva de aprensaje tan elevada. 

Podemos suponer que la baja se deebe al uso de Svelte y Next.js, aun así es un opcion solida, para muchos dev's por su facilidad y simplicidad.

Ruby on Rails: Persistencia en el Mundo

Ruby on Rails (RoR) ha pasado del 5.49% en 2023 al 4.7% en 2024, lo que refleja una caída lenta pero constante en su uso. Sin embargo, sigue siendo un framework querido por muchos desarrolladores, especialmente aquellos que prefieren trabajar solos.

Ruby on Rails ha sido el framework preferido por muchos desarrolladores que trabajan solos o en equipos pequeños, sobre todo porque ofrece una gran cantidad de herramientas listas para usar. Esto les permite a los desarrolladores crear aplicaciones completas rápidamente sin necesidad de demasiada configuración.

Su enfoque en la convención sobre la configuración y la productividad continúa atrayendo a quienes buscan desarrollar aplicaciones de manera rápida y eficiente. 

Creo que la competencia de otros frameworks modernos podría estar influyendo en esta ligera caída de popularidad.

Conclusión

Los resultados de las encuestas de Stack Overflow de 2023 y 2024 nos muestran lo rápido que pueden cambiar las preferencias de los desarrolladores, con algunas tecnologías ganando popularidad mientras otras pierden relevancia.

Ahora bien, si he dicho algo que no te ha sentado bien, ¡discúlpame! 😅 Esto es solo mi humilde opinión, basada en mi experiencia y lo que he observado. Es importante recordar que cada desarrollador tiene sus herramientas y enfoques favoritos, ¡y eso es lo que hace que este campo sea tan diverso y emocionante!

Mantente al tanto de estas tendencias para elegir las mejores herramientas para tus proyectos..

Para revisar la encuentas completa  puedes revisar en Stack Overflow Developer Survey 2024.




Tecnología 2023 (%) 2023 Ranking 2024 (%) 2024 Ranking Cambio
Node.js 42.65% 1 40.8% 1
React 40.58% 2 39.5% 2
jQuery 21.98% 3 21.4% 3
Next.js 16.67% 6 17.9% 4
Express 19.28% 4 17.8% 5
Angular 17.46% 5 17.1% 6
ASP.NET Core 16.57% 7 16.9% 7
Vue.js 16.38% 8 15.4% 8
ASP.NET 12.79% 10 12.9% 9
Flask 12.16% 11 12.9% 9
Spring Boot 11.95% 12 12.7% 11
Django 11.47% 13 12% 12
WordPress 13.38% 9 11.8% 13
FastAPI 7.42% 15 9.9% 14
Laravel 7.58% 14 7.9% 15
AngularJS 7.21% 16 6.8% 16
Svelte 6.62% 17 6.5% 17
NestJS 5.13% 19 5.8% 18
Blazor 4.88% 20 4.9% 19
Ruby on Rails 5.49% 18 4.7% 20
Nuxt.js 3.69% 21 3.6% 21
Htmx - - 3.3% 22 🆕
Symfony 3.2% 22 3.2% 23
Astro - - 3% 24 🆕
Fastify 2.05% 25 2.2% 25
Deno 2.36% 23 1.9% 26
Phoenix 2.04% 26 1.9% 27
Drupal 1.87% 27 1.9% 27
Strapi - - 1.7% 29 🆕
CodeIgniter 1.72% 28 1.7% 30
Gatsby 2.33% 24 1.6% 31
Remix 1.27% 30 1.6% 31
Solid.js 1.36% 29 1.2% 33
Yii 2 - - 0.9% 34 🆕
Play Framework 0.76% 32 0.8% 35
Elm 0.81% 31 0.6% 36
Ver