Go to file
Dan Ballard 15b9abbc4a Merge branch 'master' into modular 2011-05-20 11:30:04 -07:00
ConnHandler.java Fixed and working basic Cortex 2011-01-06 08:46:26 -08:00
Cortex.java Now server applet garunteed to show correct port 2010-12-31 09:45:19 -05:00
Makefile - getMsgs and getLog now both long pull. Much faster and more effecient 2010-12-31 09:42:12 -05:00
README add url 2011-05-20 11:15:21 -07:00
ResManager.java Untested basic new cortex.js and basicClient.html 2011-01-04 09:09:11 -05:00
Runner.java Initial import of Cortex code from my cs416 class at UBC 2010-12-21 18:11:43 -05:00
Server.java recovering Server.java from backup 2011-05-20 11:09:03 -07:00
TSP_map_test.js Initial import of Cortex code from my cs416 class at UBC 2010-12-21 18:11:43 -05:00
ajax.js Initial import of Cortex code from my cs416 class at UBC 2010-12-21 18:11:43 -05:00
basicClient.html Untested basic new cortex.js and basicClient.html 2011-01-04 09:09:11 -05:00
client.html Remved parts for reworking api 2011-03-31 22:43:28 -07:00
cortex.js - execFn now returns values 2011-01-25 23:49:52 -08:00
cortexLocks.js Reworking locks api 2011-03-31 22:42:52 -07:00
gen-cert.sh Initial import of Cortex code from my cs416 class at UBC 2010-12-21 18:11:43 -05:00
shell.html Fixed and working basic Cortex 2011-01-06 08:46:26 -08:00

README

Cortex: P2P in JavaScript
Dan Ballard (2010-2011) <dan@mindstab.net>
cortex.mindstab.net

Cortex is a P2P framework that runs without installation in your web browser. It's one small part Java Applet (HTTP server) and one large part JavaScript. The JavaScript is all the P2P networking code and utilities you need to get off the ground and go.

Cortex was a school project for CS from late 2009 and early 2010 that won second place in the BCNet "Broadband Innovation challenge". On top of the P2P network, a distributed processing system was written to further demonstrate that mature complicated applications can be written in JavaScript.

As happens with school projects, the Cortex code base was a bit of a mess when done due to massive time constraints and due dates.  I am slowly trying to clean up the codebase now in my spare time.  

Step 1 was the longpull branch which added a few nice graphics feedbacl tweeks to the java applet and greatly sped up communication by making it use AJAX longpull.

Step 2 is to modularize it to make it more extensible