Example Code - AliceDigitalLabs/SupportingLiveProjects_2018 GitHub Wiki
Got some code you want to share?
Tell us and we'll put it on here!
Example Projects
These are fully-worked examples of projects using minimal tools and resources, run in exactly the same way as Live Projects.
Wild Logging
A simple project to collect wild-life sightings from around the UK, and to present them on a map.
You can find the project front-page here.
You can also find Dave's write-up of his construction, 6 months after we did the design, here.
Implementation took 65 hours.
Time series data capture
A 12 week second-year student summer project for a paying client. This project enabled research scientists to import instrument data into a database, visualise and communicate it to peers.
A research team saves the data from their instrument as CSV files on MS OneDrive.
Time Series Data Capture allows a user to browse all the data files and select the ones needed for import. The import applies calculations to the data set, while storing in a Mongo DB database.
Once the data is stored the user can visualise it: multi-variable data can be overlaid on the same chart, panned and zoomed, and offset, so that features from one dataset can be compared with those of another.
The user has full control of visibility; they can mark a dataset as public or private. Once a dataset is public, a link to a particular visualisation can be generated and sent.
You can find the project's front page here
You can also find the developer's diary and write up (thanks Yusof!) here
Tutorials
All DigitalLabs Projects use:
Ionic Framework V1
AngularJS
Code
Lists
Application which implements a list and a detail view - also pretends to go off somewhere to get the data, showing how to use an asynchronous call to a promise.
Web Application
You can find it demoed here: https://littlelist.github.io/ And the source code here: https://github.com/littlelist/littlelist.github.io/
Mobile App
see the source code for this here: https://github.com/AliceDigitalLabs/little_list
Horizontal scrolling
An application which scrolls text across the screen.
Mobile App
Here's the source code for little_scroll
Maps
Web Application
You can find it demoed here: https://theurbanwildtest.github.io/
And the source code here: https://github.com/TheUrbanWildTest/TheUrbanWildTest.github.io
QR Scanning
Scan a QR Code to a string, with these cross platform sample apps:
Web Application
Here's the source code for little_scanner_SPWA
Mobile App
Here's the source code for little_scanner
Unauthenticated API
Make HTTP calls to a RESTFUL open API
Web Application
Here's the source code for little_board_spwa
OneDrive
Login a user to a OneDrive account which they own, and then allow them to download a file.
Web Application
Here's the source code for little_onedrive_spwa
Mobile App
Here's the source code for little_onedrive_app