Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shamblett/wilt
Wilt - a server and browser based CouchDB client written in Dart
https://github.com/shamblett/wilt
dart
Last synced: 11 days ago
JSON representation
Wilt - a server and browser based CouchDB client written in Dart
- Host: GitHub
- URL: https://github.com/shamblett/wilt
- Owner: shamblett
- License: gpl-3.0
- Created: 2013-06-24T12:41:30.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-12-29T10:28:23.000Z (11 months ago)
- Last Synced: 2024-10-20T07:24:11.751Z (20 days ago)
- Topics: dart
- Language: Dart
- Homepage:
- Size: 737 KB
- Stars: 25
- Watchers: 5
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# Wilt - both a browser and server based CouchDB client library
[![Build Status](https://github.com/shamblett/wilt/actions/workflows/ci.yml/badge.svg)](https://github.com/shamblett/wilt/actions/workflows/ci.yml)Wilt is based on the lightweight SAG PHP CouchDB library [available here](https://github.com/sbisbee/sag).
Users of this library should recognise the structure of Wilt easily. A common processing body is
specialised by the use of browser(dart:html) or server(dart:io) HTTP adapters to allow operation in the
browser or the server.Wilt implements the document/attachment/database storage and manipulation interfaces of SAG along with
the utility functions such as get session information etc. It does not directly implement the
manipulation of design documents, clients however can manipulate these items by constructing their
own URL's and using the basic httpRequest method.Authentication is provided using the Basic HTML method, cookie authentication is not
supported.Wilt is a fully functional standalone library, however it is envisaged that higher level client
specific application layers will be wrapped around Wilt to add specific CouchDB response parsing as
Wilt returns JSON Objects(or strings) to the client. It has no knowledge of correct/incorrect responses
such as conflict errors for instance, i.e it has no real CouchDB intelligence other than supplying success
or error responses from its HTTP interface adapter.Note that the Wilt methods that previously returned Json Objects(JsonObjectLite) now return the dynamic type,
this is a JsonObjectLite and can be used as such. This change was necessitated as part of the
Dart 2.0 updates.Current version supports both CouchDb 2.2.0 and 1.6.