-
Notifications
You must be signed in to change notification settings - Fork 2
Introduction
##Persistent connection storage for everyone
CRUDr is an open source library that utilizes sockets to make CRUD (create, read, update and delete) operations in real-time.
- 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.
Currently CRUDr has built in support for mongoDB and simpleDB (AWS).
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.
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.
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.
We welcome contributions from all developers who share our belief in open source. Please feel free to fork and contribute to the project.