#UPDATE > This tutorial needs to address the latest ability to create symbolic links from the processor Sandbox component.
In this tutorial, we are going to demonstrate how to connect to the FFBO processor through Javascript. We are going to build on the Python example, by examining and changing the autogenerated coded in the web folder.
Prerequisites
FFBO processor running and available on 127.0.0.1:8080, in a web browser.
Completed the Python Tutorial
For the more complex examples, you will need
A NeuroArch Component running
A NeuroNLP Component running
Getting started
In this tutorial, we will create a stand alone web front end, which we will host as a single page, using the simpleHTTPServer.
Building on the Python example, we will look at web/index.html, build by the crossbar autogenerate function in the Python tutorial.
Set up the FFBO connection
We will first start by building up the skeleton of a web front end. We will start with the following HTML
<html>
<body>
<h1>NeuroApp</h1>
<p>Open JavaScript console to watch output.</p>
<html>
<body>
<h1>NeuroApp</h1>
<p>Open JavaScript console to watch output.</p>
<script>AUTOBAHN_DEBUG = true;</script>
<script src="http://autobahn.s3.amazonaws.com/autobahnjs/latest/autobahn.min.jgz"></script>
<script>
// Application code goes here
</script>
</body>
</html>
// the URL of the locally hosted FFBO Processor
var wsuri;
wsuri = "ws://127.0.0.1:8080/ws";
// the WAMP connection to the Router
//
var connection = new autobahn.Connection({
url: wsuri,