Skip to content

KaraCos nodejs developer area

nka11 edited this page Apr 30, 2011 · 7 revisions

KaraCos nodejs developer area

We'll try to gather here every useful information for someone who wants to understand and contribute KaraCos.

Data model:

KaraCos python uses CouchDB for objects persistence. We could continue to use CouchDB using cradle, a high-level, caching, CouchDB client for Node.js. But we are considering using Redis (See FAQ) or nedis (a Redis clone in nodejs), with redis2json.

Static resources mapping:

KaraCos static files

Dynamic resources mapping:

Objects:

Main karacos features is to serve objects (document data, and object api), which, regarding the access type could be either templated for a web browser, or serialised as JSON, XML, over a service oriented protocol like SOAP or as a RESTful API, or over a data orented protocol like WebDAV, or CMIS, or any protocol that may be needed by API.

Objects are linked to url:

    / is the domain object
    /toto is the child object named 'toto' of domain 

Subjects to write about:

  • Template theme structure.

  • Site vs Fragment rendering.

Templates:

Usual access for a 'page oriented' logic template access.

ressources and readings :

Clone this wiki locally