TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Backbone-redis, model persistence with Socket.io and Redis pub/sub

43 点作者 sorensen大约 14 年前

5 条评论

mberning大约 14 年前
Are 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.
评论 #2378190 未加载
评论 #2378063 未加载
mythz大约 14 年前
That's a co-incidence, Developed a C# + Redis + Backbone.js TODO app last week myself! Demo running on Nginx/MONO :)<p><a href="http://servicestack.net/Backbone.Todos/" rel="nofollow">http://servicestack.net/Backbone.Todos/</a><p><i></i>Backbone.js + Redis == Elegance + Speed!<i></i><p>We like Backbone.js so much that the TODO app is the default on all ServiceStack's C# starter projects!
chapel大约 14 年前
This is what I see being the next logical step for feature rich realtime webapps. Connecting the front and backends in a virtually seamless way with little to no real overhead.<p>Taking 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.<p>Keep up the great work, love seeing novel approaches to existing projects.
Sukotto大约 14 年前
I put together the following in my "Tech to try" list. On the offchance that I'm not the only one here unfamiliar with these technologies, I paste a copy here:<p>* Backbone.js <a href="http://documentcloud.github.com/backbone/" rel="nofollow">http://documentcloud.github.com/backbone/</a><p><pre><code> 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. </code></pre> %%<p>* Node.js <a href="http://nodejs.org/" rel="nofollow">http://nodejs.org/</a><p><pre><code> 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. </code></pre> %%<p>* Redis <a href="http://redis.io/" rel="nofollow">http://redis.io/</a><p><pre><code> 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. </code></pre> %%<p>* Socket.io <a href="http://socket.io/" rel="nofollow">http://socket.io/</a><p><pre><code> 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. </code></pre> %%
datapimp大约 14 年前
At watermelon express ( beta.watermelonexpress.com ) we have developed a webapp textbook which makes heavy use of this stack. It is a pretty heavy implementation of backbone ( in coffeescript, jashkenas i think we owe you a case of beer. ) I am in the process of weaving in redis pub/sub for our next iteration.