chogath
V2EX  ›  问与答

请教一下使用过 Nest.js 的大佬

  •  
  •   chogath · Oct 28, 2020 · 1506 views
    This topic created in 2023 days ago, the information mentioned may be changed or developed.

    我使用 Nest.js 作为 Web 后端开发框架也有一段时间了,源码,文档都粗略的看过。

    但是由于一开始就是使用 Python 、Node.js 作为开发语言,对于 Nest.js 中,或者说 Java spring 中 Aop 、依赖注入、控制反转 等概念也只是知其然不知所以然。

    所以请教下各位有没有什么参考资料,可以系统化的学习一下 Nest.js 的设计思想?

    Supplement 1  ·  Mar 16, 2021
    自己已经解决,还是用的依赖注入。在启动时在 ioc 上下文中获取提供者

    ## 以下是我自己认为的最佳实践
    ##---------------------------------------------------------
    https://github.com/sophons-space/nest-server
    https://github.com/sophons-space/nest-gateway
    https://github.com/sophons-space/nest-user-center

    ## end
    ##---------------------------------------------------------
    4 replies    2020-10-28 15:22:52 +08:00
    chogath
        1
    chogath  
    OP
       Oct 28, 2020
    关键点

    1. 我可以使用 TS + Nest.js 进行开发
    2. 随着使用的深入,非常想系统化的学习 Nest.js 的设计思想(个人感觉和 spring 很像,但又有自己的理解与创新)
    nnnToTnnn
        3
    nnnToTnnn  
       Oct 28, 2020
    @nnnToTnnn 官方推荐的学习课程,包括 nestjs 基础知识,和设计概念
    chogath
        4
    chogath  
    OP
       Oct 28, 2020
    @nnnToTnnn 非常感谢 ☺️
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3575 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 10:40 · PVG 18:40 · LAX 03:40 · JFK 06:40
    ♥ Do have faith in what you're doing.