- Roy T. Fielding: Architectural Styles and the Design of Network-based Software Architectures
- Mike Amundsen: Building Hypermedia APIs with HTML5 and Node
- Steve Klabnik Designing Hypermedia APIs
- Gustaf Nilsson Kotte: Combining HTML Hypermedia APIs and Adaptive Web Design
- Björn Rochel: My Pain With a Non Hypermedia HTTP API
- Jan Kronquist and Mads Enevoldsen: Why hypermedia APIs?
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
User Admin In Following Teams:: | |
<div> | |
Team Name: alsdma <br> | |
Team Sport : Football <br> | |
</div> | |
User Member In Following Teams: |
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
var _this = this; | |
requestMatcher.get('project.requestMatchers').then(function(requestMatchers) { | |
return requestMatchers.removeObject(requestMatcher).destroyRecord(); | |
}).then(function() { | |
_this.trigger('hideModal'); | |
}); |
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
# Make sure to do detection so it will gracefully downgrade like: | |
# begin | |
require 'psych' | |
Psych.add_domain_type(nil, 'code') { |_,hash| | |
p hash['ruby'] | |
} | |
# rescue | |
# do 1.8 stuff | |
# 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'; | |
export default Ember.Route.extend({ | |
actions: { | |
saveClient: function(model) { | |
var model = model.save().then(()=> { | |
this.transitionTo('clients'); | |
}); | |
} |
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({ | |
total: 20.0, | |
current: 4.5, | |
log: [], | |
progress: Ember.computed('total', 'current', { | |
get() { |
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
/** | |
* A "deeper" indented text effect with the :before and :after pseudo-elements. | |
*/ | |
html, body { | |
height: 100%; | |
} | |
body { | |
margin: 0; |
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
(apple | |
(music | |
(product iPod) | |
(product iTunes)) | |
(computers | |
(product iMac) | |
(product [Mac mini])) | |
(phones | |
(product iPhone)) | |
(dishwashers)) |
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
/* global grecaptcha */ | |
import Ember from 'ember'; | |
const maxAttempts = 20; | |
const interval = 100; | |
function verifyCallback(data) { | |
Ember.$.ajaxPrefilter(function(options, oriOpt, jqXHR) { | |
jqXHR.setRequestHeader("X-Recaptcha-Token", data); | |
}); |
OlderNewer