Tag Archives: javascript

Pusher: Presence channels are private channels

Channels prefixed with ‘presence-’ don’t need to be also prefixed with ‘private-’ From the Pusher docs: Presence channels build on the security of Private channels and expose the additional feature of an awareness of who is subscribed to that channel.  So, don’t bother adding the ‘private-’ prefix to a ‘presence-’ prefixed channel because it will [...]

Posted in developer tools, programming, web programming | Also tagged , , , | Leave a comment

Cross domain issue with Backbone.js (OPTIONS request)

We ran into a problem right away. The collection fetch method was not retrieving the right data. It was actually issuing a OPTIONS /cabeceras request. We were expecting a GET /cabeceras request.

Posted in open source, programming, software engineering, web programming | Also tagged , , , | Leave a comment

Client-side I18n Javascript for Rails with Babilu

For Rails applications with a heavy client, it might be necessary to add I18n support using Javascript.

Use case example: A user could switch the language of the entire page without having to do a page refresh.

Posted in open source, programming, Ruby programming, web programming | Also tagged , , , | 2 Comments