Skip to content
This repository was archived by the owner on Dec 3, 2017. It is now read-only.
This repository was archived by the owner on Dec 3, 2017. It is now read-only.

Suggestion: Move core logic into seperate Archive #41

@webdesserts

Description

@webdesserts

One issue that has become apparent with the current version of the beaker site (unless I'm missing something) is that users don't automatically get updates for the core scripts and styles. I think this will be important for the ux of non-devs, so I suggest the following: split rotonde into two archives.

  1. The User Portal which would just be the index.html, media/content and the links/custom.css
  2. The Rotonde Core which would contain pretty much everything else in scripts/ and links/ and media/.

You could do this by swapping the relative paths in the <link> & <script> tags for absolute urls to an external Dat Archive.

- <link rel="stylesheet" type="text/css" href="links/main.css"/>
+ <link rel="stylesheet" type="text/css" href="dat://6074e23e900e310aac23a6ed098dfde3f65f4297c8e8077717df1460fbb9d87d/links/main.css"/>

You would then be able to push updates to the "Rotonde Core" and all users would automatically get the latest bits as long as they keep these links. If they want to customize any of this, they can just download the file, drop it in their Portal archive and link to it there. If you wanted to go the extra mile, we could even create a quick "Eject" button of sorts that would automatically do this for them and would essentially lock the files down to their current version and stop accepting updates from core.

Example

Portal
git: https://github.com/webdesserts/rolling-rotonde
dat: dat://rolling-rotonde.webdesserts.com

Core
git: https://github.com/webdesserts/rolling-rotonde-core
dat: dat://rolling-rotonde-core.webdesserts.com

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions