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

Meteor 初级任务 #252

Open
hlee opened this issue Nov 13, 2013 · 14 comments
Open

Meteor 初级任务 #252

hlee opened this issue Nov 13, 2013 · 14 comments
Assignees

Comments

@hlee
Copy link
Member

hlee commented Nov 13, 2013

  1. 完成视频介绍
  2. 完成4个example学习
@ghost ghost assigned hlee Nov 13, 2013
@hlee
Copy link
Member Author

hlee commented Nov 14, 2013

不用回调,自己刷新,

mongodb api console

我的mongodb知识算是全忘光光了,哎,进了console就硬想不起来干啥,谁有好的,mongodb cheatsheet啊,给个我先学下

@hlee
Copy link
Member Author

hlee commented Nov 15, 2013

视频介绍完成
leaderboard 算比较有意思,可怎么样本地部署呢?

[搞定这个]: 简单的很直接meteor run

可以添加一个,减少score的功能

This was referenced Nov 15, 2013
@hlee
Copy link
Member Author

hlee commented Nov 15, 2013

后面,可以做个,

  1. 根据不同的字段排序功能
  2. 随机draw winner
  3. 保存winner状态

@caok
Copy link
Member

caok commented Nov 15, 2013

这个怎么觉着跟做angular的那个差不多了

@hlee
Copy link
Member Author

hlee commented Nov 15, 2013

做一下,还是能感觉出点不一样。一样的部分是都用js,都有template,都有event

不一样的部分,是meteor这玩艺是个全套的解决方案。angular还需要一个后台api之类的

前景的话,我可以说不好,没有那么好的眼光,学习一下,可以加强js和mongo背景,而且,这组人明显从各种框架里选优,然后抄回来。这也省了自己找啦,了解了解吧

默认数据库用mongodb,可见,mongo的势头很猛啊

@caok
Copy link
Member

caok commented Nov 15, 2013

赞,我也去搞起,哈哈

@iannono
Copy link
Member

iannono commented Nov 16, 2013

你们动作好快啊,我都还没开始
现在各种框架层出不穷,都有点审美疲劳了

看得越多,越觉得基础的重要性,特别是想写点什么的时候,光想靠框架,而对底层的机制和系统api不熟悉的话,还是有很多困难

框架越是强大,越让我觉得本源的重要性,否则程序员和流水线工人有什么区别呢?

我们需要的不是组装的能力,而是创造的能力,但是每天做的确是组装的事情,真的是很苦恼啊!

@iannono
Copy link
Member

iannono commented Nov 16, 2013

medeor 从他们的出发点来看,我觉得还是不错的,medeor不是一种特定的语言,而是一种机制,通过这种机制而衍生出一种编程模式,这样看的话,感觉就和rails的理念差不多了,不过走的是实时性应用的路,最后就是各种库层出不穷。

但是任何框架都是有局限性的,我不知道medeor选择mongo作为数据库,是否跟mongo是以js作为api有关吗? 只能绑定在mongo上吗? 支持其他类型的db吗? 是否更换了db会有性能方面的损耗呢?

还有其他的什么局限性吗?

@iannono
Copy link
Member

iannono commented Nov 16, 2013

js现在就像当年linux上的c,是王道,一切基于浏览器的库,应用都从它衍生

coffeescript就像ruby,对c提供了优美的封装,让人写起来身心愉悦

medeor如果保持自身的精简的话,应该会像sinatra吧,还是最终会变成和rails一样沉重呢?

node就像eventmachine,是一种特定类型事务的抽象

不知道我理解的对吗?

@iannono
Copy link
Member

iannono commented Nov 16, 2013

似乎使用mongodb是为了省去orm这一层?

@iannono
Copy link
Member

iannono commented Nov 16, 2013

前端的春天来了,meteor会成为最佳原型实现工具!

@hlee
Copy link
Member Author

hlee commented Nov 18, 2013

做parties的演示项目就赶紧,难度有点大了。

可以把authenticate部分拿出来练习一下,不然,直接做,就不科学了,不循序渐进啦

@hlee
Copy link
Member Author

hlee commented Dec 3, 2013

@iannono
Copy link
Member

iannono commented Dec 4, 2013

cool!

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

No branches or pull requests

3 participants