DEV Community

Cover image for 7 practical ways to build Backends much faster as a developer

7 practical ways to build Backends much faster as a developer

Anmol Baranwal on December 19, 2024

Building backends can feel overwhelming with so many options out there. With the right mix of tools and approaches, you can speed up the developme...
Collapse
 
mm-novelt profile image
Mathias Muntz

I suggest adding API Platform to your list. Built on Symfony and Doctrine, it simplifies the creation of modern web APIs. It quickly provides REST or GraphQL endpoints and automatically generates OpenAPI/Swagger documentation, with native support for formats like JSON:API, HAL, and JSON-LD (Hydra). Additionally, it natively supports the Franken PHP web server, delivering performance comparable to any other framework.

Collapse
 
anmolbaranwal profile image
Anmol Baranwal

Yeah, API platforms or ecosystems can definitely help, but I would consider them more as external tools since you can use them with almost any framework, it's not tied to just one yk. Still, totally get where you are coming from, maybe share the link of that specific platform so others can check it out too!

Collapse
 
mm-novelt profile image
Mathias Muntz
Collapse
 
getvast profile image
James Harrison

This is a great list and something I'm super passionate about...I hate time-consuming code that doesn't actually provide value to the end users. I've found that opinionated frameworks are the way to go for 80-90% of work - choosing the right one is the hard part.

Collapse
 
anmolbaranwal profile image
Anmol Baranwal

Thank you, James! To be honest, there are just so many options these days and jumping from one framework to another can be real tough because it takes time to get adjusted.

That’s why I always recommend picking one decent, popular framework that works most of the time and just building with it. We don’t need to optimize every single thing for sure.

Hope this helps others get a better idea of which option to choose :)

Collapse
 
srbhr profile image
Saurabh Rai

Really cool 😎

Collapse
 
anmolbaranwal profile image
Anmol Baranwal

thanks for reading, Saurabh 🙌

Collapse
 
marcuskohlberg profile image
Marcus Kohlberg

Cool!

Collapse
 
anmolbaranwal profile image
Anmol Baranwal

Thanks for reading :)

Collapse
 
exocody profile image
ExoCody

Another great post Anmol!

Collapse
 
rohittcodes profile image
Rohith Singh

was looking for drizzle when you talked about ORMs😅...
PS: encore looks promising will definitely give it a shot.

Collapse
 
anmolbaranwal profile image
Anmol Baranwal

Oh yes, I thought about including Drizzle as well, but I ended up leaving it out because I haven't used it yet. I would have had to rely on online resources (and opinions there can vary).

Definitely use Encore, I'm also planning to build a complete app from scratch using it :)

Collapse
 
simonjohansson profile image
Simon Johansson

Nice! Love Encore 👏

Collapse
 
anmolbaranwal profile image
Anmol Baranwal

Thanks for reading Simon! Encore is already changing how developers build and scale backends 🔥

Collapse
 
rohan_sharma profile image
Rohan Sharma

Indeed!

Collapse
 
anmolbaranwal profile image
Anmol Baranwal

yay! means a lot :)

Collapse
 
komsenapati profile image
K Om Senapati

Awesome list 😃

Collapse
 
anmolbaranwal profile image
Anmol Baranwal

Thanks brother 🔥

Collapse
 
fernandezbaptiste profile image
Bap

👏👏

Collapse
 
anmolbaranwal profile image
Anmol Baranwal

Been a while since I've seen you hehe. Anyway, thank you for reading Bap 🙌

Collapse
 
riklempens profile image
Rik Lempens

Hey everyone, I wanted to quickly suggest ThingsDB as a powerful option for backend development. It's an open-source solution that combines a database, message broker, and task scheduler into one easy to deploy and maintain platform.
Here’s why it’s worth a look:

  • Unified Platform: ThingsDB offers relational data storage, a pub/sub system, and task automation all in one.
  • Easy to Learn: It uses a language similar to JavaScript and Python.
  • Persistent State: It maintains state, so data is always available. The state of the interpreter is synchronized across nodes for high availability and data integrity.
  • Reusable Code: Create custom procedures that can be called directly, even from other languages.
  • Modular: Extend functionality with modules for things like sending emails or making HTTP requests. Modules can fetch external data using "mpdata" format.
  • Real-Time: It has a built-in real-time pub/sub system.
  • Flexible API: It has an HTTP API that supports JSON and MessagePack.
  • Scalable: It's designed for multi-node setups.
  • Open Source: It's free to use.
Collapse
 
mrpatrickwright profile image
Patrick Wright • Edited

Another option would be to use a code generator like monstarillo to generate the code you want from your database. This way you end up with code you like using the frameworks that you want. An example would be: this templates set Using a code generator you will need to take the time to create the templates that generate the code you want but the resulting code will be exactly what you want.

Collapse
 
fridaycandours profile image
Friday candour

You didn't mention jetpath, sad.