fastify-type-provider-typebox VS Phoenix

Compare fastify-type-provider-typebox vs Phoenix and see what are their differences.

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
fastify-type-provider-typebox Phoenix
3 111
137 20,624
5.1% 0.6%
6.6 9.3
4 days ago 7 days ago
TypeScript Elixir
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

fastify-type-provider-typebox

Posts with mentions or reviews of fastify-type-provider-typebox. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-16.
  • Fastify: Support for Auto Type Inference (similar to TRPC)
    6 projects | /r/typescript | 16 Feb 2023
  • Using Rust at a startup: A cautionary tale
    4 projects | news.ycombinator.com | 3 Dec 2022
    My experience is that it's fine(tm). "JavaScript on server-side" does not bother me; V8 owns bones. None of my debugging output includes JS lines because I pack source maps, which TypeScript happily includes.

    Multi-threading isn't complex, because there isn't multi-threading. There's coprocessing via Promises, and there indeed are a lot of Node developers who think you don't need locking functionality because it's not multi-threaded (there was an absolutely bonkers discussion a few years ago where a JS developer insisted you didn't need locks), but whatever, they think that about other languages too, use async-lock or whatever.

    "Maturity" is a word that means different things to different people. There is not a consensus-best-choice framework like Spring Boot in Node. But the tools are there and they're excellent (Python is similar, FWIW--FastAPI is the closest thing to a right answer that I think I've ever used, I wish I liked Python more because that owns). Fastify is perhaps The Best web framework I've ever used, and it has only gotten better with v4 allowing you to engage with type providers to create an end-to-end, automatically typechecked route declaration framework. It lets you do stuff like this, where you specify a request schema as JSON Schema (encoded via typebox) and it'll statically derive the TypeScript type for you whilst also using it for request schema validation:

    https://github.com/fastify/fastify-type-provider-typebox#exa...

    The tools are there. You do have to wire them together. There's value in that, for the way I write code and the stuff I enjoy building.

    Overall, I'll trade some compilation niceties and even some (but to be frank, not much) performance for a vastly better language in day-to-day use. I really like the JVM. I've been using it professionally for twelve years. I also like the CLR. I did Google Summer of Code for the Mono Project in 2008, I've been around. But the day-to-day of writing code in the dominant languages on those platforms for things other than CRUD does frustrate me, and the difficulty of using the type system to effectively encode intent makes it much harder for me to write software that can guide other people to not misuse it.

    (If I ever wrote something at extragalactic scale, yeah, sure, whatever, I'd rewrite hot paths in something else. But I absolutely don't care about that.)

  • Rate my Repo for code readability and ability to write production level code
    3 projects | /r/typescript | 12 Nov 2022
    Checkout https://github.com/fastify/fastify-type-provider-typebox or https://github.com/fastify/fastify-type-provider-json-schema-to-ts for a better TS experience also.

Phoenix

Posts with mentions or reviews of Phoenix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-14.
  • Idempotent seeds in Elixir
    2 projects | dev.to | 14 Mar 2024
    A standard Phoenix app contains a priv/repo/seeds.exs script file, which populates a database when it is run, so that developers can work with a conveniently prepared environment.
  • Ask HN: Did you encounter any Leap Year bugs today? How bad was it?
    4 projects | news.ycombinator.com | 29 Feb 2024
    There was one in the Phoenix Framework (Elixir) about issuing certificates with an invalid end date: https://github.com/phoenixframework/phoenix/issues/5737

    Interestingly, Azure had this bug some years ago too leading to an outage. https://azure.microsoft.com/en-us/blog/summary-of-windows-az...

  • Aplicando MVVM en Phoenix LiveView
    4 projects | dev.to | 1 Feb 2024
    Official website: https://www.phoenixframework.org/
  • Things I like about Gleam's Syntax
    4 projects | news.ycombinator.com | 26 Oct 2023
    Since you mention Rails, have you seen https://www.phoenixframework.org/
  • Building Apps with Tauri and Elixir
    14 projects | dev.to | 19 Oct 2023
    Thus, we set out to build a desktop application using a LiveView from the Phoenix Framework in Elixir. For the uninitiated, a LiveView is a process that receives events, updates its state, and renders updates to a page as diffs. The LiveView programming model is declarative: instead of saying “once event X happens, change Y on the page”, events in LiveView are regular messages which may cause changes to its state.
  • Has anybody compared Phoenix Framwork vs. Blazor?
    1 project | /r/Blazor | 11 Oct 2023
    It seems though like Phoenix is similar like Blazor Server (using web socket), but Phoenix is: SEO friendly (first render is plain html) Light weight, scales well and concurrency is first class Easy to develop (runs a local server so you see live updates) Compiled With auth out of the box https://www.phoenixframework.org/
  • Ask HN: Why isn't Phoenix/Elixir more mainstream?
    4 projects | news.ycombinator.com | 29 Sep 2023
    Sorry to hear this. Phoenix v1.7 changed how it structures files in disk and that broke quite some of the getting started material. However, the guides are always kept up to date, so you can give it a try: https://hexdocs.pm/phoenix/overview.html

    You can also see the resources on this page listed by year: https://github.com/phoenixframework/phoenix/blob/main/guides... - the recent launched ones are most likely up to date.

  • Emoji Generator with AI
    2 projects | news.ycombinator.com | 8 Sep 2023
    Yes! I love Elixir :) [Phoenix LiveView](https://www.phoenixframework.org/) is really amazing. I feel so fast working in it. I got hooked after watching Chris McCord's ['Build a real-time Twitter clone in 15 minutes'](https://www.youtube.com/watch?v=MZvmYaFkNJI&embeds_referring...), and things have improved a lot since then.
  • Ask HN: What's the best modern back end?
    1 project | news.ycombinator.com | 28 Aug 2023
    I still work on a lot of Java projects. As of JDK 17 Java has most of "ML the good parts" and has the same scalable, reliable and high-performance threading Java is famous for. JAX-RS provides a Sinatra style framework that makes it easy to write JSON API back ends. JDK 21 is just about to come out as a long term supported version and it will be even better.

    I do my side projects in Python with aiohttp and think it is a lot of fun even though people tell me it is suicide (I guess if you block the thread you are in trouble)

    I think "Next.js" really wants a node.js backend which has the big advantage that you can share code with the front end and back end. It's basically single-threaded but I know people who are happy with it.

    The system I'd most like to try is

    https://www.phoenixframework.org/

    which is just great if you want to do stuff with websockets that is more interactive than what most people are doing.

  • Ask HN: Leetcode for Back End and Server Development
    4 projects | news.ycombinator.com | 11 Jul 2023

What are some alternatives?

When comparing fastify-type-provider-typebox and Phoenix you can also consider the following projects:

json-schema-to-ts - Infer TS types from JSON schemas 📝

Django - The Web framework for perfectionists with deadlines.

zod - TypeScript-first schema validation with static type inference

sugar - Modular web framework for Elixir

fastify-type-provider-zod

hotwire-rails - Use Hotwire in your Ruby on Rails app

UncivServer.xyz - An Open Source Unciv Multiplayer server, written in TypeScript. Powered by Node.js, fastify and Redis.

kitto - Kitto is a framework for interactive dashboards written in Elixir

fastify-type-provider-json-schema-to-ts - A Type Provider for json-schema-to-ts

trot - An Elixir web micro-framework.

fastify-autoroutes - fastest way to map directories to URLs in fastify

RIG - Create low-latency, interactive user experiences for stateless microservices.