The PubSub plugin

During the last Cobalt sprint, we also published the PubSub plugin which is probably one of the most important Cobalt plugin out there.

With each view of a Cobalt application in a different Web page, the application can share information between pages with cobalt storage. But sometimes, that’s not enough.

The concept of subscribing and publishing to a channel is used on many languages. Check out the wikipedia page about this pattern.

In this plugin, we used this pattern to allow you to send messages between Cobalt WebViews of a same app!

Continue reading The PubSub plugin


Cobalt 0.4.1, summer is hot!

We are onĀ fire!

We worked hard the past few weeks on the new Cobalt 0.4.1 release. There is a bunch of new features that we are quite proud of. Here are the superstarsĀ of this release:

  • Navigation methods: you can now pass data along the way,
  • LocalStorage: you can now store anything, without caring about data type.

We also worked on the documentation wiki and rearranged the whole repositories architecture.

Continue reading Cobalt 0.4.1, summer is hot!