goinstant / goangular

AngularJS bindings for GoInstant. Build realtime, multi-user apps with AngularJS and GoInstant easily. https://developers.goinstant.com/v1/GoAngular/index.html
BSD 3-Clause "New" or "Revised" License
137 stars 30 forks source link

Rooms Interface #17

Closed mattcreager closed 10 years ago

mattcreager commented 10 years ago

Rooms are GoInstant's method of putting your users and keys in one place.

In GoAngular we imagine you creating and interacting with rooms like this:

angularApp.controller('Ctrl', function($scope, goRooms) {
  // Get a room, but don't join it
  goRooms.get('someRoom').then(function() {..

  // Get a room and join it
  goRooms.join('someRoom').then(function() {.. 
});
mattcreager commented 10 years ago

I'm not convinced this provides enough convenience to justify the extended surface area, I'm open to suggestions :)