Tag-Archive for » programming «

Friday, October 03rd, 2008 | Author: number.0

This post will help me to keep track of some good resources on Internet related to CouchDB development

Wiki

http://wiki.apache.org/couchdb/

Tutorials

Introduction
Official website
Author blog (Jan Lehnardt)
Author blog (Damien Katz)
Conceptual Diagram

Step-by-step guide:
Programming CouchDB with Javascript (very good & detailed guide)
CouchDB on Rails (nice one, detailed, step-by-step, but I’m not a rail developer, may be later on)
Simple one way replication (Ruby)

General Discussion:
CouchDB - Use case
Couchdb Joins by Paul Joseph Davis
CouchDB Joins by Christopher Lenz
Storing hierachical data in CouchDB

PHP:
PHPillow - object oriented wrapper for CouchDB
http://wiki.apache.org/couchdb/GettingStartedWithPhp

Python:
Python-CouchDB wrapper library
CouchDB via Python (python-couchdb author website)
CouchDB with Django

Ruby & Rails:
CouchDB on Rails
Planet CouchDB
CouchDB and CouchObjects

.NET:
CouchDB Gui Front End

JAVA:
CouchDB4J

Hard-core:
These stuffs are at high level for those of you - brilliant minds, quite difficult to understand for me but they are here for completeness and you may find cool thing to plow more and become CouchDB experts :)
Inspecting CouchDB
CouchDB btree:lookup
CouchDB btree:query_modify

Comparision:
Amazon SimpleDB & CouchDB

Performance:
A quick look at couchdb performance

Real-word Examples:

You will find a lot of projects started to use CouchDB here

Hope that you find them useful for getting start with CouchDB, I will try to keep this up-to-date, so help me if you can

Share/Save/Bookmark

Wednesday, September 24th, 2008 | Author: number.0

I managed to have CouchDB running with Django inside mod_python, everything was installed on my Slackware 12.1 development server.

1. mod_python is compiled for Apache2, if you don’t know how then proceed here
2. I used official release from Django, check out here if you need help with the installation
3. Install Erlang, CouchDB as described in my previous post
4. Install CouchDB Python binding is easy with easy_install couchdb
5. I set up a virtualhost to run my couchdb-django testing (/etc/httpd/extra/httpd-vhosts.conf)


ServerAdmin abc@abc.com
DocumentRoot “/srv/djangocouchdb”
ServerName django.dev.com

Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all


PythonPath “[r'/srv/'] + sys.path”
SetHandler python-program
SetEnv DJANGO_SETTINGS_MODULE djangocouchdb.settings
PythonHandler django.core.handlers.modpython
PythonOption django.root /couchdb
PythonDebug On

(well, i made my /etc/hosts file to have entry for django.dev.com for sure )

6. Then I followed instruction from HERE to create my django project and couchdb app inside that project. And everything worked, just with a little problem (access denied) with PYTHON_EGG_CACHE which in my system refered to /root/.python-eggs. I reset PYTHON_EGG_CACHE to /tmp and restarted my server, then everything worked fine.

Now it’s time to explore more :)

Share/Save/Bookmark

Category: programming, python  | Tags: , ,  | 2 Comments
Friday, August 01st, 2008 | Author: number.0

Just a stupeed error with the hasAttribute() in IE that made me to spend some time to fix it, after a search thru Google, here is what I came up for, noted here for convenience:

 MYJSLIB.hasAttribute = function(e, attr) {
  return typeof e.attributes[attr] != “undefined”;
};

 

Share/Save/Bookmark

Thursday, July 17th, 2008 | Author: number.0

I’ve been using E-TextEditor for a long time on Windows XP, everything was fine until I installed it on my Dell’s Windows Vista, PHP functions seems to be missing because I couldn’t use it to validate my syntax, E-TextEditor just hangs forever. The cause is that I don’t have php with the installation of Cygwin. So here is the solution:

+ Run cygwin setup again

+ Add ftp://sunsite.dk/projects/cygwinports to the server list

+ Select PHP from the repository and start installing

Share/Save/Bookmark

Category: editor  | Tags: ,  | Leave a Comment