Show HN: Minisync gives your web app its own relational backend-as-a-service
blog.tutorspree.com
blog.tutorspree.com
We reduced web apps to a set of authorization rules and models. You can interact with document-style objects on the client, but keep the power of relational datastores on the server.
It's a relational Firebase for CRUD apps, if you will.
Would love to get some feedback. Thanks!
In this case, we intelligently resolve attribute names to SQLAlchemy mapper class instances or mapped attributes. We let SQLAlchemy do the SQL generation.
Soon, we'll open source an AngularJS plugin that lets you just push/delete from regular old JavaScript objects in order to generate the diffset the server needs. We're hoping we don't have to implement a protocol, and will instead be able to just submit a list of changes to JavaScript objects.
With Angular, on the other hand, you can just pop the full object from retrieved from the server into your $scope, change it like you would any other object, and then sync it back with a function that will create a diffset between the original object and the current state.
Yes, this means performance isn't as good, but does that really matter? It eliminates an entire _class_ of programming errors in one fell stroke. Higher productivity and less chance for things to go wrong? Sign me up.