I talked about Ember.js last time. Check out my last presentation! (https://slides.com/garrickcheung/ember-hey-this-looks-interesting/)
A lightweight library for implementing authentication/authorization in Ember.js applications
it maintains a client side session and synchronizes its state across multiple tabs/windows of the application
it authenticates the session against the application's own server, external providers like Facebook etc.
it authorizes requests to backend servers"
A set of clean abstractions for authentication in Ember.js applications.
// app/mixins/non-rest-action.js
import Ember from 'ember';
export default Ember.Mixin.create({
nonRestAction: function (action, method, data) {
const modelName = this.constructor.modelName;
const adapter = this.container.lookup(`adapter:${modelName}`);
return adapter.ajax(this.getActionUrl(action, adapter), method, { data: data });
},
getActionUrl: function(action, adapter) {
const modelName = this.constructor.modelName;
const id = this.get('id');
return `${adapter.buildURL(modelName, id)}/${action}`;
}
});* http://articles.jeffjewiss.com/non-restful-actions-mixin-for-ember-data-model/
A deployment pipeline for your Ember.js apps created with Ember CLI.
Why should I use it? I already have a deployment script.