Giter Site home page Giter Site logo

Comments (2)

ifandelse avatar ifandelse commented on August 18, 2024

@mark-hahn Great question. In the past I've had some prototype implementations to federate postal between processes in node and also client/server, but each required an underlying transport - sockets, redis, rabbitMQ, or something lower level, etc. I wish I had something ready for you in that dept, though it wouldn't be hard to manually set that sort of configuration up. When I've needed to manually bridge across boundaries, I've often set up wire taps (see also this) - filtering to the specific channel and/or topics I want to forward over the transport, and just push the full envelope as the payload. The listener on the other end (socket.io connection, for example) simply re-publishes the envelope via postal.publish, etc.

I do plan to take my earlier ideas and create plugins for postal to allow for this sort of thing in the future, though that doesn't help at the moment. You are correct, though, postal.xframe can be used to federate postal between windows in the client (and also web workers). The API may get some TLC over the coming months (since I loathe deep namespaces....starts to feel like Java or C#), but it's been pretty solid for me thus far.

from postal.js.

mark-hahn avatar mark-hahn commented on August 18, 2024

Thanks for the info.

On Tue, Aug 6, 2013 at 8:45 PM, Jim Cowart [email protected] wrote:

@mark-hahn https://github.com/mark-hahn Great question. In the past
I've had some prototype implementations to federate postal between
processes in node and also client/server, but each required an underlying
transport - sockets, redis, rabbitMQ, or something lower level, etc. I wish
I had something ready for you in that dept, though it wouldn't be hard to
manually set that sort of configuration up. When I've needed to manually
bridge across boundaries, I've often set up wire tapshttps://github.com/postaljs/postal.js/wiki/postal.addWireTap(see also
this https://github.com/postaljs/postal.diagnostics) - filtering to the
specific channel and/or topics I want to forward over the transport, and
just push the full envelope as the payload. The listener on the other end (
socket.io connection, for example) simply re-publishes the envelope via
postal.publish, etc.

I do plan to take my earlier ideas and create plugins for postal to
allow for this sort of thing in the future, though that doesn't help at the
moment. You are correct, though, postal.xframehttps://github.com/postaljs/postal.xframecan be used to federate postal between windows in the client (and also web
workers). The API may get some TLC over the coming months (since I loathe
deep namespaces....starts to feel like Java or C#), but it's been pretty
solid for me thus far.


Reply to this email directly or view it on GitHubhttps://github.com//issues/40#issuecomment-22227983
.

from postal.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.