Thread: Web interface
View Single Post
  #1   Spotlight this post!  
Unread 29-11-2015, 23:27
TheOtherGuy's Avatar
TheOtherGuy TheOtherGuy is offline
Unregistered User
AKA: Kevin Forbes
FRC #4183 (Bit Buckets)
Team Role: Engineer
 
Join Date: Jul 2006
Rookie Year: 2006
Location: Tucson, AZ
Posts: 408
TheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond repute
Web interface

I was messing around with Strongback today and decided to also look into the Spark framework: http://sparkjava.com/

It wasn't terribly difficult to get it integrated and running. I used Maven Ant tasks (https://maven.apache.org/ant-tasks/) to incorporate Maven dependencies into the standard build, then tried some basic things like serving static pages, simple routes, and (most importantly) websockets.

Since it was very simple and added little size or performance overhead to the program, we're probably going to develop some kind of web based interface to replace smart dashboard.

I'm curious how many other teams have created web interfaces and what they've used them for? I noticed the one for robotpy (http://www.chiefdelphi.com/forums/sh...ht=web+server), but otherwise there is very little activity here, especially for Java or C++. That, or I'm terrible at searching! With the explosion in web technologies, this seems like an untapped resource.
__________________