Sprint 2 - NexusLogica/N GitHub Wiki
Sprint 2: Save timing waveform to a database
The goal for this sprint is to enable persistence of waveforms. A Save button will be added to the timing UI. An http call will be made which writes the waveform data to a remote database. The information to be saved would be a name, the data, and a randomly generated GUID. The data would then be written to a server wrapping a database.
- Add UI and extend the object.
- Add a name button. Validate it being non-zero length on save.
- Add a save button.
- Generate a GUID for the new waveform object.
- Create an object with waveform, name, and GUID.
- Create a DB and table
- Create a MySQL db.
- Write a script for creating the table.
- Table should have GUID, name, and waveform JSON text.
- Write a PHP server call
- Write POST /N/svr/waveform
- Params are id (guid - string, 32 characters), name, waveform.
- Write SQL insert statement.
- Write AJAX call to send waveform to server
Definition of Done:
- All UI written.
- Waveform is saved to DB.
- Manually tested.
- Unit tests written.
- Functional tests written.
- Documentation written.
- Server and client code saved to Github.
- Github read-me updated
Start date: June 4, 2013
Completed: June 7, 2013