由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - AngularJS 怎么样?
相关主题
meteor 1.0 发布了,是来给AngularJS 2.0掘墓吧Meteor框架的坑有哪些朋友跳了?
AngularJS vs DojoAngularJS 稳定不?
jQuery还能活多久啊?is dirty checking better than change listen ers
AngularJS 和 BootStrapangular2太好了
雪地跪问各位大牛,javascript 客户端谁家强?java script哪个framework比较好用?
angular 的ui.router 配合REST 很强大,感觉angular是否淘汰jquery了
现在学front end framework的话哪个最好?简单的web app用什么语言?
同时写两个平台的app?有没有用AngularJS的大牛
相关话题的讨论汇总
话题: angular话题: jquery话题: ui话题: learning话题: end
进入Programming版参与讨论
1 (共1页)
h******k
发帖数: 388
1
和别的popular JS framework比怎么样?有没有用过Angular的大牛给个评价?如果要
自学Angular的话有什么好的书或网站?
p*****2
发帖数: 21240
2
貌似现在MEAN很火呀
a*******o
发帖数: 290
3
We are using Angular to rewrite our front end. It has a very steep learning
curve. I consider myself very good with HTML and Javascript but need to
learn a lot. There is an Augular way for almost all aspects of web
development. Angular is very hot right now. However I'm not sure whether it'
ll stay on top several years from now.
To learn Angular, it's probably better to stick to its own documentation and
blogs linked from there. Books are often out of date because Angular is
still evolving fast.
d*******r
发帖数: 3299
4

learning
it'
and
看着太吓人了,front end 变化这么快,这个 learning cost 还这么高

【在 a*******o 的大作中提到】
: We are using Angular to rewrite our front end. It has a very steep learning
: curve. I consider myself very good with HTML and Javascript but need to
: learn a lot. There is an Augular way for almost all aspects of web
: development. Angular is very hot right now. However I'm not sure whether it'
: ll stay on top several years from now.
: To learn Angular, it's probably better to stick to its own documentation and
: blogs linked from there. Books are often out of date because Angular is
: still evolving fast.

p*****2
发帖数: 21240
5

learning
it'
and
多谢大牛。一直犹豫要不要学一下,看来没有必要了。上meteor算了。没必要自己跟自
己过不去。

【在 a*******o 的大作中提到】
: We are using Angular to rewrite our front end. It has a very steep learning
: curve. I consider myself very good with HTML and Javascript but need to
: learn a lot. There is an Augular way for almost all aspects of web
: development. Angular is very hot right now. However I'm not sure whether it'
: ll stay on top several years from now.
: To learn Angular, it's probably better to stick to its own documentation and
: blogs linked from there. Books are often out of date because Angular is
: still evolving fast.

l*s
发帖数: 783
6
NG is good and after one day reading you should be able to start using it.
IMHO it's easier than Durandal.

【在 h******k 的大作中提到】
: 和别的popular JS framework比怎么样?有没有用过Angular的大牛给个评价?如果要
: 自学Angular的话有什么好的书或网站?

g*****g
发帖数: 34805
7
前端就是跟错了就白学了。不像我9年前学的 spring, hibernate,现在还是主流。

【在 d*******r 的大作中提到】
:
: learning
: it'
: and
: 看着太吓人了,front end 变化这么快,这个 learning cost 还这么高

d******e
发帖数: 2265
8
angular is somehow ill-designed. look at its names choosen: dependency
injection... The weird name only make it harder to understand for a single
thing. These guys just lack of invention.
my feeling is the product is at college student course project level, some
oo blending with template processing tech... The design is not beautiful
at all.

【在 h******k 的大作中提到】
: 和别的popular JS framework比怎么样?有没有用过Angular的大牛给个评价?如果要
: 自学Angular的话有什么好的书或网站?

h******k
发帖数: 388
9
What's your favor of front end framework then? Someone in our team prefers
don't use any framework just use pure javascript and JQuery.

single

【在 d******e 的大作中提到】
: angular is somehow ill-designed. look at its names choosen: dependency
: injection... The weird name only make it harder to understand for a single
: thing. These guys just lack of invention.
: my feeling is the product is at college student course project level, some
: oo blending with template processing tech... The design is not beautiful
: at all.

h******k
发帖数: 388
10
多谢回复。我一直尽量避免做front end,实在躲不了也只有硬着头皮上了。现在公司
的architect已经基本定下front end用Angular,请问Angular有什么sample projects我
可以参考吗?

learning
it'
and

【在 a*******o 的大作中提到】
: We are using Angular to rewrite our front end. It has a very steep learning
: curve. I consider myself very good with HTML and Javascript but need to
: learn a lot. There is an Augular way for almost all aspects of web
: development. Angular is very hot right now. However I'm not sure whether it'
: ll stay on top several years from now.
: To learn Angular, it's probably better to stick to its own documentation and
: blogs linked from there. Books are often out of date because Angular is
: still evolving fast.

相关主题
angular 的ui.router 配合REST 很强大,感觉Meteor框架的坑有哪些朋友跳了?
现在学front end framework的话哪个最好?AngularJS 稳定不?
同时写两个平台的app?is dirty checking better than change listen ers
进入Programming版参与讨论
h******k
发帖数: 388
11
我们的project是把一个旧系统移植到web上,原系统是C#(front end)+SOAP Web
Services(back end).新系统打算Web(front end)+Restful Web Services(back end).
s***o
发帖数: 2191
12
angular的learning curve可以参考下图:
(这个代表learning curve也不算确切。angular基本的东西是没有learning curve的
,拿来就可以用;一些advanced features则有很深的learning curve)
d****i
发帖数: 4809
13
haha, 看来Angular玩起来是高潮迭起啊。。

【在 s***o 的大作中提到】
: angular的learning curve可以参考下图:
: (这个代表learning curve也不算确切。angular基本的东西是没有learning curve的
: ,拿来就可以用;一些advanced features则有很深的learning curve)

h******k
发帖数: 388
14
刚看完这个录像 http://www.youtube.com/watch?v=i9MHigUZKEM
Now I feel Angular is NEAT. :_)

【在 s***o 的大作中提到】
: angular的learning curve可以参考下图:
: (这个代表learning curve也不算确切。angular基本的东西是没有learning curve的
: ,拿来就可以用;一些advanced features则有很深的learning curve)

P********l
发帖数: 452
15
强烈推荐.
牛逼得一塌糊涂.

single

【在 d******e 的大作中提到】
: angular is somehow ill-designed. look at its names choosen: dependency
: injection... The weird name only make it harder to understand for a single
: thing. These guys just lack of invention.
: my feeling is the product is at college student course project level, some
: oo blending with template processing tech... The design is not beautiful
: at all.

P********l
发帖数: 452
16
举一个最简单的例子.
你可以在browser里维护一个简单的数据库/状态机.然后用*html*告诉ng怎么显示,
然后就结束了.
p*****2
发帖数: 21240
17

感觉比meteor难学好多呀。meteor可以把database搬到browser里。在client直接操作
数据库。

【在 P********l 的大作中提到】
: 举一个最简单的例子.
: 你可以在browser里维护一个简单的数据库/状态机.然后用*html*告诉ng怎么显示,
: 然后就结束了.

P********l
发帖数: 452
18
没实际用过meteor. 感觉这两个东西是互补的.
ng和其他的framework很不一样.在理想情况下,都不需要load jQuery. (不推荐用
jQuery) 所以比较容易写出四不像来.
二爷试试看?

【在 p*****2 的大作中提到】
:
: 感觉比meteor难学好多呀。meteor可以把database搬到browser里。在client直接操作
: 数据库。

d****i
发帖数: 4809
19
Angular和jQuery同时用的话会有冲突吗?

【在 P********l 的大作中提到】
: 没实际用过meteor. 感觉这两个东西是互补的.
: ng和其他的framework很不一样.在理想情况下,都不需要load jQuery. (不推荐用
: jQuery) 所以比较容易写出四不像来.
: 二爷试试看?

P********l
发帖数: 452
20
代码没有冲突.
在有些情况下必须用jQuery, 比如
http://stackoverflow.com/questions/12197880/angularjs-how-to-ma
但是,概念上ng和其他framework非常不同. ng是把数据放在第一位,根据数据的变化
刷新ui; 其他的是把数据放到dom里,通过dom来存取数据.

【在 d****i 的大作中提到】
: Angular和jQuery同时用的话会有冲突吗?
相关主题
angular2太好了简单的web app用什么语言?
java script哪个framework比较好用?有没有用AngularJS的大牛
angular是否淘汰jquery了学angular js有哪些有用的书?
进入Programming版参与讨论
p*****2
发帖数: 21240
21

听起来跟meteor很像,数据第一。

【在 P********l 的大作中提到】
: 代码没有冲突.
: 在有些情况下必须用jQuery, 比如
: http://stackoverflow.com/questions/12197880/angularjs-how-to-ma
: 但是,概念上ng和其他framework非常不同. ng是把数据放在第一位,根据数据的变化
: 刷新ui; 其他的是把数据放到dom里,通过dom来存取数据.

p*****2
发帖数: 21240
22

确实可以互补。据我简单的了解,angular是双向binding的,而meteor只是单向。当然
了,我也没好好看过angular,不知道一旦修改UI,马上修改数据库吗?

【在 P********l 的大作中提到】
: 没实际用过meteor. 感觉这两个东西是互补的.
: ng和其他的framework很不一样.在理想情况下,都不需要load jQuery. (不推荐用
: jQuery) 所以比较容易写出四不像来.
: 二爷试试看?

P********l
发帖数: 452
23
马上修改数据.
"Think of your model as the single-source-of-truth for your application.
Your model is where you go to to read or update anything in your application
."
http://net.tutsplus.com/tutorials/javascript-ajax/5-awesome-ang

【在 p*****2 的大作中提到】
:
: 确实可以互补。据我简单的了解,angular是双向binding的,而meteor只是单向。当然
: 了,我也没好好看过angular,不知道一旦修改UI,马上修改数据库吗?

p*****2
发帖数: 21240
24

application
什么时候更新数据库呢?

【在 P********l 的大作中提到】
: 马上修改数据.
: "Think of your model as the single-source-of-truth for your application.
: Your model is where you go to to read or update anything in your application
: ."
: http://net.tutsplus.com/tutorials/javascript-ajax/5-awesome-ang

P********l
发帖数: 452
25
ng自己知道什么时候更新.
更细的文档看$apply, $watch.
http://docs.angularjs.org/api/ng.$rootScope.Scope

【在 p*****2 的大作中提到】
:
: application
: 什么时候更新数据库呢?

s***o
发帖数: 2191
26
After your angular code posts to your node API successfully.
angular is a client side framework. 2-way data-binding is between your model
and DOM, nothing to do with back-end/front-end/in-the-middle-of-nowhere
database operations

【在 p*****2 的大作中提到】
:
: application
: 什么时候更新数据库呢?

P********l
发帖数: 452
27
ng和后端的数据库没关系.

【在 p*****2 的大作中提到】
:
: application
: 什么时候更新数据库呢?

p*****2
发帖数: 21240
28

嗯。这就是区别了。所以meteor要更简单很多,所以meteor不能做双向bind。不能UI一
更新就马上更新数据库,需要一个事件的产生。Angular是来了一个中间层,真正更新
数据库的时候还是要靠event驱动吧?

【在 P********l 的大作中提到】
: ng和后端的数据库没关系.
P********l
发帖数: 452
29
好比说:
嗯.筷子和碗有区别.所以碗要简单很多,所以碗不能夹东西.

【在 p*****2 的大作中提到】
:
: 嗯。这就是区别了。所以meteor要更简单很多,所以meteor不能做双向bind。不能UI一
: 更新就马上更新数据库,需要一个事件的产生。Angular是来了一个中间层,真正更新
: 数据库的时候还是要靠event驱动吧?

p*****2
发帖数: 21240
30

不能这么说。都是client side MVC,所以还是有可比性的。当然也可以公用,但是不
知道必要性有多大。

【在 P********l 的大作中提到】
: 好比说:
: 嗯.筷子和碗有区别.所以碗要简单很多,所以碗不能夹东西.

相关主题
php和node谁快AngularJS vs Dojo
发现很多startup scale起来都往node scala nosql上转jQuery还能活多久啊?
meteor 1.0 发布了,是来给AngularJS 2.0掘墓吧AngularJS 和 BootStrap
进入Programming版参与讨论
d*******r
发帖数: 3299
31
同意啊,风险比较大,站错边就不好玩了

【在 g*****g 的大作中提到】
: 前端就是跟错了就白学了。不像我9年前学的 spring, hibernate,现在还是主流。
p*****2
发帖数: 21240
32

所以要选择一个容易学的。我看meteor就不错,上手很快。

【在 d*******r 的大作中提到】
: 同意啊,风险比较大,站错边就不好玩了
a*******o
发帖数: 290
33
Another developer set up our project structure so I didn't research what
good examples are out there. I just did a google search and found below page
. Hope it is useful to you.
http://tutorialzine.com/2013/08/learn-angularjs-5-examples/

【在 h******k 的大作中提到】
: 多谢回复。我一直尽量避免做front end,实在躲不了也只有硬着头皮上了。现在公司
: 的architect已经基本定下front end用Angular,请问Angular有什么sample projects我
: 可以参考吗?
:
: learning
: it'
: and

b***e
发帖数: 1419
34
Similar to the JQuery UI plugins, such rigid "UI frameworks" never work in
serious consumer facing products. It is probably only good for developing
CRUD based internal tools. Real real-world problems are usually coming with
much more complicated product requirements and much more involved user
interaction specifications than what such frameworks provide and suppport.
Instead of fighting such frameworks, it is better to build your own stuff
ground up with light weight lib support such as JQuery.
Also, IMO, anything at UI layer "framework" that has a very steep learning
curve is just wrong. It is, after all, not such a complicated issue and it
should made clear to anyone without such hinderance. I believe in design
patterns, but not frameworks.

【在 h******k 的大作中提到】
: 和别的popular JS framework比怎么样?有没有用过Angular的大牛给个评价?如果要
: 自学Angular的话有什么好的书或网站?

n****1
发帖数: 1136
35
DOM/Jquery更像MFC时代的概念, Backbone/meteor像MVC.
Angular其实类似与微软的MVVM, 把开发html5简化到了XAML的地步。 咱不能说XAML没
法做复杂UI吧,WP8都用这个。
我觉得XAML/angular最大的好处是把数据和UI设计完全分离, UI完全可以由美工单独
完成。 这种责任明确的架构必然会提高生产力。

with

it

【在 b***e 的大作中提到】
: Similar to the JQuery UI plugins, such rigid "UI frameworks" never work in
: serious consumer facing products. It is probably only good for developing
: CRUD based internal tools. Real real-world problems are usually coming with
: much more complicated product requirements and much more involved user
: interaction specifications than what such frameworks provide and suppport.
: Instead of fighting such frameworks, it is better to build your own stuff
: ground up with light weight lib support such as JQuery.
: Also, IMO, anything at UI layer "framework" that has a very steep learning
: curve is just wrong. It is, after all, not such a complicated issue and it
: should made clear to anyone without such hinderance. I believe in design

h******k
发帖数: 388
36
和别的popular JS framework比怎么样?有没有用过Angular的大牛给个评价?如果要
自学Angular的话有什么好的书或网站?
p*****2
发帖数: 21240
37
貌似现在MEAN很火呀
a*******o
发帖数: 290
38
We are using Angular to rewrite our front end. It has a very steep learning
curve. I consider myself very good with HTML and Javascript but need to
learn a lot. There is an Augular way for almost all aspects of web
development. Angular is very hot right now. However I'm not sure whether it'
ll stay on top several years from now.
To learn Angular, it's probably better to stick to its own documentation and
blogs linked from there. Books are often out of date because Angular is
still evolving fast.
d*******r
发帖数: 3299
39

learning
it'
and
看着太吓人了,front end 变化这么快,这个 learning cost 还这么高

【在 a*******o 的大作中提到】
: We are using Angular to rewrite our front end. It has a very steep learning
: curve. I consider myself very good with HTML and Javascript but need to
: learn a lot. There is an Augular way for almost all aspects of web
: development. Angular is very hot right now. However I'm not sure whether it'
: ll stay on top several years from now.
: To learn Angular, it's probably better to stick to its own documentation and
: blogs linked from there. Books are often out of date because Angular is
: still evolving fast.

p*****2
发帖数: 21240
40

learning
it'
and
多谢大牛。一直犹豫要不要学一下,看来没有必要了。上meteor算了。没必要自己跟自
己过不去。

【在 a*******o 的大作中提到】
: We are using Angular to rewrite our front end. It has a very steep learning
: curve. I consider myself very good with HTML and Javascript but need to
: learn a lot. There is an Augular way for almost all aspects of web
: development. Angular is very hot right now. However I'm not sure whether it'
: ll stay on top several years from now.
: To learn Angular, it's probably better to stick to its own documentation and
: blogs linked from there. Books are often out of date because Angular is
: still evolving fast.

相关主题
AngularJS 和 BootStrap现在学front end framework的话哪个最好?
雪地跪问各位大牛,javascript 客户端谁家强?同时写两个平台的app?
angular 的ui.router 配合REST 很强大,感觉Meteor框架的坑有哪些朋友跳了?
进入Programming版参与讨论
l*s
发帖数: 783
41
NG is good and after one day reading you should be able to start using it.
IMHO it's easier than Durandal.

【在 h******k 的大作中提到】
: 和别的popular JS framework比怎么样?有没有用过Angular的大牛给个评价?如果要
: 自学Angular的话有什么好的书或网站?

g*****g
发帖数: 34805
42
前端就是跟错了就白学了。不像我9年前学的 spring, hibernate,现在还是主流。

【在 d*******r 的大作中提到】
:
: learning
: it'
: and
: 看着太吓人了,front end 变化这么快,这个 learning cost 还这么高

d******e
发帖数: 2265
43
angular is somehow ill-designed. look at its names choosen: dependency
injection... The weird name only make it harder to understand for a single
thing. These guys just lack of invention.
my feeling is the product is at college student course project level, some
oo blending with template processing tech... The design is not beautiful
at all.

【在 h******k 的大作中提到】
: 和别的popular JS framework比怎么样?有没有用过Angular的大牛给个评价?如果要
: 自学Angular的话有什么好的书或网站?

h******k
发帖数: 388
44
What's your favor of front end framework then? Someone in our team prefers
don't use any framework just use pure javascript and JQuery.

single

【在 d******e 的大作中提到】
: angular is somehow ill-designed. look at its names choosen: dependency
: injection... The weird name only make it harder to understand for a single
: thing. These guys just lack of invention.
: my feeling is the product is at college student course project level, some
: oo blending with template processing tech... The design is not beautiful
: at all.

h******k
发帖数: 388
45
多谢回复。我一直尽量避免做front end,实在躲不了也只有硬着头皮上了。现在公司
的architect已经基本定下front end用Angular,请问Angular有什么sample projects我
可以参考吗?

learning
it'
and

【在 a*******o 的大作中提到】
: We are using Angular to rewrite our front end. It has a very steep learning
: curve. I consider myself very good with HTML and Javascript but need to
: learn a lot. There is an Augular way for almost all aspects of web
: development. Angular is very hot right now. However I'm not sure whether it'
: ll stay on top several years from now.
: To learn Angular, it's probably better to stick to its own documentation and
: blogs linked from there. Books are often out of date because Angular is
: still evolving fast.

h******k
发帖数: 388
46
我们的project是把一个旧系统移植到web上,原系统是C#(front end)+SOAP Web
Services(back end).新系统打算Web(front end)+Restful Web Services(back end).
s***o
发帖数: 2191
47
angular的learning curve可以参考下图:
(这个代表learning curve也不算确切。angular基本的东西是没有learning curve的
,拿来就可以用;一些advanced features则有很深的learning curve)
d****i
发帖数: 4809
48
haha, 看来Angular玩起来是高潮迭起啊。。

【在 s***o 的大作中提到】
: angular的learning curve可以参考下图:
: (这个代表learning curve也不算确切。angular基本的东西是没有learning curve的
: ,拿来就可以用;一些advanced features则有很深的learning curve)

h******k
发帖数: 388
49
刚看完这个录像 http://www.youtube.com/watch?v=i9MHigUZKEM
Now I feel Angular is NEAT. :_)

【在 s***o 的大作中提到】
: angular的learning curve可以参考下图:
: (这个代表learning curve也不算确切。angular基本的东西是没有learning curve的
: ,拿来就可以用;一些advanced features则有很深的learning curve)

P********l
发帖数: 452
50
强烈推荐.
牛逼得一塌糊涂.

single

【在 d******e 的大作中提到】
: angular is somehow ill-designed. look at its names choosen: dependency
: injection... The weird name only make it harder to understand for a single
: thing. These guys just lack of invention.
: my feeling is the product is at college student course project level, some
: oo blending with template processing tech... The design is not beautiful
: at all.

相关主题
AngularJS 稳定不?java script哪个framework比较好用?
is dirty checking better than change listen ersangular是否淘汰jquery了
angular2太好了简单的web app用什么语言?
进入Programming版参与讨论
P********l
发帖数: 452
51
举一个最简单的例子.
你可以在browser里维护一个简单的数据库/状态机.然后用*html*告诉ng怎么显示,
然后就结束了.
p*****2
发帖数: 21240
52

感觉比meteor难学好多呀。meteor可以把database搬到browser里。在client直接操作
数据库。

【在 P********l 的大作中提到】
: 举一个最简单的例子.
: 你可以在browser里维护一个简单的数据库/状态机.然后用*html*告诉ng怎么显示,
: 然后就结束了.

P********l
发帖数: 452
53
没实际用过meteor. 感觉这两个东西是互补的.
ng和其他的framework很不一样.在理想情况下,都不需要load jQuery. (不推荐用
jQuery) 所以比较容易写出四不像来.
二爷试试看?

【在 p*****2 的大作中提到】
:
: 感觉比meteor难学好多呀。meteor可以把database搬到browser里。在client直接操作
: 数据库。

d****i
发帖数: 4809
54
Angular和jQuery同时用的话会有冲突吗?

【在 P********l 的大作中提到】
: 没实际用过meteor. 感觉这两个东西是互补的.
: ng和其他的framework很不一样.在理想情况下,都不需要load jQuery. (不推荐用
: jQuery) 所以比较容易写出四不像来.
: 二爷试试看?

P********l
发帖数: 452
55
代码没有冲突.
在有些情况下必须用jQuery, 比如
http://stackoverflow.com/questions/12197880/angularjs-how-to-ma
但是,概念上ng和其他framework非常不同. ng是把数据放在第一位,根据数据的变化
刷新ui; 其他的是把数据放到dom里,通过dom来存取数据.

【在 d****i 的大作中提到】
: Angular和jQuery同时用的话会有冲突吗?
p*****2
发帖数: 21240
56

听起来跟meteor很像,数据第一。

【在 P********l 的大作中提到】
: 代码没有冲突.
: 在有些情况下必须用jQuery, 比如
: http://stackoverflow.com/questions/12197880/angularjs-how-to-ma
: 但是,概念上ng和其他framework非常不同. ng是把数据放在第一位,根据数据的变化
: 刷新ui; 其他的是把数据放到dom里,通过dom来存取数据.

p*****2
发帖数: 21240
57

确实可以互补。据我简单的了解,angular是双向binding的,而meteor只是单向。当然
了,我也没好好看过angular,不知道一旦修改UI,马上修改数据库吗?

【在 P********l 的大作中提到】
: 没实际用过meteor. 感觉这两个东西是互补的.
: ng和其他的framework很不一样.在理想情况下,都不需要load jQuery. (不推荐用
: jQuery) 所以比较容易写出四不像来.
: 二爷试试看?

P********l
发帖数: 452
58
马上修改数据.
"Think of your model as the single-source-of-truth for your application.
Your model is where you go to to read or update anything in your application
."
http://net.tutsplus.com/tutorials/javascript-ajax/5-awesome-ang

【在 p*****2 的大作中提到】
:
: 确实可以互补。据我简单的了解,angular是双向binding的,而meteor只是单向。当然
: 了,我也没好好看过angular,不知道一旦修改UI,马上修改数据库吗?

p*****2
发帖数: 21240
59

application
什么时候更新数据库呢?

【在 P********l 的大作中提到】
: 马上修改数据.
: "Think of your model as the single-source-of-truth for your application.
: Your model is where you go to to read or update anything in your application
: ."
: http://net.tutsplus.com/tutorials/javascript-ajax/5-awesome-ang

P********l
发帖数: 452
60
ng自己知道什么时候更新.
更细的文档看$apply, $watch.
http://docs.angularjs.org/api/ng.$rootScope.Scope

【在 p*****2 的大作中提到】
:
: application
: 什么时候更新数据库呢?

相关主题
有没有用AngularJS的大牛发现很多startup scale起来都往node scala nosql上转
学angular js有哪些有用的书?meteor 1.0 发布了,是来给AngularJS 2.0掘墓吧
php和node谁快AngularJS vs Dojo
进入Programming版参与讨论
s***o
发帖数: 2191
61
After your angular code posts to your node API successfully.
angular is a client side framework. 2-way data-binding is between your model
and DOM, nothing to do with back-end/front-end/in-the-middle-of-nowhere
database operations

【在 p*****2 的大作中提到】
:
: application
: 什么时候更新数据库呢?

P********l
发帖数: 452
62
ng和后端的数据库没关系.

【在 p*****2 的大作中提到】
:
: application
: 什么时候更新数据库呢?

p*****2
发帖数: 21240
63

嗯。这就是区别了。所以meteor要更简单很多,所以meteor不能做双向bind。不能UI一
更新就马上更新数据库,需要一个事件的产生。Angular是来了一个中间层,真正更新
数据库的时候还是要靠event驱动吧?

【在 P********l 的大作中提到】
: ng和后端的数据库没关系.
P********l
发帖数: 452
64
好比说:
嗯.筷子和碗有区别.所以碗要简单很多,所以碗不能夹东西.

【在 p*****2 的大作中提到】
:
: 嗯。这就是区别了。所以meteor要更简单很多,所以meteor不能做双向bind。不能UI一
: 更新就马上更新数据库,需要一个事件的产生。Angular是来了一个中间层,真正更新
: 数据库的时候还是要靠event驱动吧?

p*****2
发帖数: 21240
65

不能这么说。都是client side MVC,所以还是有可比性的。当然也可以公用,但是不
知道必要性有多大。

【在 P********l 的大作中提到】
: 好比说:
: 嗯.筷子和碗有区别.所以碗要简单很多,所以碗不能夹东西.

d*******r
发帖数: 3299
66
同意啊,风险比较大,站错边就不好玩了

【在 g*****g 的大作中提到】
: 前端就是跟错了就白学了。不像我9年前学的 spring, hibernate,现在还是主流。
p*****2
发帖数: 21240
67

所以要选择一个容易学的。我看meteor就不错,上手很快。

【在 d*******r 的大作中提到】
: 同意啊,风险比较大,站错边就不好玩了
a*******o
发帖数: 290
68
Another developer set up our project structure so I didn't research what
good examples are out there. I just did a google search and found below page
. Hope it is useful to you.
http://tutorialzine.com/2013/08/learn-angularjs-5-examples/

【在 h******k 的大作中提到】
: 多谢回复。我一直尽量避免做front end,实在躲不了也只有硬着头皮上了。现在公司
: 的architect已经基本定下front end用Angular,请问Angular有什么sample projects我
: 可以参考吗?
:
: learning
: it'
: and

b***e
发帖数: 1419
69
Similar to the JQuery UI plugins, such rigid "UI frameworks" never work in
serious consumer facing products. It is probably only good for developing
CRUD based internal tools. Real real-world problems are usually coming with
much more complicated product requirements and much more involved user
interaction specifications than what such frameworks provide and suppport.
Instead of fighting such frameworks, it is better to build your own stuff
ground up with light weight lib support such as JQuery.
Also, IMO, anything at UI layer "framework" that has a very steep learning
curve is just wrong. It is, after all, not such a complicated issue and it
should made clear to anyone without such hinderance. I believe in design
patterns, but not frameworks.

【在 h******k 的大作中提到】
: 和别的popular JS framework比怎么样?有没有用过Angular的大牛给个评价?如果要
: 自学Angular的话有什么好的书或网站?

n****1
发帖数: 1136
70
DOM/Jquery更像MFC时代的概念, Backbone/meteor像MVC.
Angular其实类似与微软的MVVM, 把开发html5简化到了XAML的地步。 咱不能说XAML没
法做复杂UI吧,WP8都用这个。
我觉得XAML/angular最大的好处是把数据和UI设计完全分离, UI完全可以由美工单独
完成。 这种责任明确的架构必然会提高生产力。

with

it

【在 b***e 的大作中提到】
: Similar to the JQuery UI plugins, such rigid "UI frameworks" never work in
: serious consumer facing products. It is probably only good for developing
: CRUD based internal tools. Real real-world problems are usually coming with
: much more complicated product requirements and much more involved user
: interaction specifications than what such frameworks provide and suppport.
: Instead of fighting such frameworks, it is better to build your own stuff
: ground up with light weight lib support such as JQuery.
: Also, IMO, anything at UI layer "framework" that has a very steep learning
: curve is just wrong. It is, after all, not such a complicated issue and it
: should made clear to anyone without such hinderance. I believe in design

相关主题
AngularJS vs Dojo雪地跪问各位大牛,javascript 客户端谁家强?
jQuery还能活多久啊?angular 的ui.router 配合REST 很强大,感觉
AngularJS 和 BootStrap现在学front end framework的话哪个最好?
进入Programming版参与讨论
r***y
发帖数: 4379
71
--Angular其实类似与微软的MVVM
嗯, 跟我看法一样. 就象个增肥了的 knockout

【在 n****1 的大作中提到】
: DOM/Jquery更像MFC时代的概念, Backbone/meteor像MVC.
: Angular其实类似与微软的MVVM, 把开发html5简化到了XAML的地步。 咱不能说XAML没
: 法做复杂UI吧,WP8都用这个。
: 我觉得XAML/angular最大的好处是把数据和UI设计完全分离, UI完全可以由美工单独
: 完成。 这种责任明确的架构必然会提高生产力。
:
: with
:
: it

l**********n
发帖数: 8443
72
design pattern比framework重要。
l**********n
发帖数: 8443
73
angularjs directive is the only cool thing
l**********n
发帖数: 8443
74
In angujarjs, you can use jquery like this:
If jQuery is available, angular.element is an alias for the jQuery function.
l**********n
发帖数: 8443
75
这些framework基本半天就能掌握了,都是大同小异。
l**********n
发帖数: 8443
76
靠,angular的陷阱还真不少。Beware that using angular.module('myModule', [])
will create the module myModule and overwrite any existing module named
myModule.
This is so stupid.
l**********n
发帖数: 8443
77
angular的module定义得很错乱啊,
比如
return angular.module('myApp', [
'ngRoute',
'myApp.controllers',
'myApp.filters',
'myApp.services',
'myApp.directives'
]);
you would expect that myApp is a module, and controllers is a property of
myApp, but the truth is that myApp.controllers is another module name which
is totally independent of myApp.
not mention so many predefined naming of variables, which you have to look
up in the documentation to figure out what they represent.
l**********n
发帖数: 8443
78
by the way, requirejs is much better and the industry standard to organize
js code on the client side.
l**********n
发帖数: 8443
79
花了一个晚上,终于搞清楚,angular的module和requirejs的module是并行的两个系统
,用requirejs管理文件,用angular的module管理controller。 非常简单。
1 (共1页)
进入Programming版参与讨论
相关主题
有没有用AngularJS的大牛雪地跪问各位大牛,javascript 客户端谁家强?
学angular js有哪些有用的书?angular 的ui.router 配合REST 很强大,感觉
php和node谁快现在学front end framework的话哪个最好?
发现很多startup scale起来都往node scala nosql上转同时写两个平台的app?
meteor 1.0 发布了,是来给AngularJS 2.0掘墓吧Meteor框架的坑有哪些朋友跳了?
AngularJS vs DojoAngularJS 稳定不?
jQuery还能活多久啊?is dirty checking better than change listen ers
AngularJS 和 BootStrapangular2太好了
相关话题的讨论汇总
话题: angular话题: jquery话题: ui话题: learning话题: end