news

Setting up persistence.js using

Installing persistence.js on node is easy using npm: Alternatively, you can clone the repository manually: If installed manually, you also need to install node-mysql, the MySQL driver that the persistence store depends on. Setup You need to require two modules, the persistence.js library itself and the store module. Alternatively, if you cloned persistence.js using git, use a relative path to the modules instead, e.g.: Then, …

Setting up persistence.js using Read More »

Setting up persistence.js in the browser

Browser support Modern webkit browsers (Google Chrome and Safari) Firefox (through Google Gears or in-memory database and localStorage fallback) Opera Android browser (tested on 1.6 and 2.x) iPhone browser (iPhone OS 3+) Palm WebOS (tested on 1.4.0) Setup To use persistence.js you need to clone the git repository: To use it you need to copy lib/persistence.js to your web …

Setting up persistence.js in the browser Read More »