GithubHelp home page GithubHelp logo

DIP about front-end-trivia HOT 3 OPEN

yeecai avatar yeecai commented on July 29, 2024
DIP

from front-end-trivia.

Comments (3)

yeecai avatar yeecai commented on July 29, 2024

各种强调 decoupling, how about the benefits of coupling????
https://www.zhihu.com/question/520036926

好处就是开发快,效率高,一个人的项目会很香,多人开发只能高内聚,低耦合

from front-end-trivia.

yeecai avatar yeecai commented on July 29, 2024

举个🌰子
前端页面依赖服务,服务发生重构的时候,前端项目要被迫改动,这就是“反向依赖”,明明页面是更高层次的模块,服务是底层的模块

怎么反转这个依赖关系呢?
前端提供接口定义,字段声明等,需求发生改动的时候去更改接口说明,迫使后端去改实现,达到依赖反转的目的
前端驱动开发:)
GraphQL bff能做到吗

from front-end-trivia.

yeecai avatar yeecai commented on July 29, 2024

https://zh.m.wikipedia.org/zh-hans/%E4%BE%9D%E8%B5%96%E5%8F%8D%E8%BD%AC%E5%8E%9F%E5%88%99

from front-end-trivia.

Related Issues (20)

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.