![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
EmberJS
文章平均质量分 57
iteye_11287
这个作者很懒,什么都没留下…
展开
-
Ember.js 基本概念
EmberJS 基本概念 EmberJS 中非常核心的理念是:URL 是WEB应用程序的核心,URL代表了一切,要完全讲清楚这个概念,需要例程来说明,暂且放过。 EmberJS在设计时,借鉴了Cocoa and Smalltalk ,还有ruby/RailsTEMPLATES(模板) EmberJS 采用 HandleBars 作为模板机制。模板定义了界面,模板必...原创 2014-10-25 01:02:06 · 196 阅读 · 0 评论 -
EmberJS 命名约定
EmberJS 用了一系列的命名约定,使得各个对象(application,router,model,template...)联系起来。好处是,避免写烦人的简单代码。 下面的说明 都基于:我们的应用取名 App,THE APPLICATION 在应用启动后,Ember自动找App的三个内容: 1. App.ApplicationRoute (路由,为...原创 2014-10-25 13:48:48 · 124 阅读 · 0 评论 -
绝不推荐使用EmberJs的理由
理由很简单,EmberJs 必须把整个页面都用EmberJs写,不能自己写内容在Body中。看个最简单的例子:<!doctype html><html><head> <meta charset='UTF-8'/></head><body> <h1>页头</h1&am原创 2015-05-16 01:47:13 · 639 阅读 · 1 评论