oncholdings / bones Goto Github PK
View Code? Open in Web Editor NEWThis project forked from developmentseed/bones
A client/server web application framework built on Express and Backbone
License: BSD 3-Clause "New" or "Revised" License
This project forked from developmentseed/bones
A client/server web application framework built on Express and Backbone
License: BSD 3-Clause "New" or "Revised" License
Hi,
We are having an issue with the default model api routes defined in bones/servers/Route.bones
.
Problem is when you updating a model, Backbone.sync()
on the client side sends the entire model to the server side, and saveModel()
saves all of them, and that triggers events for all the model attributes on the server side including those not changed.
One of our developers proposed a solution: Wiredcraft@a7f2d65
But I feel it's weird that loadModel()
doesn't actually try to load the model; I think it should.
What do you think?
This was kind of related to fixing the bones tests, but we were looking into what it would take to port them to mocha.
i spoke to one of the devseed guys, and this is what they were replacing assert.response from expresso with. We're going to need this if we want to port the tests cleanly.
The master branch of our fork of bones was upgraded to the latest version of it's dependencies (underscore, express, backbone), and a number of breaking changes were made.
we should get the tests running again properly, although it seems like they have been broken upstream for a while.
The tests are currently using expresso, but if you think it will be easier, port the tests to mocha if you can.
They also make a lot of use of assert.response, so this might be a relevant issue for you to check out.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.