SE401:33:Iteration 3
Plan
- Implement User Stories:
3 User wants to use a data source (e.g. RSS) to create a mashup with Google Maps. MUST 13 User wants to reposition mashup elements (eg. drag and drop) MUST
- Estimated Duration: 20 hours
Progress
Week 1
- Google Map object created
- basic object functions
- started create dialog box
Week 2
- Google Map partially completed
- edit dialog box created
- code generation implemented
- - however need dummy code for application editor and different code for final webpage
- - created a toggle function that swaps code around when document is saved
- - toggles between dummy code of a google map screen shot and the JS for a real Google Map object
- Completed bug fixes in RSS and Google Map dialog boxes
- blank fields are now checked
- incorrect URL and connection time out checked for RSS
- Google Map completed
- code generation working and output is successfully working in Firefox
- automatically computes center of all locations and appropriate zoom level to fit all points
- this saves user having to make map centering and starting zoom decisions
- Fixed 'no feed' code generation errors
- Data source side bar improvements
- Added edit and delete buttons at bottom
- Implemented button functionality
- Fixed side bar layout to be durable with window size adjustments
Results
- User Stories Completed:
3 User wants to use a data source (e.g. RSS) to create a mashup with Google Maps. MUST Completed 13 User wants to reposition mashup elements (eg. drag and drop) MUST Impractical (see below)
- Could not complete 13:
- - Not possible with the base program Kafenio
- - Is possible to center/right/left align and cut/paste
- - Implementing would mean rewriting huge amounts of Kafenio (impractical)
- Actual Duration: 32 hours
- Found bugs etc. from previous iteration that needed fixing
Testing
- Testing performed manually
- - encountered problems with code generation for mashup object
- - needed to edit code when object was editing in sidebar
- - implemented code replacement for Google Map objects
- - also implemented code replacement for RSS objects (was not a problem but good to have working)
- - needed a way to delete object from the sidebar and code
- - created buttons for sidebar "Edit" and "Delete"
- - implemented code and actionlisteners for these buttons
- - manually tested to make sure they were working correctly
- - obtained Google Map key to work with our uni hosting
- - created multiple Google Map instances and uploaded to our uni hosting site
- - checked that all code was correct syntax for Firefox web browser