Weekly Bits and Pieces

In lieu of finding time to write full blog posts at the moment, I’m going to at least jot down the micro bits and pieces I make a note of during the week, usually from podcasts I’ve listened to or articles I’ve read.

  • Observables are going to be in some future version of ECMAScript.
  • So are proxies.
  • emjer.js lets you do JS single page apps but still have nice URLs.
  • While it’s enough easy to write javascript, something like typescript or coffeescript lets you write good javascript without needing to know who Doug Crockford is.
  • Think of jQuery as a “DOM abstraction layer.”
  • Apple has an enterprise app store.
  • It costs $300 a year to have an app in it.
  • Do feature detection, not browser detection.
  • Chrome has some plugins for debugging your SPA binding.
  • There’s 4 billion JS frameworks for SPA. AngularJS or Durandel+Knockout might be a good choice.
  • Elixir is a new language with Ruby syntax that runs on the Erlang VM.
  • TDD is:
    • a means towards precise thought
    • a way of detecting change
    • a form of documentation
  • Don’t ship shit.
  • Our civilisation depends on software…
  • underscore and moment are handy JS libraries.
  • Don’t perform any work in constructors.
  • Some people are moving away from making mobile apps that look native to the device, and moving towards having a “branded” app that looks kind of similar across devices.
  • propertycross.com is a nifty way of comparing different cross-device mobile frameworks.
  • There‚Äôs adaptive rendering and there’s alternative rendering.
    • Adaptive reuses same markup and displays it differently.
    • Alternative rendering users different markup for different devices.
  • Make a distinction between web sites and web apps.
    • Sites are more presentation of information.
    • Apps are interaction and manipulation of information.
  • Adaptive rendering is an easier win on web sites.
  • HTML5 (i.e. html, css, js) is probably the most cross platform development environment you can get.
    • However it isn’t write once, run anywhere. Still need to do some tailoring to individual devices. But it does provide a shared skillset across those devices, and some shared code at least.
  • Solid principles make for testable code. TDD leads you towards the solid principles.

Comments