Questions tagged [derbyjs]

Derby.js is a full-stack JavaScript MVC framework with support for HTML templates, view bindings, model syncing, customizable persistence and conflict resolution.

Derby is a full-stack JavaScript MVC framework built on top of popular libraries, including Node.js, Express, Socket.IO, Browserify, Stylus, UglifyJS, MongoDB, and soon other popular databases and datastores. These libraries can also be used directly. The data synchronization layer, Racer, can be used separately. Other client libraries, such as jQuery, and other Node.js modules from npm work just as well along with Derby.

Features:

  • HTML templates: Handlebars-like templates are rendered into HTML on both the server and client. Because they render on the server, pages display immediately—even before any scripts are downloaded. Templates are mostly just HTML, so designers can understand and modify them.

  • View bindings: In addition to HTML rendering, templates specify live bindings between the view and model. When model data change, the view updates the properties, text, or HTML necessary to reflect the new data. When the user interacts with the page—such as editing the value of a text input—the model data updates.

  • Client and server routing: The same routes produce a single-page browser app and an Express server app. Links render instantly with push/pop state changes in modern browsers, while server rendering provides access to search engines and browsers without JavaScript.

  • Model syncing: Model changes are automatically synchronized with the server and all clients subscribed to the same data over Socket.IO.

  • Customizable persistence: Apps function fully with in-memory, dynamic models by default. Apps can also use the racer-db-mongo plugin to add MongoDB support with no change to the application code. Any changes to data made within the app are automatically persisted. Adding support for other databases is simple.

  • Conflict resolution: The server detects conflicts, enabling clients to respond instantly and work offline. Multiple powerful techniques for conflict resolution are included.

94 questions
0
votes
1 answer

Load balance two separate node.js processes on two servers?

I run a small socket.io node.js app that always has a small number of concurrent users. For the most part, it can run 100% of the time on a single process (whether it be on my Linode or Heroku[1]). I'm hoping to publicize it a bit for a few days,…
switz
  • 24,384
  • 25
  • 76
  • 101
0
votes
1 answer

Error installing derby@0.3.13

I tried installing derbyjs and I got the following error: alex@alex-K43U:~/derby$ npm install -g derby npm http GET https://registry.npmjs.org/derby npm http 200 https://registry.npmjs.org/derby npm http GET…
alexchenco
  • 53,565
  • 76
  • 241
  • 413
0
votes
1 answer

Derbyjs: access session in app routes or x-bind function

derby new TestDerby Uncomment server/index.js add console.log(model.get(),model.session) to app/index.js - this.start model.session is undefined (had a quick look at racer/lib/session/session.Store.js) or derby recommend to use…
atian25
  • 4,166
  • 8
  • 37
  • 60
-1
votes
1 answer

How can I deploy a Java database application?

I having some problems; I have Completed My Java Database Project in net-beans. I also use Java DB or Derby, mins embedded database for back-end. I run my Project and it is successfully runs and it works properly with derby database. I set the…
kusama
  • 389
  • 3
  • 13
1 2 3 4 5 6
7