We started by going to Starbucks and listing a number of projects that we were interested in. Jason is a math teacher, so he has an interest in creating some automated tools to help teach. Since neither of us have ever written an HTML5 app, we figured a simple math quiz might be a good place to start. We’re both experienced in other programming environments, so the challenge is to just figure out how things are pieced together.
First, we figured out the bare minimum of what we needed:
- a source code repository to act as a centralized distribution place (we chose Bitbucket)
- a source control solution (we chose Mercurial)
- a server location to save our files (we have our own servers already)
- jquery loaded from Google’s developer CDN
- an index.html file that loaded an init.js file
- a means of debugging in a common browser (we’re using Chrome)
- a means to edit and easily upload our changes to the server (Jason is using NotePad++ with an FTP plugin)
Next Jason built the rudiments for display a single static question, and then extracting and examining the answer using hardcoded logic. This allowed us to just get familiar with jQuery basics within the context of our program.
After that, we managed to use Atlassian SourceTree to create a repo, clone it, and then add our working files. It was a bit confusing, and we blew away our original source on local disk (fortunately it was also on the server). But it works now.
That seemed like a good place to stop. Booyah! Read onward for Day 2-4!