DEV Community

What Is The Best Deno Web Framework?

Craig Morten on June 15, 2020

Please note that as Deno develops rapidly in these early stages, several of these metrics may well become outdated! I encourage you to take this a...
Collapse
 
liamtan28 profile image
Liam Tan

Hi there! I’m the maintainer of Dactyl - appreciate the mention! Please come check Dactyl out and feel free to mention anything you feel could make us a mainstream platform for devs in the Deno community.

Collapse
 
henryong92 profile image
Dumb Down Demistifying Dev

Much appreciated for the efforts of Dactyl framework!
Seems like only v0.1.0-alpha is available through deno.land. Don't seem to be able to import v0.2.1-alpha which is the latest version through deno.land though..

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

Nice, but what actually hold me from moving away from Fastify are Schema Validation and OpenAPI integration. Would be nice to know if they are available and has typing (not that untyped ajv / @hapi/joi stuff).

What matters most to me is maintenance in the long run, after all.

Collapse
 
craigmorten profile image
Craig Morten

It's a very good point! Deno is still relatively new and several frameworks haven't developed to a point yet where they support OpenAPI integration, automatic code generation, validation mechanisms, contract driven development etc.

There are signs of the community starting to address these gaps, as can be seen here:

And I'm sure there are more examples that I've missed.

With respect to typings, Deno is certainly very strong on that front with the majority of frameworks (and modules in general) making use of Deno's first class TypeScript support.

I think it's a great time to get familiar with the new language and concepts, but perhaps keep Deno on the tech radar for a little while until it develops in maturity and stability for that confidence in long term maintenance and production use.

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

Is there a tutorial on how I can work Alosaur for this?

Thread Thread
 
craigmorten profile image
Craig Morten

I haven’t written a tutorial myself, but there may be others out there for alosaur 😊

The repo itself has a good example of usage, see github.com/alosaur/alosaur#examples for a list of examples and github.com/alosaur/alosaur/tree/ma... for the OpenAPI example

Collapse
 
andreespirela profile image
andreespirela

Excellent article. It would be great to have an article about those frameworks to create actual applications and not only an http dispatcher :). Such as the ones you mentioned at the very end. Regards!

Collapse
 
craigmorten profile image
Craig Morten

Thanks! I plan to try to review some of the more sophisticated frameworks which offer MVC etc in later articles. I feel like they need a bit more of a deeper dive to do them justice, so kept this article scoped to just the minimal http frameworks

Collapse
 
andreespirela profile image
andreespirela

I will be waiting for it!

Collapse
 
redbar0n profile image
Magne • Edited

Fastro is abandoned, and maintainer moved on to create Fastrex in Golang / Go. Which apparently achieves 48 k RPS, over 2x better than the fastest Deno approach.

Collapse
 
wongjiahau profile image
WJH

Thank you for the mention Craig! <3

Collapse
 
gjuoun profile image
Jun Guo

Nice post about frameworks!

If it's possible, would you add deligenius? It's a brand new and lightweight framework (I'm the author)

deligenius.com/
thanks

Collapse
 
craigmorten profile image
Craig Morten

Certainly! I might not get round to benchmarking it etc. but will add it to the list at the bottom for visibility 😁

Collapse
 
mzaini30 profile image
Zen

you can try denovel. it's laravel in deno

Collapse
 
craigmorten profile image
Craig Morten

I will add it to the list - thanks for sharing 🎉

Collapse
 
mzaini30 profile image
Zen

okay 👍

Collapse
 
vosmith profile image
Vincent Smith

I found this article just out of my new curiosity around Deno. Thanks for putting this together. Its sad though that the top performing frameworks are no longer under development :(

Collapse
 
ije profile image
X.

hi craig, thanks for sharing! are you interested in full-stack framework? like Aleph.js

Collapse
 
craigmorten profile image
Craig Morten

Heya! Yes looking forward to trying it out sometime soon 😄 been following progress on GitHub and Discord but haven’t found time just yet.

This article is getting quite outdated now with all the developments, but instead of updating I think I’ll write a new one around March 2021 to review the modules from the first year of GA 🥳

Keep up the good work!

Collapse
 
getspooky profile image
Yasser Ameur el idrissi

Excellent article. If it's possible, would you add dragon ? It's a powerful HTTP router and URL matcher for building Deno web servers (I'm the author)
github.com/xanny-projects/dragon

Thanks