Upgrade to Pro — share decks privately, control downloads, hide ads and more …

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

Fokke Zandbergen

March 28, 2014
Tweet

More Decks by Fokke Zandbergen

Other Decks in Technology

Transcript

  1. • 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
  2. 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
  3. 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
  4. 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