Костя Третякktretiak.hashnode.dev·Aug 4, 2023Ditsmod - new NodeJS webframework writen in TypeScriptIf you look through the search results on github for the keyword nodejs-framework (with only TypeScript projects selected), you can see that there are currently about 5 different frameworks designed to create applications that process HTTP requests o...Discuss·206 readsnestjs
Костя Третякktretiak.hashnode.dev·Aug 4, 2023NestJS vs. Ditsmod: injection scopesGood application modularity is closely related to the injector tree hierarchy that Dependency Injection (DI) creates. This article uses NestJS v10.0 and Ditsmod v2.38 for comparison. I am the author of Ditsmod. DI injectors are sometimes referred to...Discuss·54 readsNestJS vs. Ditsmodnestjs
Костя Третякktretiak.hashnode.dev·Dec 12, 2022NestJS vs. Ditsmod: features of the routerThe description of NestJS specifically states that this framework was designed for "scalable server-side applications". Surprisingly, only in the eighth version it began to support prefixes at the module level, and this feature has a number of signif...Discuss·54 readsNestJS vs. Ditsmodnestjs
Костя Третякktretiak.hashnode.dev·Dec 12, 2022NestJS vs. Ditsmod: auto-validationNestJS performs input validation using decorators, pipes, and the class-validator utility. For example, if validation is required for path-parameters or query-parameters, the @Param() or @Query() decorators are used for this, respectively, along with...Discuss·42 readsNestJS vs. Ditsmodditsmod
Костя Третякktretiak.hashnode.dev·Dec 12, 2022NestJS vs. Ditsmod: DI features for interceptors, guards, pipes and filtersInterceptors, guards, pipes, and exception filters are sometimes referred to as "enhancers" in the NestJS documentation. Although they are all declared with the @Injectable() decorator and can use Dependency Injection, they are not providers. Therefo...Discuss·96 readsNestJS vs. Ditsmodditsmod