something to write here

Example for Connection Bricks Firefox OS Appmaker

We have gone through how connection bricks work in our Connection Bricks  for Firefox OS blog post. With the help of the Connection bricks we can achieve a lot of things we would like to do. 

Here we would like to see some of the bricks and how they are acting when they are used. For our example we have used
  • Alternating Gate
  • Boolean Gate
  • Signal Transformer
  • Button
  • Text
  • Channel Gate
  • Channel Combiner

Alternating Gate.
Here we have used it to give the action which we get from the button. And we will send two different outputs to transformer.

Boolean Gate
Here it is used for Checking whether the value from the button is "Shoot Me"  or not.

Signal Transformer
It is used for changing the names of the buttons.


Channel Gate
We will receive the signal from the button and send it to Boolean Gate so if it is true we will set it to button. And in another channel we just receive and will not pass any where.

Channel Combiner
We will get both the inputs from the Boolean Gate and we will set the values to the Text box.

The follow of the application is as follows.
  • The user will be allowed to click the button.
  • At that time Gate A of Channel Gate will be active. So it will send the value to boolean to check since it will be true, true is set to button.
  • In case Gate B of channel Gate is active we will be sending the boolean output to the transformer, and the transformed values are send to the Channel Combiner it will set at the Text and also in the button.

You can look at the app for the demo, and feel free to remix at any time.