Weekly Tech Notes, 2014, Week 5.

Some weekly notes, from tech podcasts mostly. Mini-SPAs, mobile app development, web API development.

  • Dashboards are a good candidate for a mini-SPA, especially where you want live refresh.
  • Microsoft wants to be a key player in the open community of building web apps — Scott Hunter
  • rdio chose to use a cross-platform toolkit for their mobile development — a decision based on their small team size. — Aaron Bockover
  • Enterprise could be best environment for cross-platform mobile frameworks, where you don’t have competitors so you don’t need the native advantage. Device reach is more important.
  • However, another opinion is that the enterprise will start to demand the quality of native apps too, because users are used to getting that experience from all the other apps they use on their devices. — Aaron Bockover
  • One approach is start with a cross-platform web approach (responsive web apps or cross-platform framework), then fill in the gaps with native apps as demand requires (whether you develop those native apps with something like Xamarin, or pure native.)
  • The world is multi-device now. Everyone has at least two devices. Your app has to work with them. You can’t just work on one platform anymore.
  • You still need to do native UI design when you’re using Xamarin. And you still have to maintain projects in multiple projects. But it does allow you to share business logic code between all of these projects.
  • Categories of mobiles apps (Todd Anglin):
    • Responsive web via the browser.
    • Hybrid, which is web packaged into a native shell.
    • Cross-platform native (native applications developed in a cross-platform way, such as with Xamarin.)
    • Pure native.
  • I used predicates in a mini rule-engine I was writing last week. A couple of little notes about predicates:
    • “The Predicate type in the C# language stores a method that receives one parameter and returns one value of true or false. And it is o” DotNetPerls
    • A predicate in C# is “a function which takes a bunch of arguments and returns a Boolean.” Eric Lippert
  • Hypermedia APIs allow you to evolve APIs without breaking existing clients. There’s still some hardcoding, but it’s not hardcoded links. Glenn Block
  • There’s lots of debate over whether you should use PATCH or PUT for partial updates. Steve Marx says PATCH. This post says PUT.

Comments