- Redis
- MongoDB
- Riak and/or Cassandra?
- Set up Continuous Integration server like Jenkins/BuildKite
- Caching headers, URL design, content negotiation, SPDY
- Websockets
- Are you familiar with message queues, pubsub, zeromq?
- Do you understand basic web app security? XSS, CSRF, clickjacking, OWASP, escape-by-default templating?
- Do you know what's involved in client-side web performance optimisation (Steve Souders' High Performance Web Sites stuff)?
- React + Flux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# phoenix controller | |
defmodule ExWeb.Api.V3.ArcadeController do | |
use ExWeb.Web, :controller | |
alias ExWeb.{Repo, ArcadeGame, Student} | |
# delegating entire lobic out into a sub app/package (otp or not..) | |
# Here I am trying to make the `PlayArcadeGame` super generic and _not_ coupled to phoenix. | |
# I am trying to pass in all the required info needed up front.. but idk how this will scale | |
# with more complex business things. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule PlayArcadeGame do | |
use Application | |
def start(_type, _args) do | |
import Supervisor.Spec, warn: false | |
children = [ | |
worker(PlayArcadeGame.Workflow, []), | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule Service.AwardAcorns do | |
alias ExSeeds.{Repo, Student} | |
def call(student, amount \\ 3) do | |
student | |
|> ExSeeds.Student.changeset(%{acorns: student.acorns + amount}) | |
|> Repo.update | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
import { module, test } from 'qunit'; | |
import startApp from '../helpers/start-app'; | |
import StudentProgress from "../helpers/student-progress"; | |
var application = null; | |
module('Acceptance: ArcadeAuthorization', { | |
beforeEach () { | |
application = startApp(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', | |
actions: { | |
passDown: function() { | |
alert('passDownInApplicationController'); | |
}, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', | |
actions: { | |
awesomeRowMouseEnterAction: function() { | |
alert("this is a MouseEnter from the application controller!!"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { moduleFor } from 'ember-qunit'; | |
import test from 'mathseeds/tests/ember-sinon-qunit/test'; | |
moduleFor('service:student-event', 'Unit | Service | student event', { | |
needs: ['model:student-event'] | |
}); | |
test('it works', function(assert) { | |
let service = this.subject(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle' | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
didUpdateAttrs: function(attrs) { | |
// attrs.newAttrs.ownedItems.value => | |
// Class {canonicalState: Array[26], store: Class, relationship: ember$data$lib$system$relationships$state$has$many$$ManyRelationship, record: Class, currentState: Array[27]…} | |
// attrs.oldAttrs.ownedItems.value => | |
// Class {canonicalState: Array[26], store: Class, relationship: ember$data$lib$system$relationships$state$has$many$$ManyRelationship, record: Class, currentState: Array[27]…} | |
NewerOlder