Tag Archives: To Do List project

To Do List Project: Part 10

Right now just plowing ahead with either PHP/MySQL, Bootstrap, or whatever is going to be kind of rote. Make filters, pretty up screens, etc. That would just be practice reps without much hardcore learning. Therefore, once I finish plowing through … Continue reading

Posted in Software | Tagged , , | Leave a comment

To Do List Project: Part 9

I spent way too many hours not getting something to work that should be simple. I’m sure that I’m missing something obvious but I need to throw in the towel for today and get a post up. The problem is … Continue reading

Posted in Software | Tagged , , , | Leave a comment

To Do List Project: Part 8

Today I began straightening out the calculation of total elapsed time for all slices associated with each To Do item. This work included three components: getting the date/time calculations correct and performed consistently (all on the PHP side and none … Continue reading

Posted in Software | Tagged , | Leave a comment

To Do List Project: Part 7

I decided to clean up the Update To Do page I’ve been working with to get rid of the debugging information and to put the navigation menu in a more reasonable location. Losing the debug information was trivial but moving … Continue reading

Posted in Software | Tagged , | Leave a comment

To Do List Project: Part 6

Writing the ending time to each ToDoSlice item is more complex because we have to match to an existing record without benefit of having a unique ID to reference. Instead, we use a combination of the ToDoID index and the … Continue reading

Posted in Software | Tagged , , , , | Leave a comment

To Do List Project: Part 5

The next step is to make the back end actually write some data to a database using PHP and MySQL. This is the UpdateStartTime.php file. The startSliceAjax function that communicates with this PHP is shown below, just slightly modified from … Continue reading

Posted in Software | Tagged , , , , | Leave a comment

To Do List Project: Part 4

The five states and four transitions in the AJAX process are: request not initialized server connection established request received processing request request finished and response is ready If we don’t care about trying to trap process errors, assume we’ll always … Continue reading

Posted in Software | Tagged , , | Leave a comment

To Do List Project: Part 3

Today I replaced part of the update code with a basic AJAX call to derive the same information I was getting from JavaScript. The communication itself is straightforward. Here’s the updated version of the JavaScript, which is currently embedded in … Continue reading

Posted in Software | Tagged , , | Leave a comment

To Do List Project: Part 2

Today I spent most of my time reading and watching videos. I’m trying to get a feel for matters of style in PHP (wrt endless rows of echo statements vs. raw JavaScript, among other things), revisit AJAX operations, and so … Continue reading

Posted in Software | Tagged , , , | Leave a comment

To Do List Project: Part 1

Today I worked out a lot of the JavaScript that might be needed to effect the screen changes I want to have happen as various buttons are pushed. A To Do item against which no time has been expended would … Continue reading

Posted in Software | Tagged , , | Leave a comment