Giter VIP home page Giter VIP logo

Comments (4)

huang-xin avatar huang-xin commented on July 27, 2024

同学你好,pub/sub不是clouda的全部,只是是实现实时数据的一种方式,适合如你所说的“购物车”,“电影院选座购票”等场景。如果你的应用场景不需要实时与同步,可以选择其他方式来实现:如用external三方数据一次性抓取的方式,或者直接将你的2M数据直接存到localStorage里。

from cloudajs.

lointain avatar lointain commented on July 27, 2024

原来是这样,谢谢你的解答
也许clouda是一个专为获得百度抓取数据,生成轻应用的框架,并不是一个通用框架
其实在onload里面可以得到mongoClient或者mongoConn的话,就可以绑定到clouda的model中实现我的功能.
但clouda为什么不这样设计呢,是因为技术上的问题,还是市场策略的问题呢.
如果我想写一个这样的插件,我应该从哪个类入手呢.

from cloudajs.

MarsYoung avatar MarsYoung commented on July 27, 2024

..去年这个时候我看的这个框架,当时就觉得 该框架只是为了把流量搞到baidu服务器,第3方的数据非常不方便。折腾了好久才能取到数据,当时文档不够完善,例子也不全,感觉不够轻便。当然技术很赞,只不过不适用所有应用。

from cloudajs.

brandnewera avatar brandnewera commented on July 27, 2024

谢谢认可。
关于流量的问题其实是误会了,这种纯数据无用户感知的流量其实是只有服务器成本没有商业收益的,实在是没必要“骗”这样的流量。
那么之所以引导大家把数据都经过百度,是因为在数据中转时涉及一些中转套件的部署,这些中转套件都还处于我们开发的早期版本,部署起来比较复杂,也有坑。为了提供一个好的开发体验,显得靠谱一些,在中转套件易部署和兼容性完善之前,就决定都引导大家使用百度已经弄好的云平台做数据中转了,仅此而已。

from cloudajs.

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.