Comments (2)
支持这个还有个考虑是,可以看到很多人在上面发过消息。像网页版,如果进去什么都没有,你可能并不觉得它能正常收发消息,需要自己测一测,如果进去,看到一页都是别人发的消息,就会直接去研究代码,而且感觉也不少人用,比较可靠。
这里用的是实时向服务端请求消息。等本地缓存出来后,我就换成我们提供的本地缓存的接口吧。
因为一般地,聊天不仅要考虑收发消息,还要考虑显示过去的消息。
from leanmessage-demo.
我们关注的点就是 「登陆」 「发消息」 「接消息」 就这三个功能,核心展现,完全不需要用户在这三个功能之外再看见多余的代码,我再次强调,我们 LeanMessage 的卖点是实时通信,不是卖一个完整的通信产品逻辑。
我还是坚持删除跟以上3个功能无关的代码。
from leanmessage-demo.
Related Issues (20)
- Demo 不应该包含的代码 HOT 1
- LeanMessage只有后端吗? HOT 1
- Demo1 设计初稿
- Readme 上的 js 在线地址 404
- e文档如果更新了单点登录,Demo 也应该跟进相关 API,废弃之前的查找再创建的算法 HOT 2
- iOS的demo, 运行起来需要输入ID, ID从哪里获得呢? HOT 2
- 将Android示例代码拷贝到AndroidStudio中运行时报错
- Multiple dex files define Lcom/alibaba/fastjson/JSONStreamAware; HOT 1
- iOS Clone HOT 1
- leanMessage 的android版demo code,有guide怎么样去搭建跑起来吗?import gihub里面的项目到eclipse,编译都不通过,缺jar包 HOT 1
- Android Demo 好多 crash HOT 1
- android进入聊天室崩溃
- web app 调试失败 HOT 1
- 为何这么难导入 ,下载 依赖n久。
- iOS Demo 运行起来界面是乱的 HOT 4
- npm install 报错 HOT 1
- 消息接收,能不能像QQ一样显示某人已发来n条消息? HOT 1
- 点击录音会crash HOT 1
- 无法安装包 HOT 2
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 leanmessage-demo.