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

C056051a062fb1054cb45d98177384aa?s=128

Fokke Zandbergen

March 28, 2014
Tweet

Transcript

  1. 28 maart 2014 go.fokkezb.nl/apistrat14 Full-stack JavaScript App Development API.

  2. 28 maart 2014 go.fokkezb.nl/apistrat14 Full-stack JavaScript App Development .IPA

  3. database server-side mvc client-side mvc i/o

  4. alert('hello'); require('http').createServer();

  5. None
  6. database run-time v + i/o run-time mc tooling

  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
  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
  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
  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
  11. APP PUBLIC API PUBLIC API PUBLIC API

  12. APP PUBLIC API PUBLIC API PUBLIC API MIDDLEWARE TOKEN

  13. None
  14. None
  15. None
  16. Questions? mail@FokkeZB.nl @FokkeZB go.FokkeZB.nl/apistrat14