Static Apps - A Design Pattern for SAFE?


#1

Has anyone looked into this?

https://staticapps.org/

Not had time myself yet so not going to sit on it until I do :slight_smile:


#2

It’s a nice summary of what I thought was commonly known as microservices architecture instead of Static Apps. Perhaps it’s just the same or I’m not capable of seeing some subtle difference.


#3

I’m pretty sure that the subtle difference here is that a static app isn’t preprocessed in any way. It’s delivered to the user, and then javascript inside the app interacts with a server API. As browsers become more and more capable (or, to put it another way-- as javascript becomes more and more capable) the range of things that you can do with a “static app” grows.

Anyone looking into using maidsafe as a content-store for regular-web apps?

I’m most interested in hybrid use cases for SAFE-- instances where and application can be deployed to safenet and to internet at the same time.


#4

@faddat

I’m most interested in hybrid use cases for SAFE-- instances where and application can be deployed to safenet and to internet at the same time.

The remotestorage.js backend for SAFEnetwork / clearnet might be a suitable way to do this. See http://safepress.io for links to info on what I’m doing, or http://remotestorage.io for RS.js itself.


#5

The remotestorage.org site doesn’t work.

So, does the RS.js implement just a REST client for the launcher’s API which can be executed from any browser?


#6

Sorry, rs link now fixed!

RS.js is a client side API that supports user hosted (aka unhosted) storage, giving users ownership of their data, choice over where it is stored etc. Users can choose a remotestorage hosting service, or run their own remotestorage server.

By extending the client (RS.js) to talk to SAFE Launcher, any app that supports remotestorage can also use SAFEnetwork to store the user’s data.

Added bonus: RS.js implements http://offlinefirst.org operation, so the app works with or without an internet connection, and data automatically syncs across devices.


#7

So I’m looking into this stuff with traditional blockchains (okay actually writing it these days) and…

SWEET!

Is there a test deploy or anything like that currently?

This is very cool :D.


#9

@faddat:

Is there a test deploy or anything like that currently?

Not sure what your asking for Jacob, but if RS.js the answer is yes so PM me for more on that.