Code Monkey home page Code Monkey logo

vs-webframework's Introduction

About the project

Ditsmod is a Node.js web framework, named DI + TS + Mod to emphasize its important components: it has Dependency Injection, written in TypeScript, and designed for good Modularity. Some of the architecture concepts of this framework are taken from Angular.

About the repo

This monorepository uses yarn workspaces (see package.json).

During you run the following command:

yarn install

yarn will create symlinks in node_modules for all packages listed in the packages/* and examples/* folders. Also, the applications in the examples/* folder are linked to the modules in the packages/* folder thanks to compilerOptions.paths as well as Project References. So, after any change in the source files in packages/*, these changes are automatically reflected in examples/*.

Development mode for any application in the examples/* directory can be started with two commands in two different terminals.

From first terminal:

cd examples/01*
yarn build -w

From second terminal:

cd examples/01*
yarn start

vs-webframework's People

Contributors

kostyatretyak avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

vs-webframework's Issues

How about uWebSockets?

(later I notice there are discussions in the ditsmod repo, which is a better fit for this kind of feedback)

So, there is a common belief in node.js that Fastify is the fastest framework, why would they put "Fast" into their name otherwise, right?

But actually, there is a much faster framework called uWebSockets. It's a terrible name for marketing because you expect it to be a lib for websockets. And no clue regarding its speed. But actually, this is the fastest node framework that even beats Bun (see benchmarks here) and it's not supported by Bun (explanation here).

Btw, Ditsmod is also a bad name, the good name should be simple and rememberable, like Bun, or should tell us what's so special about it - "Fast" in Fastify.

So what I'm proposing:

  1. base Ditsmod off uWebSockets
  2. make people believe it gives all the same benefits as Nest, but easier. Instead of comparing perf with Fastify, better compare usability with Nest, as Nest is the target auditory. I haven't read the docs of Ditsmod yet, to be honest, but AFAIK Nest, there is a big room to make it simpler.
  3. compare Ditsmod with what people believe is the fastest - Bun! If the framework overhead is minimal, it should beat Bun thanks to uWebsockets. This will give hype.

I'd really like if there was a framework similar to Nest but simpler (Dismod looks even more verbose tbh) and much faster.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.