Skip to content

feat: parameterise resources #6

@pemrouz

Description

@pemrouz

Consider using @sammyt's rhumb library for more RESTful style resource identification. Currently we are bombing all resources to all nodes. This was restricted per-resource with marking some resources as private. However, the mobile clients (@gangji91, @3liv) are struggling with loading entire collections. After parameterisation, we should also look to implement backpressure. So, instead of:

<twitter-feed data="tweets.data" />

It would look more like:

<twitter-feed data="/tweets/latest/10" >

or

ripple('/tweets/latest/10')

(I was planning on dropping the requirement to have the type in the name already).

This example makes me wonder though whether we can do more with implementation using streams - which would enable more FRP style components. Or would it complicate them..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions