New Blog Post: Spark.subscribe() and Spark Projects

The Spark team is super proud to release in v0.2.2 a much anticipated feature: Spark.subscribe(). Now it’s easier than ever to pass messages from one Core to another.

In addition, we have partnered with the team over at hackster.io to create the official place to post all your Spark Core projects. The hackster team has been great to work with, and they have created a custom view specifically for us. Check out spark.hackster.io now—it’s awesome!

More details on both can be found in our new blog post:

http://blog.spark.io//2014/05/12/subscribe-and-hackster/

8 Likes

Awesome!

Just asking, is there any Cloud API call to send SSE to Core from external application? I know we have Spark.function alternative, but just asking.

2 Likes

I’m thinking that Webhooks should be able to do that with external applications but maybe im wrong :smiley:

1 Like

Hi @krvarma,

It sounds like you’re wondering can you publish an event into the cloud to have your core receive in a subscribe. We’ve talked about this a bit, but we hadn’t been planning on adding that yet. Is that something people would want?

Thanks,
David

IMHO that would be helpful to interact with third party applications, or as @kennethlimcp pointed out the implementation of Webhooks will do that?

Hi @krvarma,

Totally, webhooks will make it really easy for a published event from your core to have effects on third party web applications. :smile:

Thanks,
David

1 Like

Thanks @Dave, waiting for the WebHooks release.

Yes, I would like to publish an event to the cloud from a browser or mobile app while the core is offline, and have the core receive the data at a later time (might be turned on several hours later or the next day).

Yes, absolutely … otherwise we’ll have to put a lot of business logic in the cores. It would be better to offload this.

Hi @krisku,

Totally, that’s partially what the ‘ttl’ value is for, and queued messages / states is something we’ve been thinking about down the road. :slight_smile:

Thanks!
David

1 Like