So time is ticking away as the semester is coming to an end. Our database work with python was progressing slower than expected. So we decided last week to switch to PHP, which is more widely accepted for web server scripting. There are many useful guides online for setting up a test site. I found the following tutorial very helpful for first time setup:
http://css-tricks.com/php-for-beginners-building-your-first-simple-cms/
This tutorial expects that you have PHP installed, and that you have a web server to test with. Luckily we did have a test server, so I ran ‘yum install php’ on the server knowing that Dillon had already created a basic WAM database with 2 tables, one for the coloring app, and one for the puzzle app.
I created my own .php script files, and uploaded them to a git repository, where I then cloned it to a new branch on my server directory. Tests successful! With a few modifications we’d be able to try out some simple features like recording high scores for the puzzle, or storing file paths for saved images on the coloring app.
From the blog mikesaguirre » cs-wsu by mikeaguirre and used with permission of the author. All other rights reserved by the author.