Wednesday, January 11

the Butler - Part 1 - Samantha/Alfred.js/


/Samantha/Alfred.js/

This is the initial template code for the web browser client. This is split over three files. "index.html" is the HTML code that is loaded when you go to the URL for the Butler app. With the CSS, and JavaScript being found in their perspective files.

This has very little functionality at the moment. It is able to display when it connects to the server, and when the server disconnects. There will be a lot more functionality added to these files as this project progresses.


"index.html" Source Code (HTML)


"client.js" Source Code (JavaScript)


"client.css" Source Code (CSS)

Part 0... Continued in Part 2

Tuesday, January 10

the Butler Part 1 - Pedigree/Alfred.js


/Pedigree/Alfred.js

This is the initial template code I am using for Alfred.js file. This contains the minimum code required for the server side of the Butler project. This sets up a webserver using NodeJS express, with communication being sent using Socket.IO.


Source Code (Javascript)

Part 0... Continued in Part 2

the Butler - Part 1 - Butler.js (Template)


Butler.js

This is the initial template code I am using for butler.js file. This allows us to load different versions of this code depending on what arguments we pass when we run butler.js. If we do not give an argument it will automatically load the latest version as defined in the "version" variable.


Source Code (Javascript)

Part 0... Continued in Part 2