Dave Kelly
@davkell
Research Technologist
Arts, Humanities & Social Sciences Research @ NUI Galway
Chrome DevTools / Firefox Firebug extension
console.log( someObject.stuff );
bower search ember
bower install ember
bower list
Laravel PHP example...
composer create-project laravel/laravel --prefer-dist
CodeKit - "It's like steroids for web developers" ($28)
PrePros (Open-source)
Using Git...
@media (min-width: 22em) {
/* styles for this device size... */
}
@media screen and (min-width: 34em) {
/* styles for this device size... */
}
@media screen and (min-width: 54em) {
/* styles for this device size... */
}
Look into "mobile-first" development approaches
BrowserStack | BrowserShots | Litmus (email)
Use tools to help performance (and submit the un-minified code too!)
var aa = {
name: ‘Dave’,
logName: function(){
console.log( aa.name );
}
}
aa.logName();
Read / watch Douglas Crockford's stuff: javascript.crockford.com
var map = L.map('map');
L.tileLayer('http://{s}.tile.cloudmade.com/API-key/997/256/{z}/{x}/{y}.png', {})
.addTo(map);
map.locate({setView: true, maxZoom: 16});
function onLocationFound(e) {
var radius = e.accuracy / 2;
L.marker(e.latlng).addTo(map)
.bindPopup("You are within " + radius + " meters from this point")
.openPopup();
L.circle(e.latlng, radius).addTo(map);
}
map.on('locationfound', onLocationFound);
Check out the Laravel Framework (laravel.com) if doing PHP development
hi@davidkelly.ie
@davkell
linkedin.com/in/davkell
Slides available at talk.davidkelly.ie/codeninja-2013