Git Product home page Git Product logo

Comments (9)

atian25 avatar atian25 commented on March 29, 2024

egg/web-spec 也要搞个?

from egg.

popomore avatar popomore commented on March 29, 2024

这个感觉不太能写好啊,感觉可以放放

from egg.

atian25 avatar atian25 commented on March 29, 2024

主要是上次提到的, proxy 干掉, 然后增强 loading 的扩展性, 这个要先提方案吧?

from egg.

fengmk2 avatar fengmk2 commented on March 29, 2024

@atian25 内部版本 egg 还是有 proxy 的

from egg.

popomore avatar popomore commented on March 29, 2024

就是增加一个 ctx 级别的通用 loader

from egg.

atian25 avatar atian25 commented on March 29, 2024

@fengmk2 嗯, 只需提供一个机制给框架开发者扩展, 如集团那边是有 proxy, 其他开发者可以定义:

  • this.db.xxx -> app/db/xxx.js
  • this.filters.xxx -> app/filters/xxx.js

from egg.

popomore avatar popomore commented on March 29, 2024

恩,说的对

from egg.

fengmk2 avatar fengmk2 commented on March 29, 2024

#10 (comment) @atian25 单独提 issue 吧

from egg.

atian25 avatar atian25 commented on March 29, 2024

嗯, #19

from egg.

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.