Posted by ezmobius
Tue, 30 May 2006 16:46:00 GMT
BackgrounDRb has spawned quite a bit of interest from people who need something like this. So I have set up an official rubyforge project for it. Everyone please get the latest version from the new url the old one is still there for now but will be gone soon.
There is also a mailing list started for discussion of using or extending the plugin for peoples needs. I plan on doing quite a bit of work on this and I have many features planned for the next version. So please do sign up for the mailing list to discuss how you are using this plugin. You can help shape the development of this micro-framework as it gets more mature.
You can find out more information or subscribe to the mailing list here:
Mailing List: http://rubyforge.org/mailman/listinfo/backgroundrb-devel
rubyforge project: http://rubyforge.org/projects/backgroundrb/
README: http://backgroundrb.rubyforge.org
Install with:
$ script/plugin install svn://rubyforge.org//var/svn/backgroundrb
Tags background, bar, drb, progress, task | 3 comments
Posted by ezmobius
Mon, 15 May 2006 17:57:00 GMT
I’m happy to announce the first alpha release of BackgrounDRb for rails. I plan to extend this framework to meet the needs that arise for long running background tasks. It is currently in a very good working state but I want to release it and get feedback from people as to how they will use this setup.
So please use and abuse this and let me know how it works or doesn’t work for you.
You can get BackgrounDRb from subversion here:
svn://rubyforge.org//var/svn/backgroundrb
Click Thru for the README on what this is all about
[EDIT] Added ActiveRecord caching with a simple interface. Like so:
def fill_cache
@posts = Post.find(:all, :include => :comments)
MiddleMan.cache_as(:post_cache, @posts)
end
def retrieve_cache
@posts = MiddleMan.cache_get(:post_cache)
end
Read more...
Tags background, bar, drb, progress, task | 26 comments
Posted by ezmobius
Thu, 04 May 2006 03:31:00 GMT
So here is a little screencast preview of my next plugin. I got the proof of concept working today. You will be able to register your own classes that do long running background tasks with the drb server. And then start your classes from an ajax call. Then you periodically_call_remote to grab the progress of your worker which is access via a key you store in the session. This is the concpet:
Have a look at the screencast of the proof of concept in action.
View ScreenCast
I am planning to finish this up and have it ready to be released as a plugin soon ;-)
Tags drb, progress | 8 comments