Comments (4)
同学你好,pub/sub不是clouda的全部,只是是实现实时数据的一种方式,适合如你所说的“购物车”,“电影院选座购票”等场景。如果你的应用场景不需要实时与同步,可以选择其他方式来实现:如用external三方数据一次性抓取的方式,或者直接将你的2M数据直接存到localStorage里。
from cloudajs.
原来是这样,谢谢你的解答
也许clouda是一个专为获得百度抓取数据,生成轻应用的框架,并不是一个通用框架
其实在onload里面可以得到mongoClient或者mongoConn的话,就可以绑定到clouda的model中实现我的功能.
但clouda为什么不这样设计呢,是因为技术上的问题,还是市场策略的问题呢.
如果我想写一个这样的插件,我应该从哪个类入手呢.
from cloudajs.
..去年这个时候我看的这个框架,当时就觉得 该框架只是为了把流量搞到baidu服务器,第3方的数据非常不方便。折腾了好久才能取到数据,当时文档不够完善,例子也不全,感觉不够轻便。当然技术很赞,只不过不适用所有应用。
from cloudajs.
谢谢认可。
关于流量的问题其实是误会了,这种纯数据无用户感知的流量其实是只有服务器成本没有商业收益的,实在是没必要“骗”这样的流量。
那么之所以引导大家把数据都经过百度,是因为在数据中转时涉及一些中转套件的部署,这些中转套件都还处于我们开发的早期版本,部署起来比较复杂,也有坑。为了提供一个好的开发体验,显得靠谱一些,在中转套件易部署和兼容性完善之前,就决定都引导大家使用百度已经弄好的云平台做数据中转了,仅此而已。
from cloudajs.
Related Issues (20)
- touchjs 如果用事件代理 event对象拿不到触发事件的dom
- 怎么开启debug模式 HOT 1
- 点击链接时跳转太快 HOT 2
- 请问clouda在windows平台可以使用吗? HOT 2
- 关于clouda的一些问题(急)!!! HOT 1
- sumeru.collection.create的API说明真当没问题么? HOT 1
- html缓存问题 HOT 1
- sumeru start .... NON BAE MODE
- 求救,关于clouda的文件上传疑问 HOT 1
- 0.10.4 用户登陆,在刷新页面之后不能持久化 HOT 1
- 在controller怎么为session绑定自定义数据?
- 是否考虑支持不同数据源
- view 层最好支持自定义模板,比如支持jade,ejs等等
- expand Validation in Model HOT 1
- 如何加载font-awesome等第三方图标库
- Android 的QQ浏览器支持问题
- 403 -Forbidden 安卓手机运行轻应用调试时总是出现这个问题 HOT 2
- touch.js的swipe在锤子手机原生浏览器上不能使用 HOT 2
- touchjs的touch.config的使用问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudajs.