Skip to content

This is my version of the Github Namshub tutorial in rails, haml and coffeescript

Notifications You must be signed in to change notification settings

minordv8/github-namshub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ember app in Rails

My version of the Ember.js Fundamentals tutorial built on Rails

Notes:

Ember follows a desktop MVC. It’s not a server side MVC like Rails.

Router: App.TablesRoute = Ember.Route.extend({ this.resource(“tables”) });

Controller: App.TablesController = Ember.Controller.extend({…});

Model: App.Table = Ember.Object.extend({…});

View: Views are created when a sophiticated handling of user events is needed and/or to create a re-usable component

Template: handlebars file containing HTML and you injection points {{outlet}}

Ember Incantation:

Everything starts with the URL

A URL maps to a route

A route prepares the data

A Route prepares the controller

The controller is shoved into a template

About

This is my version of the Github Namshub tutorial in rails, haml and coffeescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published