Skip to content

Integrate ES6 Proxies into gooey.Service.data and gooey.Service.publish #1

@slurmulon

Description

@slurmulon

http://www.2ality.com/2014/12/es6-proxies.html

Ensure data is a Proxy object that integrates proxy event handlers into gooey.Service.publish

This will be useful as it is a native abstraction for intercepting property requests on objects. This will allow us to more easily support model/view two-way data synchronization.

  • If data is a proxy, concurrent Service subscription handlers will be able to more easily synchronize data mutation events (order specification, conflict resolution fn, etc.), especially those between sibling Services that are mutating identical data points.
  • This is easier on the developer because we can trigger native events when data is mutated, and therefore we can trigger a recursive publication of that data change. can provide a "weight" heuristic to automatically resolve any remaining conflicts

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions