offlinefirst / research

Links, feedback, comments, resources, anything pertaining to offline first research.
Apache License 2.0
368 stars 16 forks source link

Combining offline-first with classic server-side MVC? #28

Open michielbdejong opened 7 years ago

michielbdejong commented 7 years ago

Many web developers still work with server-side MVC frameworks like Rails or Django. Can we create tools that make it possible to take an existing web app and make it work offline, or is the whole of "classic web dev" incompatible with offline-first?

If the only tools that allow creating an offline-first web app are client-side MVC frameworks like Ember/Angular/React, then should we tell all these developers and projects and clients that the decades spent programming web apps in Python/PHP/Ruby were "the wrong approach" and they should now forget that and learn a new framework / programming language (one that allows client-side template rendering with data-on-the-wire)?

gr2m commented 7 years ago

I think server-side MVC might go trough a renaissance with Service Worker. So far we see the frontend frameworks moving logic into Service Worker, but server-side logic could be moved into service worker just the same way.