-
Recent Posts
Recent Comments
- R.P. Churchill on TWSL Series 07: Discovery and Data Collection
- R.P. Churchill on A Simulationist’s Framework for Business Analysis: Round Two
- LN on A Simulationist’s Framework for Business Analysis: Round Two
- R.P. Churchill on Starting to Learn About the Java Memory Model
- R.P. Churchill on Multidimensional Arrays in Javascript
Categories
Meta
Monthly Archives: March 2017
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
A Simple Discrete-Event Simulation: Part 89
Direct link for mobile devices. I was walking a few miles in the nice weather this evening when two possible solutions popped into my head for the DisplayGroup drag problem I had in the simulation app (where the pointer arrow … Continue reading
Posted in Software
Tagged discrete-event sim project, drag items, JavaScript, mouse events, select items, touch events
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
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
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
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
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
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
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
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