Notice: Undefined index: HTTP_ACCEPT in /var/local/cache/midgard/midgard/31-100-217-0.php(66) : eval()'d code on line 11

Blog: category "jquery"

Ajatus Lightning talk @ FOSDEM

Posted on 2008-02-08 23:14:01 EET to .

Ajatus LT was accepted to this years FOSDEM in Belgium.

At this point it seems the presentation will be on Sunday 24 at 15:40.

I'll be introducing Ajatus itself and little bit about the pieces it is built on (CouchDB, jQuery).
Mostly I try to concentrate the presentation for developers interested either in offline AJAX development or even Ajatus itself.
I will be showing and explaining some of the layers inside Ajatus, different ways to expand it with plugins, etc and give sneak peak to the future of the app.
Some basic replication scenarios will be covered also.

At the same weekend Bergie and I will be attending the XMPP Devcon to collect and present our ideas of the automated XMPP based CouchDB replication currently going under name PillowTalk. 

 

Ajatus 0.6.0 released

Posted on 2008-01-30 20:04:31 EET to .

Finally got the new release out.
This fixes some bugs and adds cool new features.

Go check it out at http://www.ajatus.info/download/ajatus_0-6-0/  

Bug fix release of Ajatus beta

Posted on 2008-01-04 08:53:46 EET to .

I've just released an important bug fix for Ajatus 0.5.0 beta.
I encourage all users to update.

More info found from release notes

New release of the jqCouch library

Posted on 2007-12-04 20:57:19 EET to .

I'm happy to announce the release of totally rewritten jqCouch -library. Major changes were made so this version is no longer compatible with the older release. Talking with CouchDB is now done through 3 type of connections.

db -connection:
This is used to handle all those Database related tasks such as creating and deleting.
Available methods:

  • exists
  • info
  • create
  • del
  • all
  • restart
doc -connection:
This is used to handle all those Document related tasks. Creating, Updating, Deleting documents.
Available methods:
  • get
  • all
  • save
  • bulk_save
  • del
  • (post)
  • (put)
view -connection:
This handles all actions related to Views.
Available methods:
  • exists
  • info
  • get
  • save
  • del
  • temp
  • (put)
All result methods (methods that return something from the database) return their results through wrapper which can be extended with own custom method. This can be used to render the results to something else or execute other actions as soon as the query is ready. One can register this mapping method globally, for connection or for each method separately.

Some basic usage examples:

creating connections:
//Database connection
var dbc = $.jqCouch.connection('db');
//Document connection with custom config
var dc = $.jqCouch.connection('doc', {cache:true});
//View connection with connection specific mapping function
var vc = $.jqCouch.connection('view', function(data){return data;});
//Database connection with connection specific mapping function and custom settings
var dbc = $.jqCouch.connection('db', function(data){return data;}, {cache:true});

Setting global configurations:
$.jqCouch.set_defaults({
    cache: true
});
Creating new document (One liner):
var revision = $.jqCouch.connection('doc').save('doc_db', {id: "0", title: 'test'})._rev;


More info can be found from the source of the library and the testsuite included in the release This library is part of the Ajatus - Distributed CRM

For some reason the jQuery website is not working properly and it seem that it has reverted to some old backup as the release no longer exists there. Here is a local link to the release: jqcouch-2.0.1.zip

Pre release of the CouchDB jQuery lib.

Posted on 2007-09-23 01:51:57 EEST to .

I'm currently building a lightning fast CRM on top of CouchDB. And because of that I needed to create a jQuery library for the CouchDB as I use jQuery to handle other parts of the system.

More details and screenshots coming soon.

The library can be downloaded here

*UPDATED* the library is now located at http://jquery.com/plugins/project/jqcouch [2007-09-23] 

Hopefully someone else finds this useful too.
And if you have any feedback or feature request feel free to write me email.