~/talk

Restangular 2.0: The future and beyond

Talkat ng-europe 2014 · 2014-10-22..10-23· [angular]
speakerdeck:mgonto
slides:none on file

Restangular 2.0 claims a rework: ES6 classes and prototypes replace per-object monkey‑patching, the monolithic file splits into modular JavaScript pieces, and per‑resource before/after request hooks and model classes support hasOne/hasMany relations. Implementation uses $http and $q only so wrappers can let Restangular run without Angular, introduces RestangularElement/Collection (collection stores an elements array), and offers resource services that encapsulate Restangular. The refactor is a work in progress with code and issues visible on GitHub and slides linked.

AI-written summary · about

  1. 0:00Intro
  2. 1:32Recap
  3. 2:34Dollar Resource
  4. 5:10Restangular
  5. 7:57Refactoring
  6. 13:19Starting the refactor
  7. 13:33Separating files
  8. 16:40Extending models
  9. 20:51Hooks
  10. 22:40Inner Resources
  11. 24:47Custom Services
  12. 26:36Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.