Riaktive is the Riak database Management Tool.
Tested on Linux Ubuntu (Chrome, Opera, Firefox).
- CRUD document operations
- List of documents (keys) of bucket
- Bucket properties changing
- Nodes and server information
- File loading (using HTML5 File Api)
It's simple. Just run install.sh with first parameter of your server:
sudo bash ./install.sh http://127.0.0.1:8091
It use CURL to download Riaktive files to Riak. Then you can open {your server}/riak/8protons.com_riaktive/index.html and start work ;)
Open this URL in your browser:
{your server}/riak/8protons.com_riaktive/index.html
There are some browser-based (browsers zoopark :) ) issues. Here is the list:
Firefox doesn't download massive json objects. When the keys count is more than approximately 3000 - Firefox blocks the object download.
Opera doesn't support the HTML5 File API. So, Opera can not upload the files to server.
Some of AJAX request is rejected because Chrome identify this requests as "cross-site request forgery".
Every browser add to Content-type 'charset=utf-8' string. This break up image and audio\video file uploading. If you need this files to be uploaded - use native clients or CURL.
It simple and limited by browsers bugs and features, so use this only on test servers or with low count documents buckets.
Fork this if you found any bugs or have a suggestion ;) WARNING! Code is a restricted area! Just kidding :D Code may looks messy in some places.
- Query interface (link walking and map\reduce)
- All browser support (for example using the TCP connection with JavaScript-Flash bridge)
- Audio\video\image uploading support (the same - it needs TCP connection)
Something else, but i can't remember :D
Yeah, relax and enjoy development with Riak and Riaktive ;)
The MIT License
Copyright (c) 2010 Anthony Sekatski <WealthyThinker@8protons.com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.