- MySQL and PHP server side form handling
-Twitter Bootstrap HTML5 Responsive Front End
- Node.js server Hosted on Openshift for Chat server
-Git for code modification and revision control
-Presentation Design and Display using reveal.js
$_POST //Global Post Array {Form input variables}
$_GET //Participant Database ID passed between pages in URL
if($_POST){ do stuff } // Prevent Queries before Form Posting
$_SESSION //Global Session Information {User, ID}
<?php
$posted_var = addslashes(($_POST['input_field'])); //no SQL injection
$popfrom_id = mysql_query("SELECT * FROM `intake_form` WHERE ID ='$id';"); //Select statements based on ID in URL
?>
<!-- Begin sesson object and check for user login-->
<?php
session_start();
if ( !isset($_SESSION['login']) || $_SESSION['login'] !== true) {
if(empty($_SESSION['access_token']) || empty($_SESSION['access_token'] ['oauth_token']) || empty($_SESSION['access_token']['oauth_token_secret'])){
header('Location: login.php');
exit;
}
}
?>
<script src="/socket.io/socket.io.js"></script>
<script>
var socket = io.connect('http://localhost');
socket.on('news', function (data) {
console.log(data);
socket.emit('my other event', { my: 'data' });
});
</script>
var io = require('socket.io').listen(80);
io.sockets.on('connection', function (socket) {
socket.emit('news', { hello: 'world' });
socket.on('my other event', function (data) {
console.log(data);
});
});
{Intro to MySQL, PHP, RDB Schema}
{JavaScript, DOM, WordPress}
The Peace and Quiet of the Senior Programming Lab