paint-brush
Framework-agnostic real-time CRUD modules with Vue sample appby@jonathangrosdubois
1,572 reads
1,572 reads

Framework-agnostic real-time CRUD modules with Vue sample app

by Jonathan Gros-DuboisSeptember 18th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Three years ago, I released an <a href="https://github.com/SocketCluster/sc-sample-inventory" target="_blank">open source boilerplate application</a> as a proof of concept to demonstrate an approach to build real-time CRUD applications using <a href="https://www.rethinkdb.com/" target="_blank">RethinkDB</a>, <a href="https://socketcluster.io/" target="_blank">SocketCluster</a> and Google’s <a href="https://www.polymer-project.org/" target="_blank">Polymer</a> framework. Although it received a lot of attention initially, that approach did not see any serious adoption and so I stopped thinking about it for a while.

Company Mentioned

Mention Thumbnail
featured image - Framework-agnostic real-time CRUD modules with Vue sample app
Jonathan Gros-Dubois HackerNoon profile picture

Three years ago, I released an open source boilerplate application as a proof of concept to demonstrate an approach to build real-time CRUD applications using RethinkDB, SocketCluster and Google’s Polymer framework. Although it received a lot of attention initially, that approach did not see any serious adoption and so I stopped thinking about it for a while.

Recently, though, I’ve been feeling frustrated by the direction of progress in front end development and so I decided to give this idea another shot. Polymer has always been a relatively niche framework; maybe those libraries just needed broader framework support? I rewrote the Polymer components in a framework-agnostic way and ported the entire sc-crud-sample app to Vue.

The new SCModel and SCCollection modules can now work with any front end framework including Vue, Polymer, React and Angular.

Please check out https://github.com/SocketCluster/sc-crud-sample — Feedback is welcome.

Also, if you want more background info about this work, please check out my previous articles on the subject:


REST over WebSockets instead of HTTP_These days, it’s practically impossible to talk about REST without also talking about HTTP — The two concepts are…_hackernoon.com


An approach to real-time CRUD_Recently, I wrote an article about using REST over WebSockets which generated quite a bit of interest—So I would like…_hackernoon.com