Full-stack JS app development #APIstratAMS

Full-stack JS app development #APIstratAMS

The benefits of full-stack JavaScript APP and API development using the Appcelerator Titanium platform.

Presented at the API Strategy & Practice conference in Amsterdam on March 28th, 2014: http://go.fokkezb.nl/apistrat14

C056051a062fb1054cb45d98177384aa?s=128

Fokke Zandbergen

March 28, 2014
Tweet

Transcript

  1. 5.
  2. 7.

    • Backbone.js • Underscore.js • CommonJS • Node.js packages .IPA

    DEV-TIME RUN-TIME • Node.js • npm install -g ti building • Node.js • MongoDB Express • Angular • API. JSON back-end automating Mocha • Should • • Grunt • Yeoman testing
  3. 8.

    WHY JS APP & API ? • One language, one

    expertise • Shared tooling between APP & API • Shared library between APP & API • Move code between APP and API EFFICIENCY • PORTABILITY
  4. 9.

    var sel = db.col.find();! response.write(JSON.stringify(sel)); API APP var models =

    col.fetch();! _.each(models, function(model) {! model.analysis = require('analysis').off(model);! }); JSON
  5. 10.

    var sel = db.col.find();! _.each(sel, function(model) {! model.analysis = require('analysis').off(doc);!

    });! response.write(JSON.stringify(sel)); API APP var models = col.fetch(); JSON
  6. 13.
  7. 14.
  8. 15.