Skip to content
Lyndel Thomas edited this page Oct 8, 2012 · 8 revisions

Introduction

##Persistent connection storage for everyone

What is CRUDr?

CRUDr is an open source library that utilizes sockets to make CRUD (create, read, update and delete) operations in real-time.

Why is CRUDr different to other services?

  • CRUDr has no connection limitations.
  • CRUDr handles storage.
  • CRUDr is lightweight and open.
  • CRUDr doesn't tie you to an API to interact with your data.
  • With CRUDr, you have control over how and where your data is stored.

What databases does CRUDr support?

Currently CRUDr has built in support for mongoDB and simpleDB (AWS).

Can I connect to other databases?

Sure, CRUDr is database agnostic. Currently there are built in helpers for mongoDB and simpleDB. However you can easily create your own helper to connect to any database you like. If you do, please consider contributing to the project so that others can benefit.

What are sockets?

Mozilla.org defines WebSockets as follows:

WebSockets is an advanced technology that makes it possible to open an interactive communication session between the user's browser and a server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply.

In other words, WebSockets create a connection between the server and the user that stays open, allowing persistant connection for data to flow and facilitating apps that require a constant flow of information from user to server in real-time. Good examples would include chat services and online games.

What do I need to have setup to get started using CRUDr?

The CRUDr Library runs on node.js, so ideally you have a node app. In addition you'll need to run socket.io That's pretty much it. We believe in keeping our libraries as technology agnostic as possible so that the end user has the maximum flexibility and choice to use the tools they prefer.

This is great, how can I contribute?

We welcome contributions from all developers who share our belief in open source. Please feel free to fork and contribute to the project.