Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The folder named "interactions" will contain all of your interactions. Each interaction is saved within its own folder, and within these folders are two files - a JSON configuration file (which you generally don't need to modify), and a PHP file for your server side code. New files can be created using the create interaction command.

 

Naming Conventions

Code editors and IDEs show code formatting, styling and indenting based on the file extension of the file being viewed. In order to see pretty code formatting when viewing your BMP interaction code in a code editor you will have to follow the instructions shown in the Further Reading section, under "Naming your BMP Interactions".

 

Create a New Interaction

To create a new interaction, you can run the command:

...