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

Written by jonathangrosdubois | Published 2018/09/18
Tech Story Tags: javascript | realtime | nodejs | vuejs

TLDRvia the TL;DR App

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


Published by HackerNoon on 2018/09/18