Backbone-redis, model persistence with Socket.io and Redis pub/sub
sorensen.posterous.com
Backbone-redis, model persistence with Socket.io and Redis pub/sub
1–8 of 8 posts
Re: Backbone-redis, model persistence with Socket.io and Redis pub/sub
#2Taking the Backbone.js Todos example and making the change to using your backbone-redis code is pretty slick. That and the chat example, they just work. My only wish is that the chat example's interface was a bit easier to use.
Keep up the great work, love seeing novel approaches to existing projects.
Re: Backbone-redis, model persistence with Socket.io and Redis pub/sub
#3http://servicestack.net/Backbone.Todos/
Backbone.js + Redis == Elegance + Speed!
We like Backbone.js so much that the TODO app is the default on all ServiceStack's C# starter projects!
Re: Backbone-redis, model persistence with Socket.io and Redis pub/sub
#4Re: Backbone-redis, model persistence with Socket.io and Redis pub/sub
#5Are there any examples of non-trivial apps using this technology stack? We all saw the endless stream of rails blog apps back when that was cool, and now we're seeing the same thing with these todo and chat apps. I'd like to look at some code that has more warts on it.
Re: Backbone-redis, model persistence with Socket.io and Redis pub/sub
#6Are there any examples of non-trivial apps using this technology stack? We all saw the endless stream of rails blog apps back when that was cool, and now we're seeing the same thing with these todo and chat apps. I'd like to look at some code that has more warts on it.
http://documentcloud.github.com/backbone/#examples
If you pop open a JS console, many of them have models and controllers that you can poke around with.
Conversely, if you have an example that you think should be on that list, let me know.
Re: Backbone-redis, model persistence with Socket.io and Redis pub/sub
#7Re: Backbone-redis, model persistence with Socket.io and Redis pub/sub
#8* Backbone.js http://documentcloud.github.com/backbone/
Backbone supplies structure to JavaScript-heavy
applications by providing models with key-value binding
and custom events, collections with a rich API of
enumerable functions, views with declarative event
handling, and connects it all to your existing
application over a RESTful JSON interface.
%%* Node.js http://nodejs.org/
Node's goal is to provide an easy way to build scalable
network programs. In the "hello world" web server example
above, many client connections can be handled
concurrently. Node tells the operating system (through
epoll, kqueue, /dev/poll, or select) that it should be
notified when a new connection is made, and then it goes
to sleep. If someone new connects, then it executes the
callback. Each connection is only a small heap
allocation.
%%* Redis http://redis.io/
Redis is an open source, advanced key-value store. It is
often referred to as a data structure server since keys
can contain strings, hashes, lists, sets and sorted sets.
%%* Socket.io http://socket.io/
Socket.IO aims to make realtime apps possible in every
browser and mobile device, blurring the differences
between the different transport mechanisms. ... making
creating realtime apps that work everywhere a snap.
%%