Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PC/Mobile通用的fetch库 #5

Open
otakustay opened this issue Aug 6, 2015 · 5 comments
Open

PC/Mobile通用的fetch库 #5

otakustay opened this issue Aug 6, 2015 · 5 comments

Comments

@otakustay
Copy link
Member

我们是不是可以合作生产一个通用的网络请求库,我想应该有以下特征:

  1. 零依赖
  2. 靠向新的fetch接口,并随时跟进社区最新进展
  3. 很小的核心,额外的扩展(如jsonp)
  4. 支持cors

不考虑IE8-的浏览器,我想应该不会有很大差异吧

@leeight
Copy link
Member

leeight commented Aug 6, 2015

把 ub-ria 里面 RequestManager 的功能也加上去吧?

leeight/021-60580419

On Aug 6, 2015, at 10:08 AM, Gray Zhang <[email protected]mailto:[email protected]> wrote:

我们是不是可以合作生产一个通用的网络请求库,我想应该有以下特征:

  1. 零依赖
  2. 靠向新的fetch接口,并随时跟进社区最新进展
  3. 很小的核心,额外的扩展(如jsonp)
  4. 支持cors

不考虑IE8-的浏览器,我想应该不会有很大差异吧


Reply to this email directly or view it on GitHubhttps://github.com//issues/5.

@otakustay
Copy link
Member Author

加的话只能作为一个扩展来,核心有这些功能可能对于Mobile是一种负担吧?

Best regards

Gray Zhang

在 2015年8月6日 上午10:31:51, leeight ([email protected]) 写到:

把 ub-ria 里面 RequestManager 的功能也加上去吧?

leeight/021-60580419

On Aug 6, 2015, at 10:08 AM, Gray Zhang <[email protected]mailto:[email protected]> wrote:

我们是不是可以合作生产一个通用的网络请求库,我想应该有以下特征:

  1. 零依赖
  2. 靠向新的fetch接口,并随时跟进社区最新进展
  3. 很小的核心,额外的扩展(如jsonp)
  4. 支持cors

不考虑IE8-的浏览器,我想应该不会有很大差异吧


Reply to this email directly or view it on GitHubhttps://github.com//issues/5.


Reply to this email directly or view it on GitHub.

@treelite
Copy link
Contributor

treelite commented Aug 6, 2015

👍

零依赖的话要包含 Promise ?

@otakustay
Copy link
Member Author

假定有原生Promise如何,shim交给使用方

在 2015年8月6日,下午10:56,treelite [email protected] 写道:

零依赖的话要包含 Promise ?


Reply to this email directly or view it on GitHub.

@treelite
Copy link
Contributor

成~ 那我好好去瞅瞅 fetch 的描述

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants